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
Next in thread arrowrightthread

 

 

Message: 5809

Author: john_elliott_uk

Date: 21/04/2006

Subject: Re: Memory for teleporters in JSWED

 

In manicminerandjetsetwilly@yahoogroups.com, andrewbroad wrote:

Talking of the Memory-screen, JSWED only allows #EA00-EAFF to be
used for teleporters (code + data), and says "All teleporters used"
after 45 teleporters (AMJT is going to need hundreds).

Surely this limit could be increased by allowing the teleporter-list
to be relocated to a larger area of contiguous free bytes? (and
preferably JSWED would copy the existing teleporter-list there).

I think it would be simplest to reserve 4 pages at the top of memory
before loading the teleporter extension, so that you could then grow
the list over those pages.

But JSWED doesn't recognise it if you change the address of the
teleporter-list (as specified by the 16-bit word at #EA05/6).
That is to say:

(a) only Page #EA is marked 'T' on the Memory-screen;

(b) if the teleporter-list is located higher than Page #EA then it
says "All teleporters used" if I try to add one;

(c) if the teleporter-list is located lower than Page #EA then
adding teleporters /does/ seem to work, but does JSWED know when
adding another teleporter would overwrite something vital?

The "all teleporters used" message is a hardcoded check of the
number of teleporters against 45 (see j48telpage.cxx line 196). So
depending what's at the new address you've assigned, it may trigger or
it may not.

 

 

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