Thread: PDOS for Amiga
View Single Post
Old 04 March 2021, 22:24   #53
kerravon
Registered User
 
Join Date: Mar 2021
Location: Ligao, Free World North
Posts: 228
Quote:
Originally Posted by kerravon View Post
Assuming a IBM-PC-style BIOS is available (instead of Kickstart), it will need to have the ability to load the first (boot) sector from a FAT-formatted floppy, which will need to be written in 68000 assembler. Or an MBR plus boot sector from a hard disk.

This will then load the loader (IO.SYS), which needs to be located in consecutive sectors. It is 18k in size.

This then loads the kernel (MSDOS.SYS), which can be located anywhere in the root directory and is about 100k in size.
It occurred to me that the BIOS could be on the disk as IO.SYS, and after loading itself into memory, it then loads the OS under a fixed name from the same disk. I believe this is what the Raspberry Pi does.

Also thanks to Volker pointing me to his website, I am going to start by using his C compiler as well, instead of GCC. I believe I have successfully built the compiler, assembler and linker from his website on my Windows box using gcc from Cygwin.
kerravon is offline  
 
Page generated in 0.07016 seconds with 11 queries