What's to do now?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
WordsBG

What's to do now?

Post by WordsBG »

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 ^^])
pillow

Re:What's to do now?

Post by pillow »

I don't think gcc is capable of generating 16-bit code, so you'd probably have to ditch it for another C compiler.
viral

Re:What's to do now?

Post by viral »

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.
nick8325
Member
Member
Posts: 200
Joined: Wed Oct 18, 2006 5:49 am

Re:What's to do now?

Post by nick8325 »

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.)
paulbarker

Re:What's to do now?

Post by paulbarker »

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.
WordsBG

Re:What's to do now?

Post by WordsBG »

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]):
Image Image Image
nick8325
Member
Member
Posts: 200
Joined: Wed Oct 18, 2006 5:49 am

Re:What's to do now?

Post by nick8325 »

Very good :)

That looks promising...especially being able to run programs.
Post Reply