debug.rom: show CS during boot

This commit is contained in:
Nero 2019-11-04 20:35:01 +00:00
parent 8b30a6c5e2
commit 3a721063f4

View File

@ -43,7 +43,7 @@ rom:
nop nop
.name: .name:
db "RDOS debug rom", 0 db "RDOS DEBUG", 0
times (0x18 - ($-$$)) db 0 times (0x18 - ($-$$)) db 0
.pcir_ptr: .pcir_ptr:
@ -104,10 +104,11 @@ init:
push cs push cs
pop ds pop ds
mov si, rom.name mov si, rom.name
push cs
push si push si
call printf call printf
db "%S loaded", 0x0A, 0x0D, 0 db "%S %X", 0x0A, 0x0D, 0
pop si add sp, 4
retf retf