Subversion Repositories aysalia

Compare Revisions

Regard whitespace Rev 23 → Rev 22

/trunk/Aysalia DOS/AyDos.mnu
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/Aysalia DOS/Source/Menu/AyDos.mnu
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/Aysalia DOS/Source/Menu/AyDosMnu.asm
161,8 → 161,12
set_bg_color ENDP
 
print_menu_screen PROC
; Clear screen
call clear_vga
; Move cursor to 0, 0
mov ah, 02h ; set cursor position
mov dh, 0 ; line
mov dl, 0 ; column
mov bh, 0 ; page
int 10h
 
; Set background color
mov bl, 8 ; dark green background
177,8 → 181,12
print_menu_screen ENDP
 
print_error_screen PROC
; Clear screen
call clear_vga
; Move cursor to 0, 0
mov ah, 02h ; set cursor position
mov dh, 0 ; line
mov dl, 0 ; column
mov bh, 0 ; page
int 10h
 
; Set background color
mov bl, 4 ; dark red background
192,7 → 200,7
ret
print_error_screen ENDP
 
print_gameover_message PROC
print_gameover_screen PROC
; Keep cursor position
 
; Set background color
205,7 → 213,7
call print_color_string
ret
print_gameover_message ENDP
print_gameover_screen ENDP
 
; -------------------------------------------------------
 
302,6 → 310,9
; Video Mode VGA 12
call set_screen12
 
; Clear screen
; call clear_vga
; Print error
call print_error_screen
312,8 → 323,8
jmp menu
gameover:
; Print gameover message
call print_gameover_message
; Print gameover screen
call print_gameover_screen
 
; Give the player time to read the game over message (approx 5 seconds)
call sleep_5