VOGONS


First post, by GigAHerZ

User metadata
Rank Oldbie
Rank
Oldbie

I've been long thinking about creating my own personal computer as if the IBM PC never happened and i want to be the "one-man-band" creating everything from hardware to software. I just feel that this is a journey i want to go through and experience.

For long time (and slightly even today) i've been thinking whether it should be Z80 or 6502 based machine. The beauty if 6502 is extreme simplicity, while Z80 can do some neat tricks. (Like LDIR instruction for example) Z80 also has CP/M already present, if i ever want to go that route.

Then i found the Olimex Neo6502: https://www.olimex.com/Products/Retro-Compute … source-hardware
And what i saw was that it is basically just 2 components: 6502 as retro CPU + RP2040 as "software defined machine". Basically all pins from 6502 connect to RP2040 and so you can emulate whatever peripherals in software inside RP2040.

As it does bring out all 6502 pins to a header, you can gradually bring different parts of devices out from software into real-world hardware, until there's nothing left in the RP2040.

It looks like this is exactly what i would need to start building my machine. I'm a software engineer, so starting with hardware that is defined in software definitely helps to start with the project. I have already acquired a bunch of GAL chips that would eventually replace some of the "chipset" i'm going to have, but there's quite a bit of time to go until i get there.

My main inspiration is this amazing video series from John: https://www.youtube.com/watch?v=oekucjDcNbA&l … AEdgSQ4cz7HQZX5
He makes a CP/M compatible Z80 machine with memory bank switching and whatnot completely from scratch. Not only you will learn how to program Z80, but you will also learn how to design hardware, how to lay down a PCB and order them. The whole shebang!

What are your thoughts on all of this?

NB! Olimex also has Agon Light, that is z80 based. But in that one, the hardware is true hardware and the ESP32 on the board is just behaving as a second machine connected over serial line. So that is a lot less interesting, at least for me...

"640K ought to be enough for anybody." - And i intend to get every last bit out of it even after loading every damn driver!
A little about software engineering: https://byteaether.github.io/

Reply 1 of 6, by GigAHerZ

User metadata
Rank Oldbie
Rank
Oldbie

I went "full-software" approach and created a full wire-level simulator into which I can build (virtually) any kind of computer I want. Once all is done and working in simulator, I can directly document the wiring + transplant the existing firmware binaries into a real physical machine.

Re: Modelling digital hardware in C# (I'm creating a simulator with 6502 CPU)

"640K ought to be enough for anybody." - And i intend to get every last bit out of it even after loading every damn driver!
A little about software engineering: https://byteaether.github.io/

Reply 3 of 6, by GigAHerZ

User metadata
Rank Oldbie
Rank
Oldbie

There are many emulations of 6502 in the wild. The one you shared has no working links, so i can't dig deeper.

But to my knowledge, even the Verilog implementations of 6502 have not implemented full 6502 simulation along with proper half-cycle implementations. But I needed that to make it truly work as "breadboard computer in software".

My project's purpose isn't to be yet another 6502 emulator, but to be as close as possible to real-life simulation of a breadboard computer with all the real wiring and signalling. I built it for myself to build my own homebrew computer. And once I get it working inside this simulator, I need to be able to directly move everything I built in the simulator into the real world.

"640K ought to be enough for anybody." - And i intend to get every last bit out of it even after loading every damn driver!
A little about software engineering: https://byteaether.github.io/

Reply 4 of 6, by mr.cat

User metadata
Rank Member
Rank
Member
GigAHerZ wrote on 2026-10-18, 07:31:

There are many emulations of 6502 in the wild. The one you shared has no working links, so i can't dig deeper.

Yeah the page is on archive.org but it has this super annoying refresh going on, however I managed to find this:
https://github.com/retroelec/r162

Reply 5 of 6, by Max Headroom

User metadata
Rank Newbie
Rank
Newbie
GigAHerZ wrote on 2026-10-18, 07:31:

There are many emulations of 6502 in the wild. The one you shared has no working links, so i can't dig deeper.

„No working links”? You must be kidding, I suppose(?).

GigAHerZ wrote on 2026-10-18, 07:31:

My project's purpose isn't to be yet another 6502 emulator

I was long years Commodore user — started with VIC-20, through C-64, then C-128. And… I'm not 6502 enthusiast. Z80 is so much more capable.
Ofc no (older) 8-bit CPU beats 6809/6309. „Older” — bcs if we mean the new ones, then Atmel's assembly looks quite nicely. They already noticed that long ago and used Atmel not for emulation, but directly to create retro-console.
Maybe this can be interesting direction?

Reply 6 of 6, by GigAHerZ

User metadata
Rank Oldbie
Rank
Oldbie
Max Headroom wrote on 2026-11-15, 19:41:

Maybe this can be interesting direction?

I already have Z80, CTC, SIO etc. implementations in the repository, and have an implementation of John Winans' Z80 Retro! machine booting CP/M 2.2 on it.

"640K ought to be enough for anybody." - And i intend to get every last bit out of it even after loading every damn driver!
A little about software engineering: https://byteaether.github.io/