Graphics Options for a Homebrew Retro Console
PreviousCollected and collated video chips from early home computers and games, which were designed to create a nostalgic style for home-made.Home computersGet ready. Over the years, some information has continued to be collected, and the focus has shifted from "What's the Chip in History" to "What's the practical route of doing it today and what's the graphic part?" This is a follow-up to document these programmes.
First, think first: what the PPU is doing.
Here.Red and white machine.The PPU (2C02), for example, can be broken down into several pieces:
| Modules | Duties |
|---|---|
| Time-Sequence Generator | 341 o'clock x 262 scanned lines (NTSC), 21.477 MHz clocks, producing HBlank/VBlank |
| Background Renderer | Take a name table property table pattern table every 8 cycles, move the register to line out of pixels |
| Pixie Renderer | 64 OAM entries per scanner pre-scan, up to 8 items, each maintaining a place transfer register |
| Pixels Synth | Background / Pixie Priority Arbitration, Check 32-byte palette RAM |
| CPU Interface | 8 senders (%)\(2000-\)2007), double byte locking, OAM DMA |
Understanding this division of responsibilities, each of the next routes can be seen as "the means by which these pieces can be re-established".

The functions of the PPU were so simple that they could be imitated as a whole: UA6527P (similar to 2A03 CPU) and UA6538 (similar to 2C02 PPU) were the standard chip group of the Big Red and White Compatible for the year, with a master plate of the Compatible, two UMC chips in the middle and two Hyundai RAMs on the side. The imitations were later further condensed into a single cow-on-a-Chip. This is a side-scenario that it is entirely realistic to use today's FPGA to re-examine PPU. (Figure: Wikimedia Commons, Socram88888, CC BY 3.0)
II. Route I: FPGA Recapturing PPU
This is currently the most mainstream route. MiSTerThe NES, SNES, Genesis cores on the project are essentially rewrited with Verilog/VHDL.
FPGA is used to achieve the key elements of the NES PPU:
- The clock uses 21.477272 MHz (6 times the NTSC)
- Background rendering is a classic 4-step stream: byte byte byte byte pattern low byte, one Tile every 8 cycles
- Roll-in Loopy repository (15 VRAM addresses) with a fine x-rolling of 3 places
- The Elves are in two stages: the OAM assessment in the scanning line gap (64 selected 8), and the visible areas are moving by genie.
- The color palette is then then forwarded directly to the RGB for VGA/HDMI, without the need to simulate NTSC composite video
Common pits: periodic timing of elves in their lives, chromosomal mirrors (in the form of occult images)\(3F10镜像到\)3F00, read $2007 back buffer during non-VBlank. The NES game is very sensitive to PPU's cyclical behaviour, and rough realization can brighten the screen but run the wrong game.
The ceiling of the FPGA route is much more than a recultivated chip, followed by section IX, which is devoted to a project to modernize the FPGA GPU.
iii. Route II: The answer to the dispersed logic + Blitter — GameTank
GameTankIt offers a completely different perspective: No PPU, no frame buffer and Blitter..

| Item | Configure |
|---|---|
| CPU | W65C02S @ 3.5MHz |
| Frame Buffer | 128 x 128, 1 byte per pixel, double buffer, one 32KB double-crossing SRAM |
| Graphical acceleration | Blitter Hardware Copy Engine 3.5MB/s, Support for Transparent Color and Flip |
| Graphical Source | 512 KB RAM Storage of Sprite/Tile Data |
| Output | NTSC Composite Video, Hard Encoding 200 Colour Palette |
| Audio | Second W65C02S@14MHz + 4KB RAM + DAC |
| Logical realization | All 74 series of penetrating chips, no FPGA, no MMU |
Its design philosophy is that a resolution is sufficient hours (128 x 128 only 16KB), and that the cost of completely redrawing the background per frame is low, and that a high-speed Blitter can replace the traditional PPU's background Tile decodor and elf assessor. Hardware has been significantly simplified at the cost of CPU actively organizing the re-draw, and it is not the case that the repository is not configured as NES.
This structure is closer to Atari Lynx than to NES. The advantage is that all the chips can be bought in a new tonware at Digi-Key and Mouser, and the whole machine can be sold out by hand.
Route III: Modern "PPU-Free" - Bridgetek EVE
The only trade chip currently available at the interface is the EVE series (Embeded Vidio Engineering) of Bridgetek (FTDI) if it is to be "sold with a much better PPU-like" option.
| Model | Intergenerational | Resolution | Remarks |
|---|---|---|---|
| FT810-FT813 | EVE2 | 800×600 | It's for sale. |
| BT815/BT816 | EVE3 | 800×600 | Add the ATTC texture compression, external NOR Flash |
| BT817/BT818 | EVE4 | 1280×800 | There's an AEC-Q100 class. |
EVE is... Show list (Display List) structure: MPU sends an advanced command through SPI ( "Pixel 3 in X, Y"), which automatically completes the rendering, synthesis, time sequence generation and output within the chip, with no pixels at all. It is conceptually similar to the "CPU write OAM, PPU automatically render" height, but it is several dozen times larger, with audio PWM output and touch screen control. Note some practical constraints: The list has an upper limit of 2048 items (FT81x), the nudity table is a poor manual welding for the QFP, the general buys screen-based modules (Riverdi, New Haven, etc., $30-80) and the EVE is a 3.3V device, and the 6502 system for 5V requires a flat conversion.
This model of "weak master + SPI + Special Graphics Engine" is not a paper-based idea. It has a quantitative precedent: James Bowman.Gameduino 2/3It's FT800/FT810 with Arduino (ATmega 328@16MHz), Kickstarter with three generations of production, with the same weight as W65C02S. Bowman wrote a book.《The Gameduino 2: Tutorial, Reference and Cookbook》, the system talks about the display list programming of the EVE, and the author network has a free PDF.


