Changeset 184 for trunk/bootcode/airboot.asm
- Timestamp:
- Nov 7, 2017, 7:12:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/airboot.asm
r176 r184 827 827 loop MBR_RealStart_CheckCodeLoop 828 828 829 ; Verify checksum 829 ; Verify checksum -- EQUAL if OK 830 830 cmp MBR_CheckCode, bx 831 ;~ je MBR_RealStart_CheckSuccess ; CRC verified 832 jmp MBR_RealStart_CheckSuccess ; Ignore CRC 833 831 832 ; 833 ; The CRC is calculated and inserted in the loader image when 834 ; AiR-BOOT is installed. Ignoring the CRC enables manually 835 ; merging the loader without using the installer. This is used 836 ; for debugging in virtual machines, where it is easy to 837 ; merge the loader to the disk image of the VM. 838 ; 839 IFDEF CRC_IGNORE 840 jmp MBR_RealStart_CheckSuccess ; Ignore CRC 841 ELSE 842 je MBR_RealStart_CheckSuccess ; Honor CRC -- EQ is OK 843 ENDIF 844 845 ; 834 846 ; Oops, checksum mismatch -- halt the system 847 ; 835 848 mov si, offset TXT_ERROR_Attention 836 849 call MBR_Teletype
Note:
See TracChangeset
for help on using the changeset viewer.