ORG spare ;Spare space, eg the copy protection
;subroutine
DESC: LD A,(ROOM)
AND 0C0h
LD E,1
JR Z,SEL1
CP 40h
LD E,3
JR Z,SEL1
INC E
CP 80h
JR Z,SEL1
LD E,6
SEL1: LD BC,7FFDh
OUT (C),E ;Select memory bank 1, 3, 4 or 6.
LD A,(ROOM)
OR 0C0h
LD H,A
LD L,0
JP RESUME ;Resume standard room drawing routine
and inserting a JP DESC at 8912h, the start of the standard room
drawing routine? Or does the design of JSW preclude more than 63 rooms?
You'll notice I am using RAM banks 1,3,4 and 6 to hold the rooms. This
leaves Banks 0 and 7 for any other hackery people might like to think of (128k
music? Built-in editor?)
--------------------------- Simon Magus SHADOW WOOD 8
John Elliott | \o_~'~ \|/ _o \|/
CHAOS in a sig... | | ~^~ ==@ V |\ V
--------------------------- /| //\\ _/@ .|. A .|.
I've tried it, and it seems to work. Version 0.00 hacklevel 1 is
obtainable from my homepage <http://sable.ox.ac.uk/~sjoh0132/> and
is in semi-working order (you can play it, but it's really meant for
programmers and JSW game designers).
What it has:
* up to 256 rooms (currently 128 are loaded).
* Title screen stored as a bitmap, so it can be easily changed.
* 8-bit WRITETYPER mode.
What it hasn't:
* 128k music. Ian Collier's TUNE.BIN looks ideal for the task, but I need
.TUN files for the two sets of music.
* A better way of getting about than WRITETYPER. The way the keyboard is
wired up makes WRITETYPER rather unusable.
* Future versions may have a title screen with animated attributes.
Suggestions are welcome.
I've always wondered about your .sig. Does it change when I'm not
looking? How many turns have there been, and are there only 12 squares?
Impressed,
(NOT THE) Matt.
--
---Matthew Smith,College of St. Hild and St. Bede,Durham University,England---
: I've always wondered about your .sig. Does it change when I'm not
: looking? How many turns have there been, and are there only 12 squares?
This is the seventh version of my Chaotic .Sig. I'll have to think of
the eighth version soon. As for the number \|/ of squares, it's best to
keep within the 4x80 limit, and I don't par V ularly want the game escaping
into my postings...oh dear. .|.''--,,
'--,,
--------------------------- '--,,
John Elliott | \o_~'~ \|/ \o \|/