To be fair, the circles of 6502 and EVE are not currently at cross point: the ecology of EVE is almost entirely on the modern MMUs, the Arduino/ESP32/STM32, and I have not found a public completion of the project of 6502+EVE. However, the simulation of the SPI with 65C22 VIA software on this side of 6502 is a standard operation for homemade communities, with the two half being mature and no theoretical barriers.
The only threshold for using it as a game machine with W65C02S is that 6502 has no SPI controller and three solutions:
- 65C22 VIA software simulating SPI: about 50-200 Kbps, prototype available, list of displays of just a few hundred bytes barely enough 30fps
- A cheap CPCLD is a SPI bridge map to I/O space of 652:1-4 Mbps, CPU is almost zero. Recommendations
- W65C816S or FPGA bus bridge QSPI: Over-design
A typical retrospective game scene (background + 20 elves + UI text) shows a list of about 500 bytes per frame, with no pressure on the SPI to 1 mbps or more. This route is much less difficult to develop than the FPGA and the discrete logic — although 652+EVE is not far from being stepped on, there is a structure model for the base of the Gameduino three-generation product, which I think is the most worthwhile combination of new humans.
VDP for Dismantling
If you insist on using "Jan VDP", you can only remove the machine. Comprehensive capabilities, documentation and accessibility, in order of order:
| Chip. | For | Evaluation |
|---|---|---|
| Yamaha V9958 | MSX2+/Turbo R | Preferred. One of the strongest VDPs in the 8-bit era, 512 x 424, hardware rolling, 19268 colour YJK mode, and no-lined elf scintillation limit; Official data manual available |
| Yamaha V9938 | MSX2 | The old generation of V9958, more and cheaper, with no YJK and no horizontal rolling |
| TI TMS9918A | TI-99/4A、ColecoVision、MSX1 | VDP Nasal Grandfather, but almost all indicators are weaker than NES PPU (16 colours, 4 elves per line) and are only suitable for teaching |
| Sega 315-5313 | MD | The performance is high, but without official documents, QFP is hard to weld, expect 68,000 class bus time series, and DIY is high risk |


V9958/V9938 is a standard parallel bus outside, with a direct reading and writing repository of 6502, which does not require a SPI bridge. Note that they do not form a visible presence and require external access to DRAM, such as 44256/41464. It was recommended that the demolitions still welded on the subboards be better disposed of than the nudity. There's also a physical precedent for the feasibility of this route: someone gave C64 a complete picture.V9958 card(Open source hardware, plug-in chutes directly) The RC 2014 community also has a V99x8 video module package available.
Why don't you touch the street chip?
The street is going another way: No generic VDP, all customized ASC.
- Ricoh CPS-A-01: No files, high failure rate, community re-establishment with FPGA to date
- YM7101 of Sega Systems 16: The MD VDP is essentially an enhanced street machine, but it's almost extinct.
- SNK Neo Geo's LSPC2-A2+PRO-B0 chip group: The most radical design - There's no hardware background. All the images, including background, are spelled out in vertical elf stripes., with 4 line buffers to achieve a nonscintillation high density output of 380 elves and 4096 colours. The idea is amazing, but the entire chip set is dependent on a unique VRAM/ROM system that cannot be removed from the singles.
Customization of ASIC does not have a data manual, complex time series, and a lot of tips, and it has not yet been bought in replacements, and the individual DDY does not touch them.
VII. Fork in the way: the 2D elves in a four-sided shape - 3D of Sacra Saturn.
"With 2-D hardware, 3-D."Saturn.It is the most deserving case. It's VDP1 No triangle at all. It's called "Distorted Sprite" -- it turns a 2D genie from a texture map into a quadrilateral of any four-point frame. All the polygons in Saturn's game are these four-sided elves. The geometry component (change, light, sorting) is entirely based on the dual SH-2 software, and the VDP1 fills only.


