Date : Wed, 17 Jun 2009 10:06:05 +0100
From : jgh@... (Jonathan Graham Harston)
Subject: Am I saving or loading 1 byte too many....?
"Mark Haysman" wrote:
> *SAVE <xxxx> 3000 4000
>
> Should that save the actual byte at &4000 or not? Or should it only save to
No, that will save &4000-&3000 bytes, ie the bytes from &3000 to
&3FFF.
I've got dozens of ROM images that are &3FFF bytes long, obviously
because somebody's saved them with the equivalent of 8000 BFFF
instead of 8000 C000.
> *LOAD <xxxx> 3000 4000
>
> Should that retain the old value of &4000, or overwrite it with the last
> byte of <xxxx>
No, that will give an error. You can't specify and end address for
a /load/, the end address will be wherever the loaded file ends.
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
There are three food groups: brown, green and ice cream.