]> 4ch.mooo.com Git - 16.git/blob - 16/xw__/mxsa.asm
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / 16 / xw__ / mxsa.asm
1 .387
2                 PUBLIC  MXSTARTADDRESS
3 MX_TEXT         SEGMENT PARA PUBLIC USE16 'CODE'
4                 ASSUME CS:MX_TEXT, DS:DGROUP, SS:DGROUP
5 MXSTARTADDRESS:
6         push            bp
7         mov             bp,sp
8         sub             sp,0
9         mov             bx,word ptr 6[bp]
10         mov             dx,3d4H
11         mov             al,0cH
12         mov             ah,bh
13         cli
14         out             dx,ax
15         mov             al,0dH
16         mov             ah,bl
17         out             dx,ax
18         sti
19         mov             sp,bp
20         pop             bp
21         retf            2
22 MX_TEXT         ENDS
23                 END