Difference between revisions of "OSBYTE &70"

From BeebWiki
Jump to: navigation, search
(update)
m (1 revision)
(No difference)

Revision as of 20:12, 8 March 2015

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

       X=0 Use whatever the default for the current mode is
       X=1 Use main memory
       X=2 Use shadow memory
   (Risc OS 1.00)
   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

WikiSysop (talk) 13:33, 8 March 2015 (UTC)