|
-
Feb 27th, 2002, 02:28 PM
#1
Thread Starter
New Member
Loading a program in a boot sector
Hi
I have a boot sector program that I want to load another program from the disk.
Since free space on the 512KB Boot sector is limited, I want to go straight to the start of the data part of the disk (ignoring the FAT).
I want to load this file from disk into memory and then execute it.
Please note, this is in Real Mode.
1. How do I set aside some RAM and load it in (I know it's using Int13).
2. I'm not sure how to execute it, I know I take the CPU to it with a JMP Instruction, but I need some helpful advice.
-
Feb 27th, 2002, 03:53 PM
#2
Member
Re: Loading a program in a boot sector
I don't have a clue
-
Feb 27th, 2002, 04:47 PM
#3
Re: Re: Loading a program in a boot sector
Originally posted by VBTZH
I don't have a clue :(
Then why did you post?
-
Mar 6th, 2002, 03:37 PM
#4
I collected some links:
http://nondot.org/sabre/os/files/Booting/nasmBoot.html
http://www.geocities.com/mvea/bootstrap.htm
http://www.omen.net.au/~philipm/dazi...rial/menu.html
In this order from least to most advantaged.
The first seems what you're searching for, the second scans the FAT of the floppy disk and the third seems to be pretty advanced, with much background information. It is incomplete (but bootstraps are explained).
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 6th, 2002, 04:20 PM
#5
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|