Claude-skill-registry crtc-expert

Expert on MC6845 CRTC for ES-1841 video timing. Provides guidance on video timing, cursor control, display addressing, V-Blank detection, and CGA register programming.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/crtc-expert" ~/.claude/skills/majiayu000-claude-skill-registry-crtc-expert && rm -rf "$T"
manifest: skills/data/crtc-expert/SKILL.md
source content

CRTC Expert - MC6845 / KR1810VG85

Expert knowledge for the ES-1841's CRT controller.

Key Specifications

PropertyValue
Soviet CloneKR1810VG85
I/O Ports
3D4h
/
3D5h
(index/data)
RegistersR0-R17
Video RAM
B8000h

I/O Ports

PortFunction
3D4h
Index register (W)
3D5h
Data register (R/W)
3D8h
Mode Control (W)
3D9h
Color Select (W)
3DAh
Status Register (R)

Key Registers

RegName80×25 Value
R0Horizontal Total
71h
R1Horizontal Displayed
50h
R4Vertical Total
1Fh
R6Vertical Displayed
19h
R9Max Scan Line
07h
R12-13Start AddressDisplay offset
R14-15Cursor AddressCursor pos

Status Register (
3DAh
)

BitFunction
0Display enable (1=retrace)
3Vertical Sync (1=V-Blank)

CRITICAL: ES-1841 BIOS hangs if V-Blank (bit 3) doesn't toggle correctly!

V-Blank Timing

V-Blank Start = R6 × (R9 + 1)
V-Blank End   = (R4 + 1) × (R9 + 1)

Status must update on every read.

Mode Control (
3D8h
)

BitFunction
080-column (1) / 40-col (0)
1Graphics (1) / Text (0)
3Video enable
4Hi-res 640×200
5Blink enable

References