Resource centre for ZX Spectrum games
using Manic Miner and Jet Set Willy game engines
Archive of the
Manic Miner & Jet Set Willy Yahoo! Group
messages
|
|
||
|
|
||
| Previous in thread |
|
Message: 5053
Author: john_elliott_uk
Date: 15/11/2005
Subject: Re: Comparison of TAP files
In manicminerandjetsetwilly@yahoogroups.com, andrewbroad wrote:
(The obvious problem is how to denote 128K addresses to (and from)
the user - should I call them 65536 and greater, or adopt a
bank:offset notation?)
Here's a vote for bank:offset.
To handle cases like this correctly, we would need more advanced
correspondence-heuristics, such as: [big snip] * Analyse the BASIC loaders to decide what to do. This would tell it
about relocated start-addresses, bonus-files on the TAP which aren't
normally loaded, but it would be hard-pressed to understand JSW128
and JSW64 loaders unless we gave it some ad hoc knowledge of the
machine-code routine at 32001!
And, of course, if you execute the BASIC loaders and/or machine-code
loaders to see where they relocate the memory to, you have to work out
when the game itself is just about to be launched, and stop to do your
comparison (in JSW64, you'd have to allow RAND USR 32001 and stop at
RAND USR 32039; or, to be really really accurate, allow both BASIC
statements and stop at 32118 where it jumps to the JSW start point
33792). I suspect that a general solution to this would run up against
the Halting Problem.
