Ignore:
Timestamp:
Apr 8, 2017, 12:27:37 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Moved the clearing of BSS variables to an earlier stage [v1.1.1-testing]

When debugging, we want 'AuxIO' available before 'PRECRAP'.

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/regular/other.asm

    r139 r141  
    9999        ENDIF
    100100ENDIF
    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 below
    104         ; the point where the first variables are located. The part after
    105         ; the variables is not cleared because that is where the old SS:SP is
    106         ; stored, which is needed for AirBoot restarts during debugging.
    107         mov     bx, offset sobss
    108         mov     cx, offset EndOfVariables - offset sobss
    109         xor     ax, ax
    110         call    FillMemBlock
    111101
    112102    ;
Note: See TracChangeset for help on using the changeset viewer.