Submitted by Steve Fewell
Description:
If called from &8F83 then a full initialisation will be done before the command line prompt appears.
| 8F83 | 032 172 187 | 20 AC BB | JSR &BBAC Initialise Page 7 & reset Variable pointers, etc... | |
| 8F86 | 160 007 | A0 07 | LDY#&07 | |
| 8F88 | 132 012 | 84 0C | STY &0C | |
| 8F8A | d | 100 011 | 64 0B | STZ &0B |
| 8F8C | 032 166 178 | 20 A6 B2 | JSR &B2A6 Reset 'ON ERROR' pointer to BASIC's default error handling routine | |
| 8F8F | > | 169 062 | A9 3E | LDA#&3E |
| 8F91 | 032 238 255 | 20 EE FF | JSR &FFEE OSWRCH | |
| 8F94 | t | 032 116 186 | 20 74 BA | JSR &BA74 Prompt for & get the User's input line (storing it in buffer &0700-&07FF) |
| 8F97 | 162 255 | A2 FF | LDX#&FF | |
| 8F99 | 154 | 9A | TXS | |
| 8F9A | 032 166 178 | 20 A6 B2 | JSR &B2A6 Reset 'ON ERROR' pointer to BASIC's default error handling routine | |
| 8F9D | 032 235 186 | 20 EB BA | JSR &BAEB Tokenise Command Line and Insert Line into Program (if line number given) | |
| 8FA0 | 176 225 | B0 E1 | BCS -31 --> &8F83 Initialise & prompt for next command line | |
| 8FA2 | z | 128 122 | 80 7A | BRA 122 --> &901E Execute the command line |