6502 assembly hack @ next workshop
I've been spending a lot of time lately on learning more LOGO programming for the Lego/Apple II kit. It does some very cool things, but we need it to do something new. Read on... Lego made a box that communicates between the computer and their motors, sensors, and lights. The box has eight ports. Ports 0-5 are for anything. Ports 6-7 are reserved for sensors. You can talk to any port, but oddly you can only listen to ports 6-7. There is no way to tell LOGO, "What is the status of port 3?" All you can do for ports 0-7 is switch them on/off and adjust the voltage (SETPOWER command from 1 to 7 for full power). Dean has been very helpful when I have programming questions. We tried working around the limitation by making a variable, setting it to 0 or 1, and then checking the variable instead of the port when necessary. But it doesn't work (for various reasons; no need to explain them here.) I had an idea. Why can't we hack Lego's version of LOGO to add this command? Dean said it possible. Disassemble the code, identify where the ports are turned on/off, etc. .... the existing command to read ports 6-7 is LISTENTO (and also a short version LTO) so I propose a new command LISTENPORT or the short version LTP). I will bring the setup to the January workshop and Dean (and Drew) are going to work on it. Anyone who digs Apple 6502 assembly is welcome to help.
On 12/30/2016 01:44 PM, Douglas Crawford via vcf-midatlantic wrote:
That's a cool idea! It would be great to see some Apple II hacking.
I've been using cc65 (and da65) for my Atari. The da65 has some very nice features which might be helpful. I've not attempted to do any Apple II disassembly. I've only worked with it for the Atari and the Omnimon XL ROM. -- Linux Home Automation Neil Cherry ncherry@linuxha.com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies
participants (3)
-
Douglas Crawford -
Evan Koblentz -
Neil Cherry