New OS9?
1 messages in this thread
So what you do is set the Command field to the desired code, the remainder of
the fields as required by the command (Data, Length, whatever) and use the
Exec's IO functions to send it (DoIO() for synch, SendIO() for asynch). When
the device if finished with the request it returns it to the sending task with
the Error field holding the results.
According to ye olde Exec RKM each device has 8 required commands; Reset, Read,
Write, Update, Clear, Stop, Start, & Flush. The rest are considered
non-standard. Whether the command is standard or not the mechanism is the
same, fill in the request with the command & required info and send it. It
looked to me like OS9 has some standard _function calls_ plus and additional
call to handle the non-standard ones, so I thought I'd clarify.
They don't have RKM's in your local Amiga vendor? Wierd, mail order could help
you there. The "Libraries & Devices" RKM describes the graphics system
libraries and the individual Exec devices. Bit of a bite price-wise, $35.00
list in '86 but it's absolutely huge, way over 500 pages. I'll take a look
through my library capture and see if there's anything that looks appropriate.
No problem, I'm dying to see what the end results come out like.