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()EsetGray()EsetSmear()EsetBank()EsetShift() XBIOSSyntaxWORD EsetShift( mode )
WORD mode;
Function EsetShift() reads/modifies the TT030 video shifter.
Opcode 80 (0x50)
Availability This call is available when the high word of the '_VDO'
cookie has a value of 2.
Parameters mode is a WORD bit array which defines the new setting of
the video shifter as follows:
Name Bit(s) Meaning
- 0-3 These bits determine the current color bank
being used by the TT (in all modes with
less than 256 colors).
- 4-7 Unused
- 8-10 These bits determine the current mode of
the TT video shifter as follows:
Name Value
ST_LOW 0x0000
ST_MED 0x0100
ST_HIGH 0x0200
TT_MED 0x0300
TT_HIGH 0x0600
TT_LOW 0x0700
- 11 Unused
ES_GRAY 12 Setting this bit places the TT video
shifter in grayscale mode.
- 13-14 Unused
ES_SMEAR 15 Setting this bit places the TT video
shifter in smearsmear mode.
Binding move.w mode,-(sp)
move.w #$50,-(sp)
trap #14
addq.l #4,sp
Return Value EsetShift() returns the old mode setting of the video
shifter.
Caveats This call is machine-dependent to the TT030.
See Also EgetShift(), EsetGray(), EsetSmear(), EsetBank()