nand2mario Profile
nand2mario

@nand2mario

Followers
2K
Following
136
Media
146
Statuses
667

FPGA and retro gaming dev. Author of NESTang and SNESTang.

Joined August 2022
Don't wanna be here? Send us removal request.
@nand2mario
nand2mario
3 months
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:
Tweet media one
Tweet media two
Tweet media three
7
12
46
@nand2mario
nand2mario
7 days
1993 mars.exe demo running under ao486-sim. `demo\mars.exe` on the dos6.vhd virtual disk.
Tweet media one
@nand2mario
nand2mario
9 days
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
0
11
@nand2mario
nand2mario
8 days
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. :).
@nand2mario
nand2mario
9 days
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
@nand2mario
nand2mario
9 days
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.
@marcusjordan
Marcus/Boogermann
10 days
@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
@nand2mario
nand2mario
9 days
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:
@nand2mario
nand2mario
10 days
DOS 6.22, in ao486 simulation, running on Mac at 0.7 FPS. 🤪. Now I can compare my z86 with ao486.
Tweet media one
1
11
51
@nand2mario
nand2mario
10 days
DOS 6.22, in ao486 simulation, running on Mac at 0.7 FPS. 🤪. Now I can compare my z86 with ao486.
Tweet media one
1
7
46
@nand2mario
nand2mario
17 days
RT @YLRabbit: Ladies and gentlemen! The first design for the #Gowin GW5A chip series to fully pass the whole Yosys->Nextpnr->Apicula->worki….
0
16
0
@nand2mario
nand2mario
21 days
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.
Tweet card summary image
github.com
A pipelined 80286-class FPGA softcore CPU. Contribute to nand2mario/z86 development by creating an account on GitHub.
@nand2mario
nand2mario
22 days
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
@nand2mario
nand2mario
22 days
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.
@nand2mario
nand2mario
2 months
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.😅😅
Tweet media one
4
19
104
@nand2mario
nand2mario
2 months
The first thing I implemented was the instruction fetch buffer. Each 8086 instruction could be 1 to 10 bytes. Oh my. Took me a few attempts to parse the instruction in as few cycles as possible….
0
0
8
@nand2mario
nand2mario
2 months
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.😅😅
Tweet media one
3
5
36
@nand2mario
nand2mario
3 months
1K github stars. Thanks all for the fun together. 🎉🌟
Tweet media one
1
0
31
@nand2mario
nand2mario
3 months
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.
Tweet card summary image
github.com
IBM PC/XT for Sipeed Tang FPGA. Contribute to nand2mario/pctang development by creating an account on GitHub.
1
3
13
@nand2mario
nand2mario
3 months
For this version the firmware design was also refactored, moving from C to C++ for better productivity. The code is still mostly C, but things like C++ string and vectors do speed things up. There's now in game menus and a command console.
Tweet media one
0
0
3
@nand2mario
nand2mario
3 months
The first version of PC core is roughly an early '80s 8088 machine, with CGA graphics, 10Mhz 8088 CPU and 1MB of memory. It is a good fit to experience the early days of PC gaming and applications. I had fun trying some BASIC programs and games.
1
0
5
@nand2mario
nand2mario
3 months
The new 1.9.11.02 Gowin IDE seems to be solid, improving timings significantly in some cases.
0
3
15
@nand2mario
nand2mario
3 months
Working on the PC/XT core. Added a in-game menu to mount floppy images. This is almost ready for a basic first release. 🍓 Also refactoring the firmware at the same time, making things more maintainable.
1
5
41
@nand2mario
nand2mario
3 months
Nice!.
@pgate1
かんな丸⁧!!⁨
3 months
SNES on FPGA feat. TangConsole.実装できた!. TangNano20KだとサウンドDSPが入らなくて音無しだったけどこっちは138Kもあるので、スーファミ全実装が可能か不可能かで言えば、余裕です(LUT使用率19%). はじめ動作が不安定なことがあったけど入出力遅延制約付けたら安定したし
Tweet media one
0
0
21
@nand2mario
nand2mario
3 months
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. :).
@nand2mario
nand2mario
3 months
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