
nand2mario
@nand2mario
Followers
2K
Following
136
Media
146
Statuses
667
FPGA and retro gaming dev. Author of NESTang and SNESTang.
Joined August 2022
Just released TangCore 0.9 for #tangconsole 🎁 🎉. This adds the first computer core, PC/XT, to the list of console core NES,SNES,GBA,Genesis/MD and SMS. Also added: on-board SD card support for upcoming v1.1 boards. Improved 138K stability. Get it:
7
12
46
Just pushed an update to allow persisting of hard disk writes by pressing the CMD-s or WIN-s key, with the help of SystemVerilog DPI. Now the QBasic or Turbo C programs you write are actually saved. :).
Introducing ao486-sim 🚀 - `make sim` and watch the ao486 Verilog CPU booting DOS 6.22. A good tool for learning CPU design and how PCs work in general. Github:
0
2
20
True. It’s more of a by-product of getting ao486 to work on non-Intel FPGAs. Also RTL simulations are “closer to the silicon” and better for learning hardware/chip designs.
@nand2mario At this point you might as well just runs Bochs which IIRC is the foundation of the core and why is so badly optimized and huge. There’s a Pentium Pro class core floating around for years but is just the netlist, it works but no peripherals, just uart.
0
2
5
OK I've uploaded my from-scratch 80286-like softcore CPU to github: 🚀 It is still a WIP. But it should be fairly complete, at least in simulation. 5-stage pipeline design like the 80486: Fetch, Decode1, Decode2, Execute, Write-Back.
github.com
A pipelined 80286-class FPGA softcore CPU. Contribute to nand2mario/z86 development by creating an account on GitHub.
My 286-class CPU (real-mode only) is finally working in sim and we have PC-AT BIOS, VGA and IBM Basic working.😀 The CPU is written from scratch and uses a 5-stage pipeline, aiming to be fast enough to run early 90's games. The final core will be in between ao486 and PCXT_MiSTer.
6
16
69
My 286-class CPU (real-mode only) is finally working in sim and we have PC-AT BIOS, VGA and IBM Basic working.😀 The CPU is written from scratch and uses a 5-stage pipeline, aiming to be fast enough to run early 90's games. The final core will be in between ao486 and PCXT_MiSTer.
Trying to make something new for 8086/8088. Finally there's progress in coverage tests after many hours of work. x86 is such a complicated beast.😅😅
4
19
104
And the refactored firmware (C++) is here:
github.com
Contribute to nand2mario/firmware-bl616 development by creating an account on GitHub.
0
0
4
For people interested in the source code, the new PCXT core is here: Difference from PCXT_MiSTer: a CGA color framebuffer, a new SDRAM controller (the original one is messy), verilator simulator.
github.com
IBM PC/XT for Sipeed Tang FPGA. Contribute to nand2mario/pctang development by creating an account on GitHub.
1
3
13
The PC XT is a simple machine by modern standards. But porting this core turns out to be quite some work. The floppy/hdd requires new two way communication between mcu and fpga. Keyboard is also non-trivial as this is pre-PS/2. Should make future computer cores easier tho. :).
This is how donkey.bas (PC XT 🖥️, 1982) looks on #tangconsole upcoming PCXT core. CPU, floppy💾, USB keyboard, CGA are all working now. Working on hdd and sound. 🎈
2
2
29