Add a magic number, for easier identification of boot0. At present,

this is used only by libdisk.
This commit is contained in:
Robert Nordier 2000-12-12 17:27:35 +00:00
parent f0da1b03a0
commit 1ec5afb81e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69921

View File

@ -28,6 +28,7 @@
.set TBL1SZ,0xc # Table 1 size
.set MAGIC,0xaa55 # Magic: bootable
.set B0MAGIC,0xbb66 # Identification
.set KEY_ENTER,0x1c # Enter key scan code
.set KEY_F1,0x3b # F1 key scan code
@ -393,7 +394,10 @@ os_linux: .ascii "Linu"; .byte 'x'|0x80
os_freebsd: .ascii "Free"
os_bsd: .ascii "BS"; .byte 'D'|0x80
.org PRT_OFF-0xc,0x90
.org PRT_OFF-0xe,0x90
.word B0MAGIC # Magic number
#
# These values are sometimes changed before writing back to the drive
# Be especially careful that nxtdrv: must come after drive:, as it