aboutsummaryrefslogtreecommitdiff
path: root/dosstub.asm
blob: 2d043e2be6bdd31219a51287ed2f493e00bee178 (plain)
1
2
3
4
5
6
7
8
9
10
11
.8086
.model small
.code
PUBLIC main
main:
; This just builds a stub MZ exec that is exactly 1K long, see mousew16.lnk for details
mov ax,0x4c01
int 0x21 ; just end with error code
db 400h-40h-5h dup(0) ; 1K - sizeof full MZ header - size of above code
.stack
END main