First program works! In a cycle I'm doing ADD+ADA operations on 25Hz!
Program:
0: NOP
1: ADA+0xFF00 - set Address register to 0xFF00
2: ADD+1 //increment value in current memory cell
3: ADA+1 //shift current memory cell number
//repeate last two instruction 16 times, because writing inner loops in brainfuck is brainfuck enough :)
33: ADA-0xF //return AP to 0xFF00 memory cell
34: JNZ-0x21//if current cell is Not Zero, return IP to number 1 (which would be skipped due to pc arch).
All instructions are repeated.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Excellent! Congratulations! Is it reliable at 25Hz? That's quite fast.
The sound is impressive. You feel the machine working hard.
I'm a big fan of your work. (I would have prefered to see progress on the Decatron computer, but it doesn't matter).
It's very rewarding when you integrate/assemble all parts together, and everything works like expected, like a charm. I'm sure you currently experience this feeling after several month of hard work.
Are you sure? yes | no
Thanks!
It's fully reliable on 25Hz - Maximum frequency is 40Hz, but "Hello world" application works unstable on this frequency - need to do some improvements to fix.
Yesterday I launched "Hello world!" application, written on brainfuck (code from Wikipedia) and it works perfect. And yes - when I saw "Hello world!" in console output I was happy - Hard work is done and now I just need to polish some parts and put "Done" label to this project and became working on Dekatron computer :)
Are you sure? yes | no
I understand, I try to work like you : I try to finish one big project before really beginning a big new project (even if I accept collecting parts and ideas for future projects).
Maybe I will come back to "homemade CPU - computer" in a few months... if yes, it would be a fully transistored CPU-computer.
Are you sure? yes | no
Congratulations, that is truly mesmerising!
Are you sure? yes | no
thanks a lot!
Are you sure? yes | no