RE: Coming real soon!
- Posted by sephiroth _ <euman2376 at yahoo.com> Jul 21, 2001
- 343 views
Kat wrote: > If i am not mistaken, you can use the translator to make a command.com, > and you'll have an OS, just build around interrupts rather than C-calls. > Much > like writing timer interrupts, if you do it right you can prioritize > interrupt > execution to any granularity, and set permission flags like *nix. Lets > see > windoze do that. a shell is not to be mistaken for an operating system. sure, you could write an alternative CLI for DOS, but that doesn't hide DOS itself. it's still there, supporting your CLI. if you want to write a real OS, you can't depend on interrupts to back you up. you have to code everything yourself: basic drivers, file system(unless you use one that already exists), kernel(unless you borrow or modify someone else's), etc. I'm not sure if it would be possible with DOS or Windows, but as long as you don't use any of the OS' standard C functions and just write your own, it works at least with ELF(go to www.gaztek.org and download the GazOS source. it's not the best OS, considering the "commands" are built right into the kernel :)