Submitted by Steve Fewell
Description:
Call VPOS routine to do the following:
* Call OSBYTE #&86 to obtain the Text cursor position. After this call, X contains the horizontal position of the
cursor (POS) and Y contains the vertical position of the cursor (VPOS).
* Set the IWA to the 1-byte VPOS value (in Y) [bytes &2B-&2D of the IWA will be zero].
Store X (The POS value) in location &2A (now the IWA contains the POS value -> locations &2B-&2D have
already been zeroed by the VPOS routine), and exit.
AAA3 | 032 188 170 | 20 BC AA | JSR &AABC VPOS | |
AAA6 | * | 134 042 | 86 2A | STX &2A |
AAA8 | ` | 096 | 60 | RTS |