I have been working on an assembly OS with a bootloader and console type thing, it is now getting too big for the 512 bytes allocated as the bootloader so I was wondering how I could link in an external assembly file to use without any size limit, which would be called from the bootloader. Any help would be really appreciated ;)
fbudek
0
Newbie Poster
Recommended Answers
Jump to PostDo what the original PC BIOS did:
1. read the boot sector into memory
2. execute
3. read the first boot partion sector into memory
4. executeFWIW, I had to solve this problem in 1986 for our OEM version of QNX.
Jump to Postwhat code would I have to use in the bootloader to open the second file?
That depends on what kind of filesystem you are using, and what executable format the file is in. For example, my own original boot loader simply assumed that the second stage was in …
All 5 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
fbudek
0
Newbie Poster
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
fbudek
0
Newbie Poster
prashant14214
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.