65c02_sbc

Public

rprouse/65c02-sbc

Loading…

Description

Imported from GitHub: rprouse/65C02_SBC · commit 7280d9f · license MIT

Description

Assembly code for my 8-bit 65C02 based breadboard computer

README

8-Bit 65C02 based Computer

This repository contains assembly code for the 65C02 based 8-bit computer I am building on a breadboard. I started out writing the assembly and compiling it using vasm because it is portable to many different CPUs including the Z80 which I also program for. I recently switched to using cc65 because it allows me to specify the memory layout of this machine and ships with the memory layouts of many more machines like the VIC20, C64, Commander X16, Atari consoles, etc.

The breadboard version of this computer is based on the design by Ben Eater. If you are interested in following along, I highly recommend his video series.

Computer build on 2021-05-06

After completing the breadboard version, I found an updated version with two VIA chips, a 6551 based ACIA chip for serial communications and a PS/2 keyboard port with an ATtiny4313 based keyboard controller by Dawid Buchwald who writes about the designing the computer on Hackaday.io.

I had boards made by PCBWay.com and built a version of the computer based on David's design. Much of the software here started out being written by David.

Computer build on 2021-05-28

Memory Map

SegmentBE6502DB6502Comment
RAM0x0000-0x3FFF0x0000-0x7FFF
VIA10x9000Connected to keyboard/LCD/blink LED in my build
VIA20x60000x8800Can be used to run Ben's programs
ACIA0x8400
ROM0x8000-0xFFFF0xA000-0xFFFFFirst 8K are not accessible, but need to be burned to the chip

16x2 LCD addressing scheme

0x000x010x020x03...0x0F
0x400x410x420x43...0x4F

20x4 LCD addressing scheme

0x000x010x020x03...0x13
0x400x410x420x43...0x53
0x140x150x160x17...0x28
0x530x540x550x56...0x68
Comments

No comments yet. Be the first to ask about this board.

Askabout this board