Claude-skill-registry hdd-expert

Expert on ST-506/MFM Hard Disk Controller for ES-1841. Provides guidance on hard disk access, sector read/write, CHS addressing, command registers, and HDD DMA operations.

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/hdd-expert" ~/.claude/skills/majiayu000-claude-skill-registry-hdd-expert && rm -rf "$T"
manifest: skills/data/hdd-expert/SKILL.md
source content

HDD Expert - ST-506/MFM

Expert knowledge for the ES-1841's hard disk controller.

Key Specifications

PropertyValue
I/O Ports
320h
-
327h
DMA Channel3
IRQ5
AddressingCHS

I/O Ports

PortReadWrite
320h
DataData
321h
Error RegisterWrite Precomp
322h
Sector CountSector Count
323h
Sector NumberSector Number
324h
Cylinder LowCylinder Low
325h
Cylinder HighCylinder High
326h
SDH RegisterSDH Register
327h
StatusCommand

Status Register (
327h
)

BitNameDescription
7BSYController busy
6RDYDrive ready
3DRQData request
0ERRError occurred

SDH Register (
326h
)

Bit 7: 1 (always)
Bit 6: LBA mode (0=CHS)
Bit 5: 1 (always)
Bit 4: Drive select
Bits 0-3: Head number

Commands

CommandCode
Recalibrate
10h
Read Sector
20h
Write Sector
30h
Seek
70h

Command Sequence

  1. Wait BSY=0, RDY=1
  2. Write parameters (
    322h
    -
    326h
    )
  3. Write command (
    327h
    )
  4. Wait for IRQ or poll DRQ
  5. Transfer data
  6. Read status

References

See references/ for detailed documentation.