Skip to content

kirbyfrugia/c64eeprom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c64eeprom

With this code and the related hardware changes, you can write assembly on the C64 using Turbo Macro Pro and send the assembled code via rs232 to an arduino-based eeprom programmer that you build yourself. The programmer then writes the bytes at the location you specify directly to the eeprom. Check out this Youtube video if you want a full overview, including a walkthrough of the code.

Motivation: I'm building one of Ben Eater's 6502 computers. I was waiting on some parts and decided to build one of his eeprom programmers. Instead of doing it stock, I decided to add some enhancements as part of my learning exercise.

eeprom programmer

The eeprom programmer was enhanced to:

  1. Write to both AT28C256 and AT28C16@DIP24 chips.
  2. Allow selection between the above chips, which can be on the board at the same time.
  3. Disable Software Data Protection (SDP).
  4. Poll the chip to detect when data was actually written rather than sleep unnecessarily long.
  5. Log messages via an on-board OLED screen.

my c64 my userport breakout

I wanted to be able to write assembly code using Turbo Macro Pro (TMP) on my c64 rather than using python. With the c64 code in this repo, you can:

  1. Write code using TMP and assemble to disk.
  2. Wire up the c64 user port to the eeprom programmer.
  3. Send data over RS232 from the c64 to the eeprom programmer.
  4. Check for errors in sending.

Note: I'm a noob on a lot of this stuff, so I probably did stupid things. Oh well, I'm learning.

Links and thank you's

About

C64 to Arduino eeprom programmer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published