graphics, binary files and such
Posted: Sat Jan 26, 2002 12:00 am
Well, I guess I still have a few more questions:
* In NASM, to assemble raw binary .BIN files, you used this
compile-time option: nasm test.asm -f bin -o test.bin.
How, in DJGPP, do you compile a .C file into a raw binary .BIN
file?
* To run a .BIN file, or any pure binary file, would you have to
load the program into memory, and set the IP to the starting byte
of your program? Or can't the programmer actually change the IP register's
value? If not, how would you run a file like this?
* I would like to include simple graphics in my OS. It is pmode, so the BIOS
is out, I guess. Would I use VESA? I would like to simply display simple lines
or bitmaps, at a good resolution. Any ideas on this, or resources you could
point out to me?
Once again, thanks for any replies, or help you can give me on this matter.
* In NASM, to assemble raw binary .BIN files, you used this
compile-time option: nasm test.asm -f bin -o test.bin.
How, in DJGPP, do you compile a .C file into a raw binary .BIN
file?
* To run a .BIN file, or any pure binary file, would you have to
load the program into memory, and set the IP to the starting byte
of your program? Or can't the programmer actually change the IP register's
value? If not, how would you run a file like this?
* I would like to include simple graphics in my OS. It is pmode, so the BIOS
is out, I guess. Would I use VESA? I would like to simply display simple lines
or bitmaps, at a good resolution. Any ideas on this, or resources you could
point out to me?
Once again, thanks for any replies, or help you can give me on this matter.