Date : Thu, 19 Apr 2001 12:51:56 +0100
From : Paras Sidapara <Paras.Sidapara@...>
Subject: Re: Copying BBC games naughty naughty
Right - from the BBC User Guide *SAVE is as follows:
Type *SAVE "PROG" SSSS FFFF EEEE and press RETURN
SSSS represents the start address of the data, in hexadecimal (hex).
FFFF represents the end address of the data plus one, in hex. As an option
the format +LLLL can be used in this position. The plus sign is followed by
the length of the data, in hex.
EEEE represents the (hex) execution address of the data.
So yes, you're right! I haven't used tape in years so can't remember the
*OPT output, but obviously the exec address will be greater than the load
address. [The FFFF is to indicate IO processor loading (for 6502 copro
systems)]
Some games use tape protection that changes the load and exec data in later
blocks on the tape to fool you when using *OPT (the Beeb will only use that
info from the first block on the tape - which will be correct - but that
displayed will be from the last block)
Note that if you are going to save to disc, you may have problems (depends
on the DFS) as your example program is loading partially over the disc
workspace; you can circumvent this by forcing a *LOAD to another address,
and *SAVE from there but specify a new load address (an extra parameter for
*SAVE)...
Hope that helps!
Paras
-----Original Message-----
From: Gray, David [mailto:David.Gray@...]
Sent: 19 April 2001 10:25
To: bbc-micro@...
Subject: [BBC-Micro] Copying BBC games naughty naughty
so really my *save
should be *save chuckie <load>+<length> <exec>
thus saving from the load adress for a set length of chuckie filled memory
with a exec adress stuck in on the end.
does that make sense? i *load a game which loads it at its load adress but
doesn't execute it but the *opt1,2 that i typed before loading causes the
hex information to be displayed
i then save as above thus saving the correct lump of memory with the correct
load address and exec address
eeerrrm just got to work out which is which
david gray
"Tom Seddon" <T.W.Seddon@...> wrote:
> hang on, wasn't it <exec> <load> <length> -- certainly I remember it's
> different from the DFS as this caused me much confusion a few (OK, about
> 12) years ago.
and then...
"Rich Talbot-Watkins" <Richard_Watkins@...> wrote:
> Might be actually, cos it displays the block number, then the actual
length,
> and then the other two addresses, e.g
>
> Chuckie 4D 4D70 FFFF1100 FFFF1145
> ^ ^ ^ ^ ^
> name block len load exec
OK, so I've just got back this morning, and noticed that my reply actually
suggested a THIRD order instead of confirming or denying either of the other
two! I nominate myself for "Least Helpful Follow-up 2001".
I actually think it IS the order I described above though... but before I go
confusing things even more, I'm just gonna shut up...
Rich :)
**********************************************************************
Information in this email is confidential and may be privileged.
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system.
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone.
Thank you for your co-operation.
**********************************************************************
**********************************************************************
The contents of this e-mail and any attachments are
intended for the named addressee only and may be
confidential. Unless you are the named addressee or
authorised to receive the e-mail of the named addressee
you may not disclose, use or copy the contents of the
e-mail. If you received the e-mail in error, please contact
the sender immediately and then delete the e-mail. Neither
Scoot Technology nor any other company in its group accepts
responsibility for this message and any views or opinions
contained in this e-mail are solely those of the author
unless expressly stated
otherwise.
In order to maintain the integrity of our IT systems and data,
it is Scoot Technology policy to monitor the content of all incoming and
outgoing electronic mail communications.
**********************************************************************