Skip to content
Snippets Groups Projects
Commit 380d0cf6 authored by Jakob Kirsch's avatar Jakob Kirsch
Browse files

hotfix3

parent 6fd6fb47
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -98,7 +98,7 @@ another_ball:
mov si,0x0ffe ; Don't erase ball yet
game_loop:
call wait_frame ; Wait 1/18.2 secs.
int 0xa0
int 0x27
mov word [si],0x0000 ; Erase ball
call update_score ; Update score
......
......@@ -59,11 +59,11 @@ digit: mov ah, al
push ax
mov al, ah
stosb
mov al, 0xf0
mov al, 0b01110000
stosb
pop ax
stosb
mov al, 0xf0
mov al, 0b01110000
stosb
ret
......
......@@ -265,7 +265,7 @@ fb14: push dx
in al,(0x61)
and al,0xfc ; Turn off sound
out (0x61),al
int 0xa0
int 0x27
ret
nop
......
......@@ -176,6 +176,7 @@ generate_dungeon:
; Main game loop
;
game_loop:
int 0x27
mov ax,game_loop ; Force to repeat, the whole loop...
push ax ; ...ends with ret.
......
......@@ -58,7 +58,7 @@ boot:
call draw_current_level
.mainloop:
int 0xa0
int 0x27
; read key
xor ax, ax
int 0x16
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment