RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

GraphicsV

Programmer's Reference Manuals
» Part 1 - Introduction
» Vectors
» Software Vector Numbers
» GraphicsV

Graphics Vector (42)

Entry  
R4 Bits 0-23: Reason Code
Bits 24-31: Display number
Other registers dependant on call

Use

This vector is used by the RISC OS 5 kernel to communicate with the video driver. For many of the reason codes the default claimant of the vector is the kernel, which allows the kernel to pass the call onto the HAL Video API if no video driver module claims the call. Note that the kernel only does this for display number 0.

User software should always aim to use the appropriate OS SWI instead of calling GraphicsV directly. The information presented here is mainly of use to OS maintainers and video driver developers.

Reason Codes

#  
0 Null reason code for when vector has been claimed
1 VSync interrupt occured
2 Set mode
3 Set interlace
4 Set blank
5 Update pointer
6 Set DAG
7 Vet mode
8 Features
9 Framestore information
10 Write palette entry
11 Write palette entries
12 Read palette entry
13 Render
14 IIC op
15 Select head

See also

  • Software Vector Numbers
Revised on February 21, 2012 13:29:56 by Jeffrey Lee (213) (195.72.173.130)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: HAL_VideoBufferAlignment, HAL_VideoFlybackDevice, HAL_VideoSetMode, HAL_VideoSetPowerSave, HAL_VideoWritePaletteEntry, HAL_VideoFeatures, HAL_VideoVetMode, HAL_VideoSetBlank, HAL_VideoUpdatePointer, HAL_VideoSetDAG, HAL_VideoReadPaletteEntry, HAL_VideoIICOp, HAL_VideoRender, Software Vector Numbers, HAL_VideoOutputFormat, HAL_VideoSetInterlace, HAL_VideoPixelFormats, HAL_VideoWritePaletteEntries, GraphicsV 1, GraphicsV 2, GraphicsV 3, GraphicsV 7, GraphicsV 8, GraphicsV 6, GraphicsV 4, GraphicsV palette colours, GraphicsV 10, GraphicsV 11, GraphicsV 12, GraphicsV 14, GraphicsV 13 0, GraphicsV 13 1, GraphicsV 13 2, GraphicsV 5, GraphicsV 15, GraphicsV 13, HAL_VideoFramestoreAddress, GraphicsV 9, Proposed GraphicsV enhancements

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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