Changeset 127


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

Test the new MBR-load function (debugging) [v1.1.1-testing]

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/debug.asm

    r111 r127  
    326326; Dump some disk information.
    327327;
    328 IF 0
     328IF 1
    329329ddi     db  10,'DumpDiskInfo:',10,0
    330330DEBUG_DumpDiskInfo          Proc
     
    342342        call    AuxIO_TeletypeNL
    343343
    344         ; Show disk parameters (legacy version)
    345         pusha
    346             mov     dl, al
    347             mov     ah, 08h
    348             int     13h
    349             call    DEBUG_DumpRegisters
    350         popa
    351 
    352         ; Show status of last operation
    353         pusha
    354             mov     dl, al
    355             mov     ah, 01
    356             int     13h
    357             mov     al, ah
    358             call    AuxIO_TeletypeHexByte
    359             call    AuxIO_TeletypeNL
    360         popa
     344        ; Load the MBR
     345        mov     dl, al
     346        mov     si, offset [TmpSector]
     347        call    DriveIO_LoadMBR
     348        call    DEBUG_DumpRegisters
     349        call    AuxIO_DumpSector
    361350
    362351        popa
Note: See TracChangeset for help on using the changeset viewer.