
RamBanks
snorklerjoe/useful6502
A homebrew 65c02s-based computer and custom operating system, with a handful of modern features.

A homebrew 65c02s-based computer and custom operating system, with a handful of modern features.
Homebrew6502Project is an open-source printed circuit board by snorklerjoe, from the snorklerjoe/useful6502 repository on GitHub, published under the MIT licence. It is a 4-layer board of 127.6 × 98 mm with 275 parts on 345 nets, routed with 4,464 tracks and 1,864 vias.
It is built around the SN74LS07D, 74HCT125DB and 74AHC2G00DC, with the CD74HC4002M96, 74AHC08D-Q100J and 74HC04D among its other parts. Its parts include 90 resistors, 80 capacitors, 40 ICs, 17 connectors and 7 diodes. It belongs with the retro computing and games boards and the PIC boards of this library.
The goal of this project is to build a 6502-based portable machine, running my own operating system.
See the complete implementation plan and progress here: Implemementation Plan
PCB assembled, PIC is able to load code for the 6502 to execute, the 6502 can read/write to the 2-port SRAM.


These are some general points; for the full hardware specification, see here: Hardware Specification
I want the following end goals to categorize the machine as "useful":
Faults will be detected by hardware and trigger a RESET, and the kernel will terminate the process.
A hardware timer using the 65c22 will be used to interrupt processes with an NMI. The kernel will maintain a global clock for user timing needs.
The PIC peripheral coprocessor may, perhaps, feature a watchdog timer to restart the kernel in the event of a crash.
There are many resources that have proven themselves indispensible to the progress of his project.
Here is a small subset of such resources:
| Qty | Value | Footprint | References |
|---|---|---|---|
| 37 | 33 | Resistor_SMD:R_0402_1005Metric | R106, R108, R109, R110, R111, R112, R113, R114, R115, R116, R117, R118, R119, R120, R121, R122 +21 |
| 23 | 10k | Resistor_SMD:R_0402_1005Metric | R101, R102, R103, R104, R105, R107, R216, R217, R401, R402, R403, R404, R801, R802, R1001, R1002 +7 |
| 22 | .1u | Capacitor_SMD:C_0402_1005Metric | C102, C104, C105, C106, C208, C215, C218, C402, C404, C514, C516, C701, C1001, C1007, C1010, C1011 +6 |
| 17 | .01u | Capacitor_SMD:C_0402_1005Metric | C101, C103, C202, C205, C209, C213, C216, C217, C405, C802, C803, C804, C805, C806, C807, C1002 +1 |
| 16 | 0.1u | Capacitor_SMD:C_0402_1005Metric | C206, C211, C508, C509, C512, C513, C515, C517, C518, C519, C520, C521, C522, C601, C602, C1012 |
| 11 | 10u | Capacitor_SMD:C_0402_1005Metric | C503, C504, C505, C506, C507, C510, C511, C523, C1003, C1004, C1009 |
| 9 | 1u | Capacitor_SMD:C_0402_1005Metric | C207, C210, C212, C214, C401, C403, C603, C604, C1008 |
| 8 | 0 | Resistor_SMD:R_0402_1005Metric | R301, R302, R303, R304, R305, R306, R307, R308 |
| 7 | LED | LED_SMD:LED_0402_1005Metric | D101, D401, D501, D502, D503, D601, D901 |
| 5 | 4.7k | Resistor_SMD:R_0402_1005Metric | R204, R215, R219, R220, R221 |
| 5 | 470 | Resistor_SMD:R_0402_1005Metric | R405, R501, R502, R601, R901 |
| 5 | FaultClock Sel | Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm | JP102, JP103, JP105, JP106, JP107 |
| 5 | SN74ABT574APWR | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U802, U803, U804, U805, U806 |
| 5 | SolderJumper_3_Bridged12 | Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm | JP104, JP601, JP602, JP1006, JP1007 |
| 4 | 100 | Resistor_SMD:R_0402_1005Metric | R213, R214, R218, R505 |
| 4 | 74AHC2G00 | Package_SO:TSSOP-8_3x3mm_P0.65mm | U107, U503, U701, U702 |
| 4 | CD74HC4002M96 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U105, U507, U704, U705 |
| 4 | Conn_02x05_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical_SMD | J202, J203, J205, J206 |
| 4 | Jumper_2_Small_Bridged | Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm | JP101, JP109, JP201, JP901 |
| 4 | TestPoint | TestPoint:TestPoint_Pad_D1.5mm | TP101, TP105, TP501, TP502 |
| 3 | 74AHC08D-Q100J | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U110, U703, U706 |
| 3 | 74HC04 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U101, U109, U1002 |
| 3 | NOPOP | Resistor_SMD:R_0402_1005Metric | R201, R202, R203 |
| 2 | 1 | Resistor_SMD:R_0402_1005Metric | R506, R507 |
| 2 | 100n | Capacitor_SMD:C_0402_1005Metric | C501, C502 |
| 2 | 510 | Resistor_SMD:R_0402_1005Metric | R134, R504 |
| 2 | 74ACT139 | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U801, U1001 |
| 2 | 74AHC2G32DP | Package_SO:TSSOP-8_3x3mm_P0.65mm | U508, U510 |
| 2 | 74HC74 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U102, U103 |
| 2 | Conn_02x02_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Vertical_SMD | J101, J104 |
| 2 | Conn_02x16_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x16_P2.54mm_Vertical | J301, J302 |
| 2 | Jumper_2_Bridged | Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm | JP1001, JP1005 |
| 2 | Jumper_2_Small_Open | Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JP202, JP801 |
| 2 | NOPOP | Capacitor_SMD:C_0402_1005Metric | C203, C204 |
| 2 | SN74CBT3245CDBR | Package_SO:SSOP-20_5.3x7.2mm_P0.65mm | U111, U112 |
| 2 | SN74LS07 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U106, U201 |
| 1 | +5VDC | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J501 |
| 1 | 10k | Potentiometer_SMD:Potentiometer_Bourns_TC33X_Vertical | RV1001 |
| 1 | 120 | Resistor_SMD:R_0402_1005Metric | R503 |
| 1 | 2N7002K | Package_TO_SOT_SMD:SOT-23 | Q1001 |
| 1 | 300 | Potentiometer_SMD:Potentiometer_Bourns_TC33X_Vertical | RV501 |
| 1 | 4.7u | Capacitor_SMD:C_0402_1005Metric | C201 |
| 1 | 74HC193 | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U1004 |
| 1 | 74HC595 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1003 |
| 1 | 74HC73D | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U505 |
| 1 | 74HCT125D | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U401 |
| 1 | BS_CTRL | Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JP204 |
| 1 | BS_CTRL2 | Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm | JP205 |
| 1 | CE_CTRL | Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JP208 |
| 1 | CY7C146-25JC | custom:845221B1RKTP | U202 |
| 1 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical_SMD | J403 |
| 1 | I2C | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J204 |
| 1 | ICSP Header | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J201 |
| 1 | ICSP modeset | Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm | JP203 |
| 1 | INT | TestPoint:TestPoint_Pad_D1.5mm | TP201 |
| 1 | KMDGX-6S-BS | footprints:KMDGX6SBS | J1006 |
| 1 | LCD_ENs | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J1002 |
| 1 | LD1117S33TR_SOT223 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U502 |
| 1 | LD1117STR | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U501 |
| 1 | M95512-Axxx-MF | Package_SO:TSSOP-8_4.4x3mm_P0.65mm | U402 |
| 1 | MemLock | TestPoint:TestPoint_Pad_D1.5mm | TP102 |
| 1 | Micro_SD_Card | Connector_Card:microSD_HC_Wuerth_693072010801 | J402 |
| 1 | NOPOP | Crystal:Crystal_SMD_2016-4Pin_2.0x1.6mm | Y201 |
| 1 | OE_CTRL | Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm | JP206 |
| 1 | PIC16F15385-xPT | Package_QFP:TQFP-48_7x7mm_P0.5mm | U203 |
| 1 | Parallel LCD | Connector_IDC:IDC-Header_2x08_P2.54mm_Vertical_SMD | J1001 |
| 1 | RW_CTRL | Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm | JP207 |
| 1 | RamClk Sel | Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm | JP108 |
| 1 | UART | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J210 |
| 1 | UART pin sel | Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm | JP209 |
| 1 | W65C02SxPL | Package_LCC:PLCC-44 | U104 |
| 1 | W65C22SxPL | Package_LCC:PLCC-44 | U108 |
| 1 | phi1 | TestPoint:TestPoint_Pad_D1.5mm | TP109 |
| 1 | phi2O | TestPoint:TestPoint_Pad_D1.5mm | TP108 |
The 272 most common of 275 parts.

snorklerjoe/useful6502
A homebrew 65c02s-based computer and custom operating system, with a handful of modern features.


roberto314/Unicomp3
A modular 8-bit Computer able to recreate (nearly) every Retro computer of the late 70s to mid 80s.






It measures 127.6 × 98 mm and has 4 copper layers, 1.6 mm thick.
275 parts, built around the SN74LS07D, 74HCT125DB, 74AHC2G00DC and CD74HC4002M96. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the snorklerjoe/useful6502 repository on GitHub, at the commit this page was made from: the board is kicad_project/Homebrew6502Project/Homebrew6502Project.kicad_pcb and its schematic kicad_project/Homebrew6502Project/DMA_cpu_board_interface.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).