Simtec USB technical: Difference between revisions
From RISC OS
Jump to navigationJump to search
(Start of Simtec USB information (dump of notes)) |
m (Formatting) |
||
Line 1: | Line 1: | ||
==MassFS== |
|||
Plug in USB drive and appears with name on the iconbar, eg USB FLASH DISK |
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 |
To save off a DOSDisc image of the disc, do |
||
*Copy MassFS::USB FLASH DISK adfs::HardDisc.$.temp.usbimage |
*Copy MassFS::USB FLASH DISK adfs::HardDisc.$.temp.usbimage |
||
!PCformat from PC card tools almost works, but not quite. |
!PCformat from PC card tools almost works, but not quite. |
||
SWI MassFS_GetDriveCount |
''SWI MassFS_GetDriveCount'' |
||
On exit: |
:On exit: |
||
r0 = number of drives managed by MassFS |
:r0 = number of drives managed by MassFS |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
:r0 = drive number |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Revision as of 21:46, 22 April 2006
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?