Subversion Repositories aysalia

Rev

Rev 11 | Rev 17 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 14
Line 1... Line 1...
1
 
1
 
2
; Aysalia DOS Launcher
2
; Aysalia DOS Launcher
3
; Launches aydos1.gam and aydos2.gam
3
; Launches aydos1.gam and aydos2.gam
4
; Revision 2018-12-03
4
; Revision 2018-12-05
5
; (C) 2018 Daniel Marschall, ViaThinkSoft
5
; (C) 2018 Daniel Marschall, ViaThinkSoft
6
 
6
 
7
.model small
7
.model small
8
.stack 10h
8
.stack 10h
9
 
9
 
Line 185... Line 185...
185
    call    set_numlock_on
185
    call    set_numlock_on
186
 
186
 
187
    ; Reduce size of own application to give the called applications more space
187
    ; Reduce size of own application to give the called applications more space
188
    ; see https://stackoverflow.com/a/10067627
188
    ; see https://stackoverflow.com/a/10067627
189
    mov     ah, 4Ah
189
    mov     ah, 4Ah
190
    mov     al, 00h    
-
 
191
    mov     bx, 100       ; 100 paragraphs a 16 byte = 1600 byte
190
    mov     bx, 100       ; 100 paragraphs a 16 bytes = 1600 bytes
192
                          ; EXE size is 1188 byte
-
 
193
    int     21h
191
    int     21h
194
 
192
 
195
menu:
193
menu:
196
    ; Video Mode VGA 12
194
    ; Video Mode VGA 12
197
    call    set_screen12
195
    call    set_screen12