I played around with the Control It software and the Deltronics BASIC examples, and quickly realised neither worked with Tube enabled. The following link helped me to understand why that was, and enabled me to write a small test program in assembly:
EDIT: note the link is for the user port, I am using the parallel port for outputs which uses different addresses, but same principal.
With that done, I moved onto the Tube Elite source, and with a bit of help was able to build and run it:
My plan was to add outputs for the following:
Code: Select all
# val description
1 1 Condition Green } RGB LED should make yellow when both outputs on
2 2 Condition Red }
3 4 Cabin Temp High / Altitude Low
4 8 Laser Temp High
5 16 Energy Bank 1
6 32 Energy Bank 2
7 64 Energy Bank 3
8 128 Energy Bank 4
...and I have just about achieved that. Poor quality but you might be able to make out what is happening here (output #1 is the bottom LED):
I need to get some parts to make a box to sit on top of the monitor housing the LEDs so they are easy to see. I also need to finish off the code (at the moment when you die, the energy bank and condition green lights come back on), and when done will add the required code changes here.
Is anyone interested in this? I'm guessing very few people have a Deltronics or similar box, although it shouldn't be too hard to put together a DIY one...
Oh, and I also added cassette motor control so I can have the Blue Danube playing when the docking computers are on