OS Development Under MS-DOS
OS Development Under MS-DOS
Hello,
I'm emulating MS-DOS 6.22 on my PPC and I want to develop my OS under this MS-DOS. Without thinking in thee language, what tools can I use to do this?
Best Regards,
Nathan Paulino Campos
I'm emulating MS-DOS 6.22 on my PPC and I want to develop my OS under this MS-DOS. Without thinking in thee language, what tools can I use to do this?
Best Regards,
Nathan Paulino Campos
Re: OS Development Under MS-DOS
If you use assembly as your main language, you can use NASM or FASM. Otherwise, you have a GCC port for MS-DOS: DJGPP.
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa
Re: OS Development Under MS-DOS
Hmm, nice. I already know that I can develop in C and in Assembly, but how about BASIC?
Re: OS Development Under MS-DOS
There is also a FreeBASIC port for MS-DOS.Nathan wrote:Hmm, nice. I already know that I can develop in C and in Assembly, but how about BASIC?
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: OS Development Under MS-DOS
DOS on PocketPC? What emulator are you using? Either you're using DosBox and you'll fail over all the things it does not emulate, or you have a full emulator and DOS is not part of the equation.
Also, please shorten up your signature.
Also, please shorten up your signature.
Re: OS Development Under MS-DOS
Thanks very much Tommy, I'm going to take a look on the tools.
Re: OS Development Under MS-DOS
I think PPC means "PowerPC". He probably uses a Macintosh.
EDIT: +1 for the signature. It is a bit huge!
EDIT: +1 for the signature. It is a bit huge!
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa
Re: OS Development Under MS-DOS
I'm using PocketDOS and I only need to reboot the emulator and choose my OS image to test it.Combuster wrote:DOS on PocketPC? What emulator are you using? Either you're using DosBox and you'll fail over all the things it does not emulate, or you have a full emulator and DOS is not part of the equation.
Also, please shorten up your signature.
Also, is my signature good now?
Re: OS Development Under MS-DOS
Oops ! I lost!Nathan wrote: I'm using PocketDOS and I only need to reboot the emulator and choose my OS image to test it.
This is OK now.Nathan wrote: Also, is my signature good now?
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa
Re: OS Development Under MS-DOS
If you want to develop a 16-bits OS, Turbo C is freely available from Borland's website.
Re: OS Development Under MS-DOS
But with Turbo C, how can I compile the OS to the normal *.bin file(used to boot with GRUB)?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: OS Development Under MS-DOS
You can't. GRUB doesn't load kernels to the real-mode accessible portions of memory.
Re: OS Development Under MS-DOS
There isn't any way to build my OS in MS-DOS? And how can I compile it to run on GRUB?
Re: OS Development Under MS-DOS
Of course you can build it in MS-DOS-several solutions have already been provided. Just cant use Grub to boot it.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: OS Development Under MS-DOS
I can develop my own bootloader with Assembly and make him read the *.bin that was written to a floppy
But how I can make a *.bin file from Turbo C?
But how I can make a *.bin file from Turbo C?