Changeset 141
- Timestamp:
- Apr 8, 2017, 12:27:37 AM (8 years ago)
- Location:
- trunk/bootcode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/airboot.asm
r138 r141 996 996 pop [OldSS] 997 997 998 ; Clear the BSS from its real start just upto the end of the variables. 999 ; Here 'real start' means from where the BSS begins, which is below 1000 ; the point where the first variables are located. The part after 1001 ; the variables is not cleared because that is where the old SS:SP is 1002 ; stored, which is needed for AirBoot restarts during debugging. 1003 mov bx, offset sobss 1004 mov cx, offset EndOfVariables - offset sobss 1005 xor ax, ax 1006 call FillMemBlock 998 1007 999 1008 ; Verify we still got the BIOS disk in DL -
trunk/bootcode/regular/other.asm
r139 r141 99 99 ENDIF 100 100 ENDIF 101 102 ; Clear the BSS from its real start just upto the end of the variables.103 ; Here 'real start' means from where the BSS begins, which is below104 ; the point where the first variables are located. The part after105 ; the variables is not cleared because that is where the old SS:SP is106 ; stored, which is needed for AirBoot restarts during debugging.107 mov bx, offset sobss108 mov cx, offset EndOfVariables - offset sobss109 xor ax, ax110 call FillMemBlock111 101 112 102 ;
Note:
See TracChangeset
for help on using the changeset viewer.