| ArduinoNanoEEPROMProgrammer | ||
| atmega2560-6520-monitor | ||
| atmega-eeprom-programmer | ||
| ATmega-EEPROM-Programmer@a8a8a49cb8 | ||
| bins | ||
| simple-eeprom-programmer | ||
| vbcc | ||
| .gitmodules | ||
| hello-world.bin | ||
| README.md | ||
| vasm | ||
Everything that is needed, software wise, for Ben Eaters 6502 project is here.
At least, my version of it.
vbcc is a compiler/assembler by am man named Volker Barthelmann which supports the 6502.
To assemble a binary use:
vasm6502_oldstyle -Fbin -dotdr blink.s
Currently, I'm using a very basic Arduino Nano + Shift Registers setup to program my eeprom. As such, I can't program an assembled hex file directly to the nano so I use the following command:
hexdump -C a.out | awk '{ print "0x" $2 ", 0x" $3 ", 0x" $4 ", 0x" $5 ", 0x" $6 ", 0x" $7 ", 0x" $8 ", 0x" $9 ", 0x" $10 ", 0x" $11 ", 0x" $12 ", 0x" $13 ", 0x" $14 ", 0x" $15 ", 0x" $16 ", 0x" $17; }'
to parse the contents into something I can use in the arduino program. It's not perfect but it does the trick for now.
I'm going to try and build the following: https://github.com/wagiminator/ATmega-EEPROM-Programmer
I'm going to use through hole 74hc595's, a through hole atmega168p, and a ch340n harvested from one of these https://www.ebay.com.au/itm/392551556268?_trkparms=ispr%3D1&hash=item5b65e564ac:g:70QAAOSw29Zd2erI&amdata=enc%3AAQAGAAAA0OOww3d%2FSXSJb5fzq1jeGxFw5GXD7o%2BM2oDSHyNa8IbTeAvlIGtT78KpcmwzAwSk6yWUrEBEGNhiCkUfcJ0ilufPTplR2sVR26G2TE5%2BPl08BiOz8i0WZjo3y8aMlgkutTm%2FYOnqeK5TYBFkQqPKIAbxEi291Q66jIKgEVSlB%2BU%2Fw8m%2B84gFARgjTvQWFQjf%2FmTSNiNexvcFjUjtHRFZwgaISjmRq%2FjG2WqE0W5gvAVVeFCeA%2FFJBiwSRpL%2BA5UpvO4L4Tsl3ruB5E3cgpKbT2c%3D%7Ctkp%3ABFBMxOaCt4Jg
This all worked by the way, with the caveat that I had neglected to notice the need for a hardware programmer, I just bought a generic AVR ISP called USBasp.