File tree 1 file changed +12
-2
lines changed 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ org 0x8000
12
12
%define KEYBOARD_IVT 0x0024
13
13
%define RTC_IVT 0x0070 ; 0x1c interrupt * 4
14
14
15
-
16
15
pusha
17
16
18
17
xor ax , ax
@@ -71,6 +70,13 @@ mov es, word [GRAPHIC_MEM_A]
71
70
mov ax , 0
72
71
call check_level_n_upgrade
73
72
73
+ mov word bp , begin_msg
74
+ mov cx , begin_msg_len
75
+ call write_string
76
+ MOV CX , 50 ;0FH
77
+ MOV DX , FRAME_DELAY
78
+ mov ax , 0x8600
79
+ int 0x15
74
80
75
81
; some_loop:
76
82
; hlt
@@ -741,10 +747,15 @@ pusha
741
747
; no code execution after this
742
748
; bss and data segments
743
749
exit:
750
+ begin_msg: db "YOU READY?!"
751
+ begin_msg_len equ $ - begin_msg
752
+
744
753
rekd_msg: db "YOU GOT REKD"
745
754
rekd_msg_len equ $ - rekd_msg
755
+
746
756
won_game: db "YOU DID THE IMPOSSIBLE! YOU WON!!!"
747
757
won_game_len equ $ - won_game
758
+
748
759
lvlup_msg: db "LEVEL UP!"
749
760
lvlup_msg_len equ $ - lvlup_msg
750
761
799
810
800
811
enemies: times N_ENEMIES dw 256
801
812
802
-
803
813
times 512 * 20 - ($ - $$) db 0
You can’t perform that action at this time.
0 commit comments