Prevent announce from spoiling DS
This commit is contained in:
parent
932aa06874
commit
ff552ac242
@ -54,6 +54,7 @@ putc:
|
||||
ret
|
||||
|
||||
announce:
|
||||
push ds
|
||||
push cs
|
||||
mov ax, cs
|
||||
mov ds, ax
|
||||
@ -62,6 +63,7 @@ announce:
|
||||
call printf
|
||||
db "%S (CS=%Xh)", 0x0A, 0x0D, 0x00
|
||||
add sp, 4
|
||||
pop ds
|
||||
ret
|
||||
|
||||
start:
|
||||
|
Loading…
Reference in New Issue
Block a user