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

 

arrowleft Previous message
Next message arrowright
arrowleftthread Previous in thread

 

 

Message: 6637

Author: andrewbroad

Date: 19/02/2010

Subject: Re: Patch-vectors in JSW64

 

rogernorth84 wrote:

I wondered why the calculation for a room's main loop patch vector
had the base address #C0FD in your reply here but was given as
#C0FB in the advanced trainer. I noticed that both these will work
because the default 9F 86 normally appears twice in the resulting
room data.

Offset #FD is for the main-loop patch-vector, which is called every time-frame. The default is #869F.

Offset #FB is for the room-setup patch-vector, which is called when you enter the room. The default is #869F.

Offset #F9 is for the portal patch-vector, which is called when you enter the portal (in rooms that have one). The default is #86A0, which behaves like the original Manic Miner.

--
Dr. Andrew Broad
http://abroad.sqweebs.com/spectrum/mmjsw/

 

 

arrowleft Previous message Back to the Yahoo! Archive
home page
Next message arrowright
arrowleftthread Previous in thread