Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-FileEgetShift()EsetBank() XBIOSSyntaxWORD EsetBank( bank )
WORD bank;
Function EsetBank() chooses which of 16 banks of color registers is
currently active.
Opcode 82 (0x52)
Availability This call is available when the high word of the '_VDO'
cookie has a value of 2.
Parameters bank specifies the index of the color bank to activate.
A value of ESB_INQUIRE (1) does not change anything but
still returns the current bank.
Binding move.w bank,-(sp)
move.w #$52,-(sp)
trap #14
addq.l #4,sp
Return Value EsetBank() returns the index of the old blank.
Caveats This call is machine-dependent to the TT030.
See Also EgetShift()