home *** CD-ROM | disk | FTP | other *** search
- ;exec.asm
- ;=========================
- ; Command: exec filename
- ;=========================
-
- int04 = $1704
- int0e = $170e
- int20 = $1720
-
- star = $0b00
- .wor star
- * = star
-
- jmp exec
- dw Date
-
- exec ldx #1 ; Make sure %1 is there
- jsr int04
- bcs exec0 ; Its not. Just quit
- jsr int20 ; Otherwise execute it
- exec0 jmp int0e
-
- .end
-