Posted By
JamesC on 2008-12-24 09:22:16
| Re: TRAP command
When a BASIC error is encountered, BASIC checks the TRAP line locations at $04F2-04F3 to see where to jump for error handling. These locations are set at power-up to 00 FF.
If a different line number is found, BASIC goes to that line. Otherwise, the standard error procedure (halt program and display error) is performed.
ER is stored in $04EF and EL is stored in $04F0-04F1.
|