I finally got my OS running without any errors and so on. It runs in RM and has a very functional Floppy-Disk Support (I don't want to support other devices), can run Programs (Single Tasking) and even access VGA/VESA. First I wanted to create something like a GUI, but I didn't get a way to use 16Bit in gcc (I WONT write a GUI in asm, much too annoying). Can you solve this Problem or have you got any suggestions for me (except PM, more Disk-Support)?
(Sorry for my sometimes bad English [It's the teachers fault ^^])
What's to do now?
Re:What's to do now?
I don't think gcc is capable of generating 16-bit code, so you'd probably have to ditch it for another C compiler.
Re:What's to do now?
hello...
Try to use Turbo C. Its a 16 bit compiler and can generate exe. And if you want a binary file then you can just strip off the header from exe.
Turbo C has a very good inline assambly support which can help in ur real mode environment.
Try to use Turbo C. Its a 16 bit compiler and can generate exe. And if you want a binary file then you can just strip off the header from exe.
Turbo C has a very good inline assambly support which can help in ur real mode environment.
Re:What's to do now?
Watcom (http://www.openwatcom.org) is quite good too - the code it generates is not too bad (it does a similar amount of optimisation to GCC 2.x, IIRC) and it supports 16-bit DOS. (By the way, it was used by a *lot* of DOS games - anything that used DOS/4GW was compiled by Watcom.)
Re:What's to do now?
From where you are, I'd start with a shell, text editor and other basic command line utilities, then either add a compiler so that the OS is self-hosting or add a GUI.
You say you have FDD support, but do you have any filesystems supported? You could probably setup a ramdisk using unreal mode, or move your kernel above 1MB using unreal mode to save the lower 640k for actual applications.
Just basically have a think and look for something you find interesting to code.
You say you have FDD support, but do you have any filesystems supported? You could probably setup a ramdisk using unreal mode, or move your kernel above 1MB using unreal mode to save the lower 640k for actual applications.
Just basically have a think and look for something you find interesting to code.
Re:What's to do now?
Thanks a lot @ all.
@paulbarker: Fat12 Support
I'll working on some sample application (new Version of my Editor [not really one, more like sed] and some kind of Basic-Interpreter) so can I see if I missed some 'useful' Interrupts and after that I'm looking for 16Bit C for my GUI.
Here are some Screens of my OS.
Note: vga.app is the vga-test. The Draw functions are Hardcoded (generated by a my Windows-Program) because It's a test and i think it's waste of time to code BMP-Functions or something like that [of course later, i'll do]):
@paulbarker: Fat12 Support
I'll working on some sample application (new Version of my Editor [not really one, more like sed] and some kind of Basic-Interpreter) so can I see if I missed some 'useful' Interrupts and after that I'm looking for 16Bit C for my GUI.
Here are some Screens of my OS.
Note: vga.app is the vga-test. The Draw functions are Hardcoded (generated by a my Windows-Program) because It's a test and i think it's waste of time to code BMP-Functions or something like that [of course later, i'll do]):
Re:What's to do now?
Very good
That looks promising...especially being able to run programs.
That looks promising...especially being able to run programs.