vdp1-sega-saturn

Reference VDP1 registers, command tables, and drawing commands for Sega Saturn assembly.

1|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/celsowm/libsaturn --skill vdp1-sega-saturn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vdp1-sega-saturn
Source: https://github.com/celsowm/libsaturn/tree/main/.SKILLS/vdp1-sega-saturn
Command: npx skills add https://github.com/celsowm/libsaturn --skill vdp1-sega-saturn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive documentation and examples for programming the Sega Saturn's VDP1 graphics processor in SH-2 assembly, enabling low-level control over sprite and polygon rendering.

Core Features & Use Cases

  • VDP1 Register Reference: Detailed explanations of all system registers and their bitfields.
  • Command Table Structure: In-depth guide to VDP1 command table formats and fields.
  • Drawing Commands: Examples for drawing sprites, polygons, and lines.
  • Color & Shading: Information on color modes, LUTs, and Gouraud shading.
  • Use Case: A developer needs to implement a custom sprite rendering routine or draw complex polygons on the Sega Saturn. They can use this Skill to understand the VDP1's command structure, register settings, and memory layout to achieve their graphical goals.

Quick Start

Use the vdp1-sega-saturn skill to get a quick start template for initializing the VDP1 in assembly.

Frequently Asked Questions about vdp1-sega-saturn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I program the Sega Saturn VDP1 for bare-metal sprite rendering in SH-2 assembly?

To program the Sega Saturn VDP1 for bare-metal sprite rendering in SH-2 assembly, you configure the system registers and construct command tables to define drawing commands, color modes, and coordinate systems.

What is the structure of a VDP1 command table on the Sega Saturn?

A VDP1 command table on the Sega Saturn is a structured memory format containing specific bitfields that dictate drawing commands, control points, texture pointers, and color calculation parameters for the graphics processor.

How does Gouraud shading work with Sega Saturn VDP1 polygons?

Gouraud shading on the Sega Saturn VDP1 works by applying color calculation parameters within your command tables to interpolate vertex colors across polygon surfaces during the SH-2 assembly rendering pipeline.

Can I use this VDP1 reference to draw lines and polygons without a game engine?

Yes, you can use this VDP1 reference to draw lines and polygons without a game engine by directly setting the appropriate system registers and utilizing the bare-metal command table formats in your SH-2 assembly code.

What's the best way to initialize the Sega Saturn VDP1 for custom graphics routines?

The best way to initialize the Sega Saturn VDP1 for custom graphics routines is to use a quick start assembly template that sets up the essential system registers and memory layout before executing your drawing commands.