
I have been working on the code for this thingamajig, and so far it is going well. It looks like there will be plenty of flash memory available for the entire interpreter.
So far what I have accomplished:
- A basic menu system.
- A small function to blink out VCC voltage: LED1 blinks the volts, LED0 blinks the fractions of voltage
- Load and save to 3 eeprom slots. The loading and saving is working great, but somewhere in there the bits in each byte are getting reversed, so the intrpreter is not working yet. This should be easy to find and fix.
- The interpreter is about 80% written. I will have to do some major debugging on PC, then port to ATTINY85, because debugging with only 2 LEDs is a headache. I am adding an error catching system that if theres a fatal error, the device will enter an infinite loop blinking the binary error code.
So far this has been a great project for me to practice C coding and learn more about Binary and the ATTINY85.
Writing a program on this device entails having a notebook and a printout of the OP codes I invented, writing the program on paper, then punching it in bit by bit.
In the future I plan on makining a version of this device with shift registers or decade counters so all the bits in each byte will be visible at once, but that wouldn't end up being so tiny.
As this is a work in progress and I am learning as I go I am always open to comments, suggestions, or ideas, but so far I believe I have the entire scope of the project tacked down in my mind and on paper.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.