API docs / Open libraries / mfm.device
API · Devicesmfm.device jump table
Our open mfm.device: 6 calls with the same LVOs and registers as AmigaOS 3.2's, checked against the NDK 3.2 .fd file.
disk.resource's calls, as openmfm_dev.c sees them: LVO, call, registers. Checked against the NDK 3.2 disk_lib.fd by build-amiga.sh. mfm.device calls GetUnit, GiveUnit, GetUnitID and ReadUnitID; never AllocUnit or FreeUnit (trackdisk.device holds the drives; we share them). mfm.device has no calls of its own (only exec's device vectors: Open, Close, Expunge, Null, BeginIO -30, AbortIO -36).
| LVO | Call | Registers | Notes |
|---|---|---|---|
| -6 | AllocUnit | d0 | |
| -12 | FreeUnit | d0 | |
| -18 | GetUnit | a1 | |
| -24 | GiveUnit | none | |
| -30 | GetUnitID | d0 | |
| -36 | ReadUnitID | d0 |