OSWORD &B0
OSWORD &B0 (176) - GoMMC access & control GoMMC
On entry: XY?0 =send length XY?1 =receive length XY?2 =command XY?3 =subcommand XY?4 =&01 XY?5 =&00 XY+6...=data On exit: XY?4 =&00 if call actioned XY?5 =result byte XY+6...=data.
Commands in XY?2 are: 1 - Read GoMMC status, subcommand in XY?3 XY?3=&01 - return GoMMC ROM number in XY?6 XY?3=&02 - return MMC card size in XY!6 2 - ?? - Returns data in XY+5 XY+3=&09 - ? XY+3=&0A - ? 3 - Read/Write data to current disk On entry: XY!6 =address XY!10=MMC address XY!14=data length XY?3 =&00 - Read data from current disk XY?3 =&01 - Write data to current disk XY?3 =&40 - Read data from absolute MMC address XY?3 =&41 - Write data to absolute MMC address 4 - Read/Write data to current disk On entry: XY! =address XY!10=MMC address XY!14=data length XY?3 =&00 - Read data from current disk XY?3 =&01 - Write data to current disk
See Also
Jgharston 14:20, 26 May 2009 (UTC)