Simtec USB technical
From RISC OS
Jump to navigationJump to search
MassFS
Plug in USB drive and appears with name on the iconbar, eg USB FLASH DISK To save off a DOSDisc image of the disc, do
*Copy MassFS::USB FLASH DISK adfs::HardDisc.$.temp.usbimage
!PCformat from PC card tools almost works, but not quite.
SWI MassFS_GetDriveCount
- On exit:
- r0 = number of drives managed by MassFS
SWI MassFS_GetDriveInfo
- On entry:
- r0 = drive number
- On exit:
- r0 = ?
- r1 -> drive name
- r1+20 -> connection?:drive_name:vendor_id:product_id (separated by colons, &3A)
- r2 = size in sectors (512 bytes each)
- r3 = flags?