From 3a721063f4c704b3a8eaa287837b628f439e4bcd Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Mon, 4 Nov 2019 20:35:01 +0000 Subject: [PATCH] debug.rom: show CS during boot --- rom/debug.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rom/debug.asm b/rom/debug.asm index 648fdd4..19b139a 100644 --- a/rom/debug.asm +++ b/rom/debug.asm @@ -43,7 +43,7 @@ rom: nop .name: - db "RDOS debug rom", 0 + db "RDOS DEBUG", 0 times (0x18 - ($-$$)) db 0 .pcir_ptr: @@ -104,10 +104,11 @@ init: push cs pop ds mov si, rom.name + push cs push si call printf - db "%S loaded", 0x0A, 0x0D, 0 - pop si + db "%S %X", 0x0A, 0x0D, 0 + add sp, 4 retf