The above two maps are the same example (VR fighter Remix, 1995): after removing the texture, the role model is fully spelled out by a quadrilateral; The textures of the VDP1 are distorted into each quadrilateral, together with the 2D background layer drawn by VDP2, which is the final image below. (Screenshots from Saturn structure analysis at copetti.org)
This structure brings a chain reaction:
- No Z buffer., blocking relationships is sorted by CPU, and complex scenes are prone to error
- It's a twist if you don't have a quadrilateral. That's why the modelers had to break the model down.
- No Hardware Crop The elves will be wrongly stretched to the top of the screen. They need software pre-cuts.
- Translucency is not good. A lot of games pretend to be translucent with a board of chess.
Ironically, the Model 1-2 machine used real polygonal hardware, and when it arrived, it returned to the elves — one of the structural reasons why Saturn's 3D performance was lost to PS1.
And these are the same "2D hardware and 3D" lines:
| Platform | Methodologies | Remarks |
|---|---|---|
| 3DO | The CEL engine draws a quadrilateral Cel, which also has no triangle, no Z buffer. | The closest to Saturn. |
| Sega 32X | Frame Buffer + Double SH-2 Rendering | Hardware only shows up. 3D is on CPU. |
| Super Scaler. | Hardware scaling/rotating large numbers of elf simulation depths | Harry Space, Out Run, false 3D. |
| SNES Mode 7 | Single-layer background imitation transformation (rotation zoom) | "F-Zero" "Marrio Racer" ground |
| GBA emulation layer | The orthodox of Mode 7 with a matrix for each scanner | See sect. X below. ] |
| Neo Geo | The whole elves have a background. | See previous section, 3D, but same philosophy. |
Their common denominator is that: Hardware provides only 2D original language (genie, background level) and 3D is supported by software or player brain. The fork was terminated after the "GTE geometry+GPU painting triangle" combination of PS1 -- once the genuine polygonal optic optic rims were cheap enough to access the home machine, the deforming elves lost their raison d'être.
VIII. CPU COMPONENT: 6502, 68,000 and SuperH
The graphics are set, and there are some interesting clues to the choice of CPU.
**652 and 68,000 are two extremes of the same division. ** Chuck Peddle, the father of 6502, was the core member of the Motoola 6800 project, which ran away from MOS, claiming that the low price route had failed, and made a cheap order of 6502 with fewer transistors. Motoola's response to the high-end market: 16 32-bit repositories, a set of active commands, called the charade "CISC most like RISC" - it is indeed CISC (long command, microcode, memory-RAM operation). They rarely competed, but often partnered in the same machine: Comodore 64 used 6510 and Amiga used 68,000 with the 652 series for keyboard control.
SuperH is of pure Japanese origin. ** The largest feature of the 32 RISSC self-study in Japan in 1992 was the high code density of 16 fixed-duration instructions. SH-2(Saturn.Double core 28.6 MHz, SH-4()Dreamcast 200 MHz, 128 FPU 1.4 GFLOPS, two degrees to the top of the game; Following the failure of the 64 attempts of the SH-5, Risa was the main vehicle, the MMU, and has been reborn in recent years in the form of an open source soft core, J-Core. So SEGA let CPU do T&L and PowerVR2 do Tile-Rabling -- this confirms that: Geometry (T&L) can be handed over to CPU, but pixel filling must have a special hardware**. So did Saturn and DC, and so did Vodoo, and so did the GBA imitation.
**68k is alive today, but is a legacy. ** Desktop line 68020/68060 was lost to PowerPC in the mid-1990s; The embedded line survived: Dragon Ball in Palm Pilot and ColdFire (new customers are largely unrecommended) who are still supplying NXP. More active are the "modern 68k" on the FPGA soft core (TG68, FX68K, Amiga/Genesis at Mister) and the "Vampire accelerator card" at Apollo Team - the "modern 68k" with AMX SIMD extension, which is the parallel world answer if Motorola does not give up."
ix. Modern FPGA GPU logo: FuryGpu
The case of the ceiling on the FPGA route is FuryGpuOne person made an independent PCI card from Zilinx Zynq UltraScale+ (Kria SoM) to run Quake for nearly four years.

| Item | Specifications |
|---|---|
| Structure | Fixed function Tile-Based grid, no programmable colour handler |
| Clock | 480MHz |
| Raster | 4 parallel Rasterizer, 2x2 Quad |
| Texture | One texture unit per Rasterizer, dual linear, Mipmap; 4x4 connects 512KB texture cache |
| Host interface | PCIe + CustomWindows WDDM kernel driver |
| API | Private FuryGL, visible command buffer/queue submission, Vulkan shell + stationary core |
A few points worth recording:

- **It's "Super Vodoo 1" spiritual continuation. ** This is the division of labour between fixed functions without Shader, CPU soft T&L+GPU, and hard rasters. FuryGpu compensates the FPGA efficiency disadvantage with the front end of fp32, the Tile-Based architecture and modern cache design, with Quake frames at the same order of magnitude as Vodoo 1.
- **It has a WDDM-driven but does not show Windows desktops. ** DWM desktop synthesis relies on Direct3D programmable pipe, which cannot be satisfied with fixed GPU; WDDM drives just give the hardware a "legal identity". Interestingly, under Linux, it's easy to write a minimum DRM/KMS driver-exposed dumbbumper, GNOME will automatically reverse llvmpipe's soft-painted desktop, FuryGpu is only used as a scanned output.
- **It's hard and unnecessary to add hardware to T&L. ** Hardware T&L did not appear until 1999 until GeForce 256 (by the way, neither the 3dfx complete system nor Glide had hardware T&L; OpenGL norms also do not force hardware T&L, soft and hard to be transparent about applications). FuryGpu's DSP resources are already stretched, and the target game is another CPU-soft T&L-time piece, which is a waste.
- **It's not too bad to make chips with modern technology. ** Vodoo 1 is 500 nm/approximately 1 million transistor tubes, with the SkyWater 130nm open source PDK walking MPW in an area of less than 2 mm2, and the cost of cash under the sponsorship channel can be as low as several hundred United States dollars - the real threshold is RTL design and validation, not the flow fee. I personally asked for the price of MPW in my country out of curiosity: the MPW service offer attached to the IC teaching channel is in the order of 100,000 or 200,000 yuan yuan, and other floating film offers that are on the verge of being phased out are in the range of 80,000 to 100,000, which is much more expensive than SkyWater's sponsorship, but is still a small amount compared to the millions of mark-up fees for advanced production. This is also one of the most interesting community directions for FuryGpu after its future opening.

X. Another reference system: integration
The handheld gave an example of "no independent VDP but more functional". GBADirectly into SOC, sharing memory bus with ARM7: six display modes (Mode 0-2 is Tile mode, up to 4 layers of background and 2 layers of replicating transformation); Mode 3-5 is a frame-buffering bitmap model, 128 hardware elves, Alpha mix/light increase/window cut-off effects, plus HBlank DMA scan-line reposer, which makes a Mode 7-style pseudo-3D. Pixel synthesis remains a pure hardware circuit, and DMA is responsible only for handling and upgrading the repository.
The PC side is "2D acceleration without stop, but it's swallowed up": DirectDraw hardware Blitter (BitBLT, colour key control, page flip) was absorbed after 2000 by the Unified Colour Transceiver (UCC) structure -- today's 2D interface is all "two triangles" to be completed with 3D line zero-cost, folded on DWM desktop synthesis, independent video decoding engine, and far-flung Copy Engineering. The 2D hardware capacity that was independent in that year was not lost, but was hidden in invisible places.
XI. Summary: How to choose
| Route | Hardware Complexity | Development difficulty | Love and love. | Who's it for? |
|---|---|---|---|---|
| FPGA Recapturing PPU | Medium | High (cycle order) | ★★★★★ | Trying to recreate an old machine. |
| Separate Logic + Blitter (GameTank) | High (tens of 74 chips) | Medium | ★★★★★ | I want to weld it out. |
| W65C02S + Bridgetek EVE | Low | Low | ★★★ | I want to make a playable machine quickly. |
| 6502 + Dismantling V9958 | Medium | Medium height (DRAM time series) | ★★★★ | Wants real VDP. |
| FPGA Self-Study GPU (FuryGpu) | Low (Kria) | Extreme (years) | ★★★★★ | Trying to challenge the personal project ceiling. |