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

VDU Variables

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_ReadVduVariables
» VDU Variables

VDU Variables

# Hex # Name Meaning Co-ordinates
128 &80 GWLCol Graphics Window – Lefthand Column (ic)
129 &81 GWBRow Graphics Window – Bottom Row (ic)
130 &82 GWRCol Graphics Window – Righthand Column (ic)
131 &83 GWTRow Graphics Window – Top Row (ic)
         
132 &84 TWLCol Text Window – Lefthand Column  
133 &85 TWBRow Text Window – Bottom Row  
134 &86 TWRCol Text Window – Righthand Column  
135 &87 TWTRow Text Window – Top Row  
         
136 &88 OrgX X coord of graphics Origin (ec)
137 &89 OrgY Y coord of graphics Origin (ec)
         
138 &8A GCsX Graphics Cursor X coord (ec)
139 &8B GCsY Graphics Cursor Y coord (ec)
140 &8C OlderCsX Oldest gr. Cursor X coord (ic)
141 &8D OlderCsY Oldest gr. Cursor Y coord (ic)
142 &8E OldCsX Previous gr. Cursor X coord (ic)
143 &8F OldCsY Previous gr. Cursor Y coord (ic)
144 &90 GCsIX Graphics Cursor X coord (ic)
145 &91 GCsIY Graphics Cursor Y coord (ic)
146 &92 NewPtX New point X coord (ic)
147 &93 NewPtY New point Y coord (ic)
         
148 &94 ScreenStart As used by VDU drivers  
149 &95 DisplayStart As used by display hardware  
150 &96 TotalScreenSize Memory allocated to screen  
         
151 &97 GPLFMD GCOL action for foreground col  
152 &98 GPLBMD GCOL action for background col  
153 &99 GFCOL Graphics foreground col  
154 &9A GBCOL Graphics background col  
155 &9B TForeCol Text foreground col  
156 &9C TBackCol Text background col  
157 &9D GFTint Graphics foreground tint  
158 &9E GBTint Graphics background tint  
159 &9F TFTint Text foreground tint  
160 &A0 TBTint Text background tint  
         
161 &A1 MaxMode Highest (standard) mode available  
         
162 &A2 GCharSizeX X size of VDU5 chars (pixels)  
163 &A3 GCharSizeY Y size of VDU5 chars (pixels)  
164 &A4 GCharSpaceX X spacing of VDU5 chars (pixels)  
165 &A5 GCharSpaceY Y spacing of VDU5 chars (pixels)  
         
166 &A6 HLineAddr Address of horizontal line-draw routine  
         
167 &A7 TCharSizeX X size of VDU4 chars (pixels)  
168 &A8 TCharSizeY Y size of VDU4 chars (pixels)  
169 &A9 TCharSpaceX X spacing of VDU4 chars (pixels)  
170 &AA TCharSpaceY Y spacing of VDU4 chars (pixels)  
         
171 &AB GcolOraEorAddr Addr of colour blocks for current GCOLs  
         
172 &AC VIDCClockSpeed VIDC clock speed in kHz (not RISC OS 2)  
         
174 &AE Left border size1  
175 &AF Bottom border size1  
176 &B0 Right border size1  
177 &B1 Top border size1  
         
256 &100 WindowWidth Width of text window in chars  
257 &101 WindowHeight Height of text window in chars  

1 Available from RISC OS 5.07 onwards

See also

  • GCOL OR and EOR Address
  • Fast Horizontal Line Draw Routine
  • Mode Variable Numbers
  • OS_ReadVduVariables
Revised on December 1, 2009 21:29:50 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: OS_ReadVduVariables, Fast Horizontal Line Draw Routine, GCOL OR and EOR Address, ECF Block

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