OSBYTE &70

From BeebWiki
Revision as of 21:30, 3 April 2015 by Jgharston (talk | contribs) (Added Integra-B info.)
Jump to: navigation, search

OSBYTE &70 (112) - Select Main/Shadow for VDU access

   On entry:
       X=0 Use whatever the default for the current mode is
       X=1 Use main memory
       X=2 Use shadow memory
   RISC OS:
   The value of X can be greater than 2 as well, and instructs the VDU
   drivers to use the bank at screenbase+(X*modesize)

This call specifies which bank of memory the Master VDU drivers access. Using this and OSBYTE &71 a program can use the VDU to write to one bank of memory while the other is being displayed.

See Also

Jgharston (talk) 20:30, 3 April 2015 (UTC)