Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DevPortal

    C Kernel, how do I execute external files!?

    I have about 6-7 years experience writing in a variant of C. Much much simpler, designed for writing games only. I've written everything from network shooters (top down), first person zombie killing games, RTS games, and Windows shells (All of which are the more advanced things to make in this...
  2. DevPortal

    What do the little Asterisk tokens do??

    I read the article, thanks. I had gone into C more deeply (as far as tutorials go) previously, but it's been a while. I remember going over this stuff. Anyway, @sedj, Those were floppy sectors, its a bit safer than messing with ur HDD >.<
  3. DevPortal

    C Kernel, how do I execute external files!?

    How does one go about creating a file system? The disks are formatted in FAT12, is it possible to just put files on the disk normally and call them using built in functions?... All the tutorials I ever find on C just give you the basics. User input, screen output, and LOADS of math functions...
  4. DevPortal

    Turbo Assembler under Win2k

    Tlink will NEVER work in win2k or winxp, maybe not even in any other 32bit os. I've tried. I use the linker that comes with GCC, it works fine. Also the one in MingW works good, but its only for 32bit. @denc4: As I said, its a user interface. Its essentially a VERY VERY stripped version of...
  5. DevPortal

    Turbo Assembler under Win2k

    Well, I'd suggest going about this one of two ways: 1. Get a DOS boot disk and get used to it ^-^ 1.5 You can even get a DOS 7.10 disk with user interfaces similar to 98 or 3.11 Windows, and get them to read FAT32 and NTFS! 2. Start writing 32 bit applications. (seek help online or wait for...
  6. DevPortal

    What do the little Asterisk tokens do??

    I'm a noob-to-moderate C programmer and I can typically do whatever it is that I'm doing w/o worrying about this, but what do the little asterisks mean by variables (usually during declaration)? Sometimes my code will not work, and I'll try adding one and it will...
  7. DevPortal

    circle buffer with malloc and free?

    What exactly is the purpose of the program? I'm no guru but I'm certain that that would allow us to help you better.
  8. DevPortal

    CD booter

    You're all looking at this too complicatedly. What you want is a Win98 or ME boot disk. When it boots, select "Start computer with CD-ROM support", and then get what you need or start whichever files you need to. If you can't get a file to start because the whole Windows-->Linux thing I've done...
  9. DevPortal

    Trying to write an OS.. Help me a bit?

    I've already recoded the whole OS and have it passing the control to a C kernel, but am at the same problem only worse than when it was in ASM, cuz I cant even execute programs >.<. Anyway, I think I'm going to two-prong this project, and make an ASM-Only OS and a ASM/C OS. Also: As I said very...
  10. DevPortal

    C Kernel, how do I execute external files!?

    I'm writing an OS, called SerpentOS. It will be booted from a floppy (with option to install to HDD). The bootable part is done, it boots into protected mode with A20 gate enabled, and starts a C kernel. Can someone supply me with some code to: 1. List files in a specific location. 2. Execute a...
  11. DevPortal

    Trying to write an OS.. Help me a bit?

    Apparently none of my stuff is working any longer, don't know why. I put the basic boot image onto the disk, and copied the calculator applet to my disk as osloader.com. This did not execute. I will have to revamp my project, maybe using differing boot code.
  12. DevPortal

    Trying to write an OS.. Help me a bit?

    Proving that the code was fine, the original message displayed properly, and then nothing happens. This shows that it may be that SecWrite isnt properly writing the file to the disk, so I will attempt to do it on a true DOS 6.22 machine. If it still does not work, I will attempt to find a...
  13. DevPortal

    Trying to write an OS.. Help me a bit?

    Well, that shows that the code isn't properly functioning then, since it changes the results by NADDA. I'm going to try the original code (before I modified it to have different messages) and see if it will load the calc program right...
  14. DevPortal

    Trying to write an OS.. Help me a bit?

    When compiling with the newer NASM it gave me Serpe. instead of Ser. or Serp. It seems to always add that period at the end. I did not write that bootloader, so perhaps there was some message-specific coding, such as message size or something? The original message was "doors loading"... I am...
  15. DevPortal

    Trying to write an OS.. Help me a bit?

    It works just as well as MOV did, but one less letter >.< I'm going to try another (probably more recent) version of NASM I have...
  16. DevPortal

    Trying to write an OS.. Help me a bit?

    YES! Well, that one compiled! I'm going to go test it!
  17. DevPortal

    Trying to write an OS.. Help me a bit?

    serpent.asm:57: invalid combination of opcode and operands This is exactly what I get when I compile with LEA SI, MsgLoad
  18. DevPortal

    Trying to write an OS.. Help me a bit?

    It says that OFFSET is undefined, which I assume means that it was a MASM specific variable..
  19. DevPortal

    Trying to write an OS.. Help me a bit?

    MOV SI, OFFSET MsgLoad says comma or end of line expected upon attempts to compile, I am going to try MOV SI, OFFSET, MsgLoad and see if that works...
  20. DevPortal

    Trying to write an OS.. Help me a bit?

    It said that LEA SI, MsgLoad didn't have the proper number of arguments. I will try MOV SI, OFFSET MsgLoad, and then if you haven't posted, check the reference I have for LEA's arguments.

Part and Inventory Search

Back
Top