arduino-maple /

Filename Size Date modified Message
46 B
First commit of working controller & vmu read and write.
2.7 KB
Logic-analyser-style reads.
695 B
Update wiring diagram
5.0 KB
OMG it works and I didn't even have to do anything weird!
1.6 KB
First commit of working controller & vmu read and write.
206 B
Logic-analyser-style is working.
7.6 KB
OMG it works and I didn't even have to do anything weird!
8.7 KB
Closer to working support for 22-bit PC devices? Still not actually *working* working, though.
63 B
Start support for devices with 22 bit program counters such as the Mega.
17.3 KB
Slight speed-ups and image work
1.6 KB
Slight speed-ups and image work
981 B
Slight speed-ups and image work
240 B
Logic-analyser-style reads.
1.4 KB
Fix image flash bug. Uploading VMS files now works.
5.9 KB
Fix image flash bug. Uploading VMS files now works.
744 B
Slight speed-ups and image work

Wiring

You need to connect the red and white wires (clock and data lines) to two separate ports. I used a breadboard for this, but you could also just solder an extra wire on.

  • Red wire:
    PORTB0 (Pin 8 on Duemilanove)
    PORTC2 (Analogue Pin 2 on Duemilanove)
  • White wire:
    PORTB1 (Pin 9 on Duemilanove)
    PORTC3 (Analogue Pin 3 on Duemilanove)
  • Blue wire: +5V
  • GND (unshielded): GND

Converting images

To display images using the vmu_image program, produce a 48x32 text file with 'x' where you want the set pixels to be. I use imagmagick and go through pgm using this pipeline, which is not pretty but works:

convert mypic.png pgm: |python3 pgmtotxt.py - >mypic.txt