address of the ATN function instructions. This can be done using BASIC initialization, as follows:
<5>
MEMORY SIZE? 3968 Limit BASIC to F80
WIDTH? 16
3438 BYTES FREE
AIM 65 BASIC V1.1
POKE 188,189 Change ATN function vector low to $BD
POKE 189,15 Change ATN function vector high to $0F
?ATN (TAN(.5)) Test case to verify proper ATN function program
.5 Expected answer = .5
SAVING ATN OBJECT CODE ON CASSETTE
The object code for the ATN function can be saved on cassette by dumping addresses $00BB
through $00BD (Jump instruction to ATN) and $0F80 through $0FEC (constants and instructions)
after the function is initially loaded and verified.
The ATN function can then be loaded from cassette by executing the Monitor L command after
BASIC has been initialized via the 5 command. After the ATN function has been loaded, reenter
BASIC with the 6 command.
###