Rev 10 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10 | Rev 14 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | 1 | ||
2 | ; Aysalia DOS Launcher |
2 | ; Aysalia DOS Launcher |
3 | ; DOS Stub for AyDos.exe fat binary |
3 | ; DOS Stub for AyDos.exe fat binary |
4 | ; Revision 2018-12-01 |
4 | ; Revision 2018-12-05 |
5 | ; (C) 2018 Daniel Marschall, ViaThinkSoft |
5 | ; (C) 2018 Daniel Marschall, ViaThinkSoft |
6 | 6 | ||
7 | .model tiny |
7 | .model tiny |
8 | .code |
8 | .code |
9 | org 100h |
9 | org 100h |
Line 26... | Line 26... | ||
26 | dw 0 ; fcb2_seg |
26 | dw 0 ; fcb2_seg |
27 | 27 | ||
28 | 28 | ||
29 | real_start: |
29 | real_start: |
30 | ; Reduce size of own application to give the called applications more space |
30 | ; Reduce size of own application to give the called applications more space |
31 | ; TODO: Is that required for a COM file? |
- | |
32 | mov ah, 4ah |
31 | mov ah, 4ah |
33 | mov al, 00h |
- | |
34 | mov bx, 50 ; 50 paragraphs a 16 byte = 800 byte |
32 | mov bx, 32 ; 32 paragraphs a 16 bytes = 512 bytes |
35 | int 21h |
33 | int 21h |
36 | 34 | ||
37 | ; Start Menu |
35 | ; Start Menu |
38 | mov ah, 4bh ; execute |
36 | mov ah, 4bh ; execute |
39 | mov al, 00h ; load and execute |
37 | mov al, 00h ; load and execute |