65C02 Plus ATmega4809 Equals Colin Maykish's VR65C02, a Functional 2-Chip PC
Colin Maykish developed the VR65C02, a two-chip computer combining a 65C02 microprocessor and ATmega4809 AVR microcontroller, enabling 6502-native code execution with a clock speed of 183 kHz.
Read original articleColin Maykish has developed a two-chip, eight-bit computer called the VR65C02, which combines a 65C02 microprocessor with an ATmega4809 AVR microcontroller. The 65C02 serves as the CPU, executing 6502-native code, while the ATmega4809 emulates the RAM, ROM, and I/O devices necessary for the system's operation. The ATmega4809, utilized in the updated Arduino Nano Every, features 6 kilobytes of RAM and 48 kilobytes of Flash memory. The process of programming the VR65C02 involves converting 65C02 code into a binary file, which is then transformed into a C-header file for use in an Arduino sketch. The AVR's emulation capabilities allow it to simulate the bus control signals and manage the RAM and ROM as large arrays. The system operates at an effective clock speed of 183 kHz, which is a limitation due to the emulation process. Future enhancements could include using additional GPIOs for chip selection to facilitate data transfer to external RAM, potentially increasing the clock speed. The project resources, including the build script and Arduino sketch, are available on GitHub, along with detailed documentation on the interaction between the AVR and the 65C02.
- Colin Maykish created the VR65C02, a two-chip computer using a 65C02 microprocessor and an ATmega4809 AVR microcontroller.
- The ATmega4809 emulates RAM, ROM, and I/O devices, allowing the 65C02 to run 6502-native code.
- The effective clock speed of the VR65C02 is 183 kHz, limited by the emulation process.
- Future improvements may include external RAM integration to enhance performance.
- Project resources and documentation are available on GitHub.
Related
Programming Like It's 1977
The article explores programming games on the Atari VCS, a pioneering hardware platform from the 1970s with constraints that inspired creativity. Coding in 6502 assembly language offers a retro experience. The Atari 2600+ release supports old hardware for modern gaming. Learning on the Atari VCS reveals early programmers' challenges and solutions, fostering creativity.
Minimal 64x4 – DIY computer with 4x the processing power of a C64 or Apple II
The GitHub repository offers assembly code for the 'Minimal 64x4 Home Computer', including an operating system, tool-chain, games, and demos, with users encouraged to ask for specific details.
I don't know how CPUs work so I simulated one in code (2019)
The author simulated an 8-bit CPU to understand computer architecture, learning about bits, ALU functions, and I/O communication, while planning to explore advanced topics like RISC architectures and modern CPU features.
Introducing the RP2350
The RP2350 microcontroller upgrades the RP2040 with two Cortex-M33F cores, enhanced DMA, and PIO capabilities, supporting QSPI PSRAM and new variants with built-in flash, outperforming STM32H7.
CVBasic v0.6.0: The retro Z80 BASIC compiler now targets 6502
CVBasic is a cross-compiler for BASIC, version 0.6.0, supporting retro gaming platforms. It allows program creation up to 1 MB and includes essential files in its repository.
Related
Programming Like It's 1977
The article explores programming games on the Atari VCS, a pioneering hardware platform from the 1970s with constraints that inspired creativity. Coding in 6502 assembly language offers a retro experience. The Atari 2600+ release supports old hardware for modern gaming. Learning on the Atari VCS reveals early programmers' challenges and solutions, fostering creativity.
Minimal 64x4 – DIY computer with 4x the processing power of a C64 or Apple II
The GitHub repository offers assembly code for the 'Minimal 64x4 Home Computer', including an operating system, tool-chain, games, and demos, with users encouraged to ask for specific details.
I don't know how CPUs work so I simulated one in code (2019)
The author simulated an 8-bit CPU to understand computer architecture, learning about bits, ALU functions, and I/O communication, while planning to explore advanced topics like RISC architectures and modern CPU features.
Introducing the RP2350
The RP2350 microcontroller upgrades the RP2040 with two Cortex-M33F cores, enhanced DMA, and PIO capabilities, supporting QSPI PSRAM and new variants with built-in flash, outperforming STM32H7.
CVBasic v0.6.0: The retro Z80 BASIC compiler now targets 6502
CVBasic is a cross-compiler for BASIC, version 0.6.0, supporting retro gaming platforms. It allows program creation up to 1 MB and includes essential files in its repository.