Hello. Simon 'ere. These sources are hideous. The formatting is dreadful.
There are reasons...

When Neil, Martin and I started writing this game back in 1982(!) we were using
a development system that was a home-brew computer I'd designed, running an OS
largely stolen from a Nascom and using an assembler that Neil had written.
These were very early days indeed for computer games and microprocessor-based
software development ;)

The development machine had 48K of memory. The editor/assembler (an early version
of Zeus) tokenised the source code in order to save room, and the object code was
transferred directly to the target machine's memory via a fast parallel hardware
interface. This put us well up on other games developers of the era who were often
writing code directly on the target machines themselves... Urgh.

But even so Halls was a large source, so although we started out with meaningful
labels and neat spacing as we got towards the end of the project we were being
seriously hampered by the memory limitation of the development machine. This meant
we had to start doing all sorts of god-awful things to save room in the source.

First off all the long labels became converted to terse, short ones and all of
the comments were removed. That was painful. Then finally all the white-space had
to be shrunk - this was desperate stuff! Zeus was already compressing any number
of multiple spaces to only two bytes in the source, but even so we had so little
room left we had to eliminate any extra space. Finally, any "defb 0" was replaced
by "nop" - this was hideous, but even with Zeus's compression "defb 0" took three
bytes - one for the tokenised "defb", one for the space and one for the "0". But
"nop" was tokenised down to a single byte...

But somehow we managed to write Halls, entirely in assembler, in a small number of
weeks and release a complex game which was very reliable. It was a ground-breaking
game - we (Chris Clark, I think) coined the term "arcade-adventure" to describe it
and one day I will bore everyone by writing about some of the things that happened
when we first showed it to people... But not now, I'm extremely tired. What was that?
Oh. Charming...

Now we move forward 28 years to the days where people start emulating old games on
touch-screen devices, and Halls has a problem in that it has far too many controls.

What? No, nobody ever said that before. Never... Anyway, the wise had reckoned the
number of the keys, and the number of the keys was n-n-n-nineteen. Ideally we now
want five... So, I decided to put a couple of sessions into re-writing it to see
if I could eliminate a few keys, and then went on to add a (slightly) nicer looking
front-end and some options and so on. So now we have a version that plays better
with fewer controls.

What I haven't done is spent much, if any, time tidying up the sources. So what
you see is representative of a very crammed exercise from 1982/3, and nothing like
the sort of source design-design produce under normal circumstances. I felt that
needed to be said. Ah, vanity...

So, most of this was written more than half my life ago, by three people having
fun. And it has been fun to re-visit the code... Enjoy...

And remember - Things are still fundamentally better at Halls than you are ;)

Halls is (c) 1983 .. 2015 Simon Brattel, Neil Mottershead and Martin Horsley.



To assemble these sources you need Zeus.exe - it is free and can be downloaded
from:

http://www.desdes.com/products/oldfiles/zeus.exe

All you should need to do is put all these files in a single directory, with
Zeus.exe if you want - run zeus.exe and open "front.asm" (this file)

Edit the line below to point the output directory somewhere safe on your
system and then hit the assemble button. That's it...


Oh - if you do anything interesting with these sources, let me know:
crem@desdes.com should reach me. Or search ye webbie for "Simon Brattel"
and if I've died or something similarly inconvenient you're stuffed. And
so, presumably, am I.

Note: Amuses me that the changes I've made to this are in much the same
rotten style as the original. Poor formatting must be contagious...

---------------------------------------------------------------------------------------*/

; Make sure the assembler is competent enough

        if ZEUSVER < 21 ; Understands the emulation options
          zeuserror "You need a more recent version of zeus to use these sources, please update it."
          zeuserror "http://www.desdes.com/products/oldfiles/zeus.exe"
        endif


2015 Vega Version

This version of Halls is released for the Spectrum Vega and uses a drastically reduced set of keys:

It needs

Z		Left
X		Right
N		Up
M		Down
SPACE		Justify screen
L		Fire Lightning (main fire button)
F		Fire Fireball (Secondary fire button)
1		Show status
D		Drop treasure

The following keys are used but are not required

C		Close doors
S		Sword
P		Used in a secret editing mode
2		A joke enable key

	
	
	