Changeset 145 for trunk/bootcode/regular/other.asm
- Timestamp:
- Apr 8, 2017, 12:27:40 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/other.asm
r142 r145 183 183 call MBR_TeletypeNL 184 184 185 ; Write MBR back to disk to sync MBR variables.186 ; Otherwise subsequent MBR loads will differ from the RAM stored one,187 ; which is used by MBR protection to validate parts of the MBR.188 xor bx, bx189 mov cx, 1190 xor dh, dh191 mov dl, [BIOS_BootDisk]192 mov al, 1193 mov ah, 03h194 int 13h195 ;!196 ;! TODO: Check success197 ;! Yes, we should check for errors here, coz it would mean AirBoot198 ;! was loaded from a disk where the MBR cannot be written !199 ;!200 201 202 185 ; 203 186 ; Phase 1 Indicator
Note:
See TracChangeset
for help on using the changeset viewer.