83Plus:BCALLs:4E82
From WikiTI
Synopsis
Official Name: ParsePrgmName
BCALL Address: 4E82
Parses a program token and name out of memory and copies it to OP1.
Inputs
- (nextParseByte): address of 5Fh (prgm) token minus one
- (basic_end): end of line to parse
Outputs
- OP1: type and name of program, zero-terminated
Destroys
- All
Comments
The value of (basic_end) does not matter as long as it is far out of the way.
This is used by the OS to parse a line containing Asm( or AsmComp(.
It will throw an error if any parsing problems are encountered.