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

 

 

 

Message: 5072

Author: john_elliott_uk

Date: 17/11/2005

Subject: Re: Stopped ropes bug fix / Not-so-perfect snapshots

 

--- In manicminerandjetsetwilly@yahoogroups.com, andrewbroad
wrote:

> BAS2TAP <http://www.worldofspectrum.org/utilities.html#other>
> doesn't recognise "goto". I had to edit your listing as follows
> before bas2tap -c would convert it into a TAP-file:
> 1090 go to 1010

I used zmakebas <http://rus.members.beeb.net/zmakebas.html>, which
does recognise 'goto'.

> I was going to suggest inserting a PAUSE 0 into Line 160, giving the
> user a chance to save a perfect snapshot - but when I tried this,
> the resulting TAP-file (saved by JSWED 2.2.4) played an erroneous
> title-screen tune, then the start-room killed me on entry!

Don't do that then :-)

> Conclusion: The data aren't in the correct areas of memory after
> loading the Spectrum-files and immediately prior to the machine-code
> entry-point (USR 32039), but they *are* by the time you see the
> title-screen.

Correct. Some of the code for bank 7 doesn't get moved there until
after BASIC has relinquished control, since in 128k mode BASIC uses
some of that bank. If you want to insert a pause, you'll have to do
something like:

160 POKE 32118,201
170 LET X = USR 32039
180 PAUSE 0
190 LET X = USR 33792


> Why do "main.tun", "cheat.tun" and "tune.bin" exist as separate
> Spectrum-files anyway, when they merely overwrite areas of memory
> that were just loaded from rtime.j*2?

Historical reasons - in the original JSW128, rtime.js2 didn't go all
the way to the top of memory. It also makes it easier to replace the
tunes.

 

 

arrowleft
arrowright