1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-28 10:51:14 +00:00
C02/include/apple1/args.a02
2021-09-25 15:28:49 -04:00

19 lines
571 B
Plaintext

;Module arg,h02 Assembly Language Routines for Apple 1 Computer
;Command Line Arguments are specified in the form:
; 0300R arg1 arg2 arg3...
;Arguments are separated by one or more spaces
SUBROUTINE ARGS
;Argument Parser Constants
ARGFLG EQU $00 ;Command Arguments Supported
ARGDLM EQU $A0 ;Argument Separator (Sapce)
ARGTRM EQU $8D ;Argument Terminator (C/R)
ARGMSK EQU $7F ;Mask: Strip High Bit
INCLUDE "argset.a02" ;Generic ARGSET Routine
INCLUDE "argget.a02" ;Generic ARGGET Routine
ENDSUBROUTINE