![]() |
Routines |
Prev: 34A5 | Up: Map |
The address of this routine is found in the table of addresses. It is called indirectly via fp_calc_2.
This subroutine handles the function PEEK X. The 'last value' is unstacked by calling FIND_INT2 and replaced by the value of the contents of the required location.
|
||||||||
peek | 34AC | CALL FIND_INT2 | Evaluate the 'last value', rounded to the nearest integer; test that it is in range and return it in BC. | |||||
34AF | LD A,(BC) | Fetch the required byte. | ||||||
This entry point is used by the routine at f_in.
|
||||||||
IN_PK_STK | 34B0 | JP STACK_A | Exit by jumping to STACK_A. |
Prev: 34A5 | Up: Map |