Changeset 85


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

Added generic test-function, hotkey 't' [v1.1.1-testing]

Pressing 't' will invoke the generic test-function.
The 't' key is not shown in the hotkey assignment displayed with 'h'.
What is tested depends on what functions are called.

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

    r84 r85  
    9494;
    9595dbg_call_list:
     96        db      't'
     97        dw      offset  DEBUG_Test
    9698        db      'l'
    9799        dw      offset  DEBUG_DumpDriveLetters
     
    409411
    410412;
     413; Activate zero or more test functions.
     414; When a call is _not_ commented out, the test-function can still be disabled
     415; if its 'IF' directive is 0.
     416;
     417IF  1
     418DEBUG_Test  Proc
     419    pushf
     420    pusha
     421    ; Put call to test-function here...
     422    popa
     423    popf
     424    ret
     425DEBUG_Test  EndP
     426ELSE
     427DEBUG_Test  Proc
     428    ret
     429DEBUG_Test  EndP
     430ENDIF
     431
     432
     433
     434;
    411435; Dump the new  partitions table.
    412436;
Note: See TracChangeset for help on using the changeset viewer.