:bootstartup
; Welcome to lDebug!
@r ysf |= 4000
install quietinstall
:terminal
rv
ext extlib.eld rcexec.eld install
ext extlib.eld alias.eld install #2048
ext extlib.eld quit.eld install
install quickrun

:aliases
alias add timeg rc.execute @r v3 := dword [40:6C]; @r dword [0:5E0] := v3; g
alias add lddhda rc.execute boot protocol ldos cmdline=0 hda1/lddebugu.com; e ss:bp - C as words (-1) (-1) 0 400
alias add lddfda rc.execute boot protocol ldos cmdline=0 fda/lddebugu.com; e ss:bp - C as words (-1) (-1) 0 400
alias add fd boot protocol chain fda/fd.bin
alias add std boot protocol chain fda/standard.bin
alias add 4kib boot protocol chain fda/4kib.bin
alias add 4knofat boot protocol chain fda/4knofat.bin
alias add name rc.execute s 0:7C00 l #512 "LDDEBUGUCOM"; if (src == 1) then e srs:sro
