RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

DeviceDriver_Entry 6

DeviceFS
» DeviceDriver_Entry
» DeviceDriver_Entry 6

DeviceDriver_Entry 6

(SWI -)
Entry
R0 6 (Create buffer for TX)
R2 Device driver stream handle
R3 Suggested buffer flags
R4 Suggested buffer size (non-zero)
R5 Suggested buffer handle, or -1 to generate unique handle
R6 Suggested buffer threshold (when halt event is called)
Exit
R3 – R6 Modified as the device driver requires

Use

This entry point is called just before the buffer is created, to allow the driver to modify parameters as desired.

Notes

The suggested buffer flags are those given when the device was registered. R5 will default to -1 (generate unique handle) but you may specify the number of a buffer to link to.

See also

  • Buffer Flags Word
  • DeviceFS
  • DeviceFS Technical Details
  • DeviceDriver_Entry
Created on August 22, 2016 07:42:12 by Alan Robertson (52) (49.192.12.193)
Edit | Views: Print | Source | Linked from: DeviceDriver_Entry

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys