Babystep1: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m →Code |
m Minor improvements and added Tone banner |
||
Line 1:
__NOTOC__
{{Tone}}
{{Rating|1}}
Line 20 ⟶ 21:
times 512-($-$$) db 0
</source>
The CPU starts in real mode and the [[BIOS]] loads this code at address 0000:7c00.
Often, you will see a
<source lang="asm">
; boot.asm
Line 33 ⟶ 34:
</source>
<source lang="asm">
;boot.asm
Line 53 ⟶ 54:
==Creating disk image==
The code is assembled in [[NASM]] and copied to floppy using partcopy, dd, or debug. Then you simply boot from the floppy.
===Windows===
|