C64 user port to 24 bit address and 8 bit data
This prototype maps the C64's 8 output bits from the user port to 8 data bits + 16 address bits + 8 extended address bits. The Proteus schematic file is: https://github.com/martinpiper/BombJack/blob/master/UserPortTo24BitAddressSimple...
It accomplishes this by using the lower 3 bits (the low nybble) to activate 1 of 8 latches, using a demuxer, that store the upper 4 bits (high nybble) of the data from the user port. The last bit of the low nybble is used to enable or disable the demuxer which causes the latch load clock to transition from low to high, catching the latch to capture the inputs.
Writing a single byte therefore needs up to 16 writes from the C64 side. This is a slow memory bus interface, but does enable a prototype to be constructed on a breadboard and allows the C64 to precisely control the memory bus and write cycle timings for extra debugging capability.
The prototype was tested using a real C64 setting the output user port lines, then testing the correct levels are observed with my trusty 34 channel logic analyser.
The real memory bus interface has more complex logic to enable a single byte to be written to an auto-increment memory address. Which needs about 30 ICs compared to the 9 used for this simple interface.
Get MegaWang 2000 Turbo Edition hardware
MegaWang 2000 Turbo Edition hardware
Retro arcade themed video hardware. Building PCBs using 5 volt 74 series TTL chips to display arcade style graphics.
Status | Prototype |
Category | Tool |
Author | Martin Piper |
Tags | Commodore 64 |
More posts
- SDK V1.0.0.7 available for downloadSep 27, 2023
- New audio board and backplaneNov 09, 2022
- VideoHardwareSDK 1.0.0.6Oct 05, 2022
- Audio hardware with all video layersSep 24, 2022
- Debugging scaled sprites hardwareMay 22, 2022
- New tiles and sprites boardsFeb 05, 2022
- Debugging second characters boardJan 29, 2022
- New V8.0 build and testDec 24, 2021
- Second character layer on C64Oct 26, 2021
- Experimenting with scaled spritesOct 13, 2021
Leave a comment
Log in with itch.io to leave a comment.