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: 4418
Author: Alexandra
Date: 24/08/2004
Subject: Re: Comments from Geoff Eddy re. Patch Vectors
> If you want to put code in a room definition, then (with +3DOSThanks.
> files) you use this formula:
>
> rooms.js1: Rooms 0 to 31 (V,W); 0 to 15 (others)
> rooms.js3: Rooms 32 to 63 (V,w); 16 to 31 (others)
> rooms.js4: Rooms 64 to 95 (V,W); 32 to 47 (others)
> rooms.js6: Rooms 96 to 127 (V,W); 48 to 63 (others)
>
> In a V/W game, the rooms are than at 80h, 280h, 480h, 680h...
> while in the others, the rooms are at 80h, 480h, 880h, 0C80h...
> The current room will always be at Spectrum address 8000h,whatever
> the game format. So in a V-format game, your patch vector code willYou know, it didn't even occurr me that each room is loaded into the
> (probably) start at 8100h.
same bit of memory *L*
