Inspired by the brilliant Ben Eater videos about building a 6502 computer, I’d thought I would have a go.
I have a bit of a soft spot for the 6502, having learned 6502 assembler on the Emma II 6502 trainer board when I was at college. The board is made by L.J Electronics Ltd. More info can be found here.
Emma II |
Continuing with the the 6502 trainer board theme, I have an EPE 6502 Micro Lab. The Micro Lab was an Everyday Practical Electronics Magazine project for the Teach-In '93 magazine series during 1993. The Micro Lab hardware was designed by Keith Dye BEng (Tech) AMIEE and the Micro Lab Monitor software was written by Geoff MacDonald BSc (Hons) AMIEE.
Micro Lab |
Micro Lab Technical Specifications
Hardware | |
---|---|
Microprocessor | 6502 8 bit |
Clock speed | 1 MHz |
Power | 5V DC |
SRAM | 32KB with battery backup |
EPROM | 32KB |
Analogue Input | 0-2.5V accurate to 0.01V |
Analogue Output | 0-2.5V accurate to 0.01V |
Displays | 16 x 2 LCD with variable contrast 7 segment LED 8 data LEDs |
Keyboard | 20 keys, interrupt driven 8 DIP switch data inputs Reset switch |
I/O Ports | 65C22 VIA providing: |
Anyway I digress...
Clock Module
I built the clock module first, this is based on Ben Eater's clock but I only built the first part of his circuit. It uses the classic 555 timer configured in astable mode to provide the clock pulse. The clock is adjustable-speed (from less than 1Hz to a few hundred Hz). All computers require a clock pulse, this triggers the processor to perform each instruction.
The CPU
Connecting up the CPU
W65C02 pinout |
- Pin 21 to ground and 5V to pin 8 will power the 6502.
- Pins 2, 4 and 6 are tied high through 3.3K pull-up resistors as does pin 38, Set Overflow(SOB) and pin 36, Bus Enable(BE)
No comments:
New comments are not allowed.