diff options
Diffstat (limited to 'asm/dosver.asm')
-rw-r--r-- | asm/dosver.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/asm/dosver.asm b/asm/dosver.asm index 8406663..9bbb0e0 100644 --- a/asm/dosver.asm +++ b/asm/dosver.asm @@ -1,5 +1,6 @@ push bp
- mov bp, sp
+ mov bp, sp ; needs to be &H8B, &HEC
+ pushf
mov al, 0
mov ah, 0x30
@@ -71,6 +72,7 @@ alldone: mov di, [bp]+8
mov [di], ax
+ popf
pop bp
retf 4
\ No newline at end of file |