On the Tube, it (according to the manual) returns the load address of the currently running program; which is normally 0x8000 for Basic or &B800 for HiBasic.
The problem is... *RUN programs count as programs for the purposes of OSBYTE 0x84. So this happens:
Code: Select all
*GO F800 *INFO COW/OUT COW/OUT 00000800 00000800 000004F7 *COW/OUT LOMEM is: 0x0D26 HIMEM is: 0x0800
(Incidentally, VDFS always loads into the I/O memory, regardless of how the high bits of the address are set. This can cause Hilarious Results when the program runs if it happens to stomp over the sound and envelope workspace. Ask me how I know!)