:bootstartup
; Welcome to lDebug!
r dco or= 4000
e 3F:0 EA
r dword [3F:1] := ri16p
r dword [0:16*4] := 3F*10000
; boot protocol ldos lddebug.com // r DSPVI := 0C; r DSPVM := 2#0001_0000; r DSPVP := 3F8; r dco or:= 4000
bp at ptr ri16p
boot protocol freedos cmdline=1 kernel.sys // 
r
g
r f CY
goto :eof

@:applicationstartup
@:devicestartup
; Welcome to lDebug!
@if (dauxbuflen <= 9 * #1024) then goto :noaux
h as bytes dauxbuflen
@:noaux
@r dco or= 800
@ext aformat.eld install
@ext extname.eld install
