Hi all,

For some strange reason I decided to have a look at my old sources and
although Comet was a treat at the time, it simply is underpowered in
today's world. So I thought I'd have a shot at Andrew's pyz80. Here are
the steps to get it working on WinXP:

1. the downloaded file, although being shown as pyz80.tgz is
miraculously downloaded as pyz80.tar - use 7-zip to open this file.
(Ultimate zip totally botched this, resulting in fruitless attempts at
running the .tar from python). Also ensure that you browse PAST the
[contents] 'file' since Windows does not like this. The files you need
to extract are (at least) pyz80. 

2. download and install python (I used 2.51) 

3. from a command prompt ensure that python is in your path (set
path=%path%;c:\python) and then invoke as:

python pyz80 pang.z80

In this case pang.z80 is my text source file. I have given up trying to
use drive letters etc, so simply ensure that pyz80 and pang.z80 are
located in the same directory. 

Hurrah - a pang.dsk image results containing the compiled code. 

The easiest way of getting your current source files from SimCoupe to
the outside world is to print them in Comet with the printer set to a
text file in SimCoupe (this has been mentioned before). Which
automatically adds an item to the feature list for SimCoupe: detect that
Comet is printing a file and run at maximum speed ;-)

Ok, so far so good.

Now, my 'functional' pyz80 problem:

pass  1 ...
Error: Allocated invalid space < 0 bytes
pang.z80:414 "DEFS $/256+1*256-$"
Error: OpCode not recognised
pang.z80:414 "DEFS $/256+1*256-$"

These statements are used to align blocks of code to 256 byte
boundaries. 

Regards,

Stefan

Reply via email to