[Coco] Zap 0.0.6 has been uploaded to my drop box

K. Pruitt pruittk at roadrunner.com
Thu Apr 16 14:10:42 EDT 2015


This version supports all functions of the CM17A.

This version adds support for multiple commands on the command line.

This version adds support for dimming and brightening of lamp modules.

To dim a light you would first turn the light on with a A1O command 
(assuming house A, unit 1) and then issue an "A1-" command.  Each subsequent 
"A1-" command dims the light further.  There are about 5 steps between full 
on and when you can no longer see the light.

So entering zap A1O A1- A1- A1- A1- would turn unit 1 of house A on, then 
dim unit 1 in four steps.

Each command takes about 3 seconds to complete.  The program spends an 
enormous amount of time waiting around.  I thought I found a way around 
that, but it didn't work out.  As this in intended to be operated as a 
background task via cron, the time delay won't be noticed too much. 
However, if you want to flash your lights on and off, well this will do it, 
but it will be some very slow flashing.


The .dsk file containing the binary and the source file is located at:

https://www.dropbox.com/s/ls4cw9br2u1w369/zap.dsk?oref=e

and the assembly file alone in .txt format is located at:

https://www.dropbox.com/s/h7od6d4zrvepl53/zap.asm?oref=e





More information about the Coco mailing list