Doesn't work... I'll look for a solution for a while, if i find anything i'll upload...
masm code that works...
-u 1,23
0D87:0001 BA2810 MOV DX,1028
0D87:0004 8EDA MOV DS,DX
0D87:0006 8CD3 MOV BX,SS
0D87:0008 2BDA SUB BX,DX
0D87:000A D1E3 SHL BX,1
0D87:000C D1E3 SHL BX,1
0D87:000E D1E3 SHL BX,1
0D87:0010 D1E3 SHL BX,1
0D87:0012 FA CLI
0D87:0013 8ED2 MOV SS,DX
0D87:0015 03E3 ADD SP,BX
0D87:0017 FB STI
0D87:0018 B81A00 MOV AX,001A
0D87:001B 50 PUSH AX
0D87:001C 9ACA1D890D CALL 0D89:1DCA
0D87:0021 B44C MOV AH,4C
0D87:0023 CD21 INT 21
-q
Unnassembled MASM code with AFD:
0001 BA9A22 MOV DX,229A
0004 8EDA MOV DS,DX
0006 8CD3 MOV BX,SS
0008 2BDA SUB BX,DX
000A D1E3 SHL BX,1
000C D1E3 SHL BX,1
000E D1E3 SHL BX,1
0010 D1E3 SHL BX,1
0012 FA CLI
0013 8ED2 MOV SS,DX
0015 03E3 ADD SP,BX
0017 FB STI
0018 B81A00 MOV AX,001A
001B 50 PUSH AX
001C 9ACA1DFB1F CALL 1FFB:1DCA
0021 B44C MOV AH,4C
0023 CD21 INT 21
nasm code... that doesn't work...
-u 1,18
0FD3:0001 C3 RET
0FD3:0002 0F DB 0F
0FD3:0003 8ED0 MOV SS,AX
0FD3:0005 BC0001 MOV SP,0100
0FD3:0008 B8C10F MOV AX,0FC1
0FD3:000B 8ED8 MOV DS,AX
0FD3:000D B81200 MOV AX,0012
0FD3:0010 50 PUSH AX
0FD3:0011 9AC41D870D CALL 0D87:1DC4
0FD3:0016 B44C MOV AH,4C
0FD3:0018 CD21 INT 21
-q
Unnassembled NASM code with AFD:
0000 B83522 MOV AX,2235
0003 8ED0 MOV SS,AX
0005 BC0001 MOV SP,0100
0008 B83322 MOV AX,2233
000B 8ED8 MOV DS,AX
000D B81200 MOV AX,0012
0010 50 PUSH AX
0011 9AC41DF91F CALL 1FF9:1DC4
0016 B44C MOV AH,4C
0018 CD21 INT 21