Agent skill
fdc-expert
Expert on NEC µPD765 Floppy Disk Controller for ES-1841. Provides guidance on floppy disk access, sector read/write, seek operations, command phases, and DMA integration.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/fdc-expert
SKILL.md
FDC Expert - NEC µPD765 / Intel 8272A
Expert knowledge for the ES-1841's floppy controller.
Key Specifications
| Property | Value |
|---|---|
| I/O Ports | 3F2h, 3F4h, 3F5h |
| DMA Channel | 2 |
| IRQ | 6 |
| Drives | Up to 4 |
I/O Ports
| Port | Read | Write |
|---|---|---|
3F2h |
- | Digital Output (DOR) |
3F4h |
Main Status (MSR) | - |
3F5h |
Data (FIFO) | Data (FIFO) |
DOR - Digital Output (3F2h)
| Bits | Function |
|---|---|
| 0-1 | Drive select |
| 2 | Reset (0=reset) |
| 3 | DMA/IRQ enable |
| 4-7 | Motor on (drives 0-3) |
MSR - Main Status (3F4h)
| Bit | Function |
|---|---|
| 7 | RQM - Ready for data |
| 6 | DIO - Direction (1=read) |
| 4 | CB - Command busy |
Command Phases
- Command: Write to
3F5h(RQM=1, DIO=0) - Execution: DMA transfer
- Result: Read from
3F5h(RQM=1, DIO=1)
Key Commands
| Command | Code |
|---|---|
| Read Data | 06h |
| Write Data | 05h |
| Recalibrate | 07h |
| Seek | 0Fh |
| Sense Interrupt | 08h |
Drive Types
| Type | Tracks | Sectors | Capacity |
|---|---|---|---|
| 5.25" DD | 40 | 9 | 360 KB |
| 3.5" DD | 80 | 9 | 720 KB |
| 3.5" HD | 80 | 18 | 1.44 MB |
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?