AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     flags
     R1 =     pointer to list of devices to install
     R2 =     pointer to device driver entry point
     R3 =     private word          (passed to entry point in R8)
     R4 =     workspace pointer     (passed to entry point in R12)
     R5 =     pointer to special field validation string
     R6 =     maximium RX devices (0 for none, -1 for unlimited)
     R7 =     maximium TX devices (0 for none, -1 for unlimited)
<=     R0 =     device driver's handle

This SWI registers a device driver (the hardware interface code) and associated devices (e.g. buffered and unbuffered) with DeviceFS. If any device in the list fails to register then all are removed.

See PRM 2, page 428.
Meaning of bits in R0
Bit     meaning if set

0     Block device (not implemented), else character device
1     Full duplex
2     MonitorTX/RX available
3     Monitor EOF on reading
4     Issue device UpCalls 15 - 17.
2-31     0 (reserved)

[sh-index] Back to list of manuals