Difference between revisions of "OSBYTE &71"

From BeebWiki
Jump to: navigation, search
m (Added Integra-B info.)
m (Added return value, variable location.)
Line 3: Line 3:
  
 
     On entry:
 
     On entry:
    X=0 Use whatever the default for the current mode is
+
        X=0 Use whatever memory the current screen MODE uses
 
         X=1 Use main memory
 
         X=1 Use main memory
 
         X=2 Use shadow memory
 
         X=2 Use shadow memory
 +
    On exit:
 +
        X=preserved
 
     RISC OS:
 
     RISC OS:
 
     The value of X can be greater than 2 as well, and instructs the video
 
     The value of X can be greater than 2 as well, and instructs the video
Line 11: Line 13:
  
 
This call specifies which bank of memory the Master video display hardware
 
This call specifies which bank of memory the Master video display hardware
access. Using this and [[OSBYTE &70]] a program can use the VDU to write to
+
accesses. Using this and [[OSBYTE &70]] a program can use the VDU to write
one bank of memory while the other is being displayed.
+
to one bank of memory while the other is being displayed.
  
==See Also==
+
The setting is stored in the [[OSBYTE &F1]] variable.
 +
 
 +
==See also==
 
* [[OSBYTE &49]] - Check for Integra-B shadow memory
 
* [[OSBYTE &49]] - Check for Integra-B shadow memory
 
* [[OSBYTE &6C]] - Select Master/Integra-B shadow memory
 
* [[OSBYTE &6C]] - Select Master/Integra-B shadow memory
Line 26: Line 30:
 
* http://mdfs.net/Docs/Comp/BBC/Osbyte00
 
* http://mdfs.net/Docs/Comp/BBC/Osbyte00
  
[[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 20:30, 3 April 2015 (UTC)
+
[[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 01:12, 4 April 2015 (UTC)

Revision as of 02:12, 4 April 2015

OSBYTE &71 (113) - Select Main/Shadow for Display hardware

   On entry:
       X=0 Use whatever memory the current screen MODE uses
       X=1 Use main memory
       X=2 Use shadow memory
   On exit:
       X=preserved
   RISC OS:
   The value of X can be greater than 2 as well, and instructs the video
   hardware to use the bank at screenbase+(X*modesize)

This call specifies which bank of memory the Master video display hardware accesses. Using this and OSBYTE &70 a program can use the VDU to write to one bank of memory while the other is being displayed.

The setting is stored in the OSBYTE &F1 variable.

See also

Jgharston (talk) 01:12, 4 April 2015 (UTC)