Re: Pointer at the start of a BASIC line: what good is it?

From: Rhialto <rhialto_at_falu.nl>
Date: Fri, 29 Oct 2021 23:16:05 +0200
Message-ID: <YXxklYiyL7NH8Qmg_at_falu.nl>
On Thu 28 Oct 2021 at 19:29:51 +0200, ruud_at_baltissen.org wrote:
> forgot that this is not how it looks in RAM. There it would look like:
> 
> ?? 2C 08 01 00 8F 20 C2 C1 D3 C9 C3 20 46 49 4C
> 45 20 54 4F 20 42 45 20 43 4F 4E 56 45 52 54 45
> 44 20 42 59 20 D0 C5 D4 C3 C1 D4 00 38 08 0A 00
> 99 22 52 55 55 44 22 00 3E 08 0F 27 80 00 00 00

The ?? is 00. This is so that it kind of looks like the end of the
previous line, even though there is no previous line. Try changing it
to something else and weird errors will result.

One weirdness is that Basic 1 ("old" PET ROMs) do save the ?? byte, but
later versions don't. That also gives weird results if you load such a
(tape) file into a VIC20 or C64, who move it 1 byte forward due to
relocation...

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl_at_rhialto



Received on 2021-10-30 00:00:03

Archive generated by hypermail 2.3.0.