Anonymous user
Babystep1: Difference between revisions
m
fixed typo
[unchecked revision] | [unchecked revision] |
No edit summary |
m (fixed typo) |
||
Line 19:
The CPU starts in real mode and the BIOS loads this code at address 0000:7c00. The "times 512..." stuff is NASM's way of saying fill up 512 bytes with zeros. And partcopy is going to expect that (200 in Hex = 512 in Decimal). Change it and you'll see Partcopy choke.
Often, you will see a so-called boot signature (0xAA55) at the end. Older versions of [[BIOS|BIOSes]] looked for this in order to identify a boot sector on a disk. It is
<source lang="asm">
; boot.asm
|