6502
hbc-56
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
6502
- Minimal bare-metal RISC-V project
-
Running Apple 1 software on a breadboard computer (Wozmon) [video]
The Apple 1 ROM is quite a tight piece of coding. Just 256 bytes which implements basic console IO, and memory editing in hex. And still two bytes left over.
One version with lots of comments: https://github.com/jefftranter/6502/blob/master/asm/wozmon/w...
You can see a classic assembly language space optimizing trick at PRBYTE. It first prints the upper half of the byte in hex with call to the PRHEX procedure, then falls through to PRHEX again to print the second half. Two entry points to a common routine.
-
KIM-Venture -- adventure game based on Colossal Cave written for KIM-1 computer (source code available)
The First Book of KIM programs
- It's quite BASIC
-
Playing Cosmic Conquest, a old-style real-time strategy game, on my breadboard 6502
For a command line program I started out with getting WOZMON working and then began adding more capabilities similar to the Apple II system of old. I got tired of adding one-off functionality and discovered Forth when looking at programming languages suited for systems with limited resources. Look into TaliForth2 to get up and running fast on your 6502. The full program requires 24k ROM but can be slimmed down to fit in 16k pretty easily. I was inspired so I wrote my own Forth 2012 Standard version over the summer.
-
Hey anyone tried to write an assembler for the 6502?
Jeff Tranter has a github with a ton of stuff 6502, including a mini assembler. Many others out there as well.
hbc-56
-
Alternative designs for a keyboard interface?
I use a PIC16F microcontroller. Schematics and PIC code in my HBC-56 repo. https://github.com/visrealm/hbc-56
-
After Wozmon I want to create a game - 6502
If you're keen to add a VDP as u/production-dave suggested, I have schematics and a bunch of code in my HBC-56 GitHub repo
-
using an atmega micro-controller for managing multiple interrupts?
Schematics are here https://github.com/visrealm/hbc-56/tree/master/schematics/6502
-
TSM9918A | Questions asked by a friend without Reddit
The schematics for my TMS9918A display card are in my github repo. It uses a single SRAM instead of the original DRAMs. The circuitry between the TMS9918A and the TV is just a simple transistor follower circuit (shown in the schematic): https://github.com/visrealm/hbc-56/tree/master/schematics/tms9918
-
Small PS2 adapter
So this is really just cobbled together from this project by u/visrealm https://github.com/visrealm/hbc-56
-
Is my new second hand ps/2 keyboard broken?
I've actually just ordered the perix perrino 409 that sends the AA after self test. The HP keyboard definitely doesn't seem to be working. My plan is to interface it with a PIC microcontroller by copying the setup here: https://github.com/visrealm/hbc-56. from u/visrealm
-
6522 Shift register?
It looks like a shift register can be used in connecting a NES controller but likely isn't the full story. Check out u/visrealm's HBC build. He uses separate shift register chip to connect to a NES but maybe the 6522 can be used in a similar way.
-
After watching Matt Heffernan's Mandelbrot Battle Royale, I thought I'd give it a go on my HBC-56 (65C02 @ 3.6864MHz + TMS9918A). Four modes: 32x24, 64x48, 64x192 and 256x192 (sort of). . I still need to work on improving color bleeding in the final Graphics II mode. A bit of fun.
It's Assembly. https://github.com/visrealm/hbc-56/tree/master/code/6502/mandlebrot
-
4 cards down, 1 to go. No real issues since the R/W switch on the CPU card.
I have most schematics, software, emulator, etc on github. https://github.com/visrealm/hbc-56
-
Five new cards arrived today. Hopefully I didn't make too many mistakes...
These are for a 6502 build. https://github.com/visrealm/hbc-56
What are some alternatives?
Cosmic-Conquest-1982 - (Historic) Resurrecting one of the first real time strategy (RTS) games from 1982. Written in Forth.
TMS9918A - TMS9918A video card for RC2014
py65 - Emulate 6502-based microcomputer systems in Python
RomWBW - System Software for Z80/Z180/Z280 Computers
NES-dev - A simple NES game written in 6502 assembly
6502 - DB6502: 65C02 based computer inspired by BE6502
sixty5o2 - Micro Kernel / Bootloader for Ben Eater's 6502 Computer
vrEmuTms9918 - TMS9918A emulator library (C99)
TaliForth2 - A Subroutine Threaded Code (STC) ANS-like Forth for the 65c02
spectrum-desolate - 🕹️ Ported Desolate game from TI-83 Plus to ZX Spectrum
msbasic - Microsoft BASIC for 6502 (Commodore, Apple, KIM-1, AIM-65, OSI, ...)
vrEmuLcd - Character LCD emulator library (C99 engine, web front-end).