Agent skill
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 this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/hdd-expert
SKILL.md
HDD Expert - ST-506/MFM
Expert knowledge for the ES-1841's hard disk controller.
Key Specifications
| Property | Value |
|---|---|
| I/O Ports | 320h-327h |
| DMA Channel | 3 |
| IRQ | 5 |
| Addressing | CHS |
I/O Ports
| Port | Read | Write |
|---|---|---|
320h |
Data | Data |
321h |
Error Register | Write Precomp |
322h |
Sector Count | Sector Count |
323h |
Sector Number | Sector Number |
324h |
Cylinder Low | Cylinder Low |
325h |
Cylinder High | Cylinder High |
326h |
SDH Register | SDH Register |
327h |
Status | Command |
Status Register (327h)
| Bit | Name | Description |
|---|---|---|
| 7 | BSY | Controller busy |
| 6 | RDY | Drive ready |
| 3 | DRQ | Data request |
| 0 | ERR | Error 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
| Command | Code |
|---|---|
| Recalibrate | 10h |
| Read Sector | 20h |
| Write Sector | 30h |
| Seek | 70h |
Command Sequence
- Wait BSY=0, RDY=1
- Write parameters (
322h-326h) - Write command (
327h) - Wait for IRQ or poll DRQ
- Transfer data
- Read status
References
See references/ for detailed documentation.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?