[comp.sys.ti] myarc video xops

ebray@pacsbb.UUCP (Eric Bray) (07/02/89)

* SetVideoMode
*
* R1x = Video mode
*
* Video modes:
*       0000    Text 1 mode
*       0001    Text 2 mode
*       0002    MultiColor mode
*       0003    Graphic 1 mode
*       0004    Graphic 2 mode
*       0005    Graphic 3 mode
*       0006    Graphic 4 mode
*       0007    Graphic 5 mode
*       0008    Graphic 6 mode
*       0009    Graphic 7 mode
*       000A    Text 2 mode -- 26 lines
*
*                0   1   9   C  R

* GetVideoMode
*
* -----
* R0x = Returned video mode
* R1x = Number of columns
* R2x = Number of rows
* R3x = Number of Graphics columns (pixels)
* R4x = Number of Graphics rows (pixels)
* R5x = Current page offset (in pixel rows, use for chip commands)
* R6x = Color of screen border
* R7h = Foreground color of text
* R7l = Background color of text
*
X901VC

* SetCurPos
*
* R1x = Row number
* R2x = Column number
*
X902VC

* GetCurPos
*
* -----
* R0x = Returned row number
* R1x = Returned column number
*
X903VC

* SetDisPage
*
* R1x = Page number
* R2x = Initialize tables? (0=YES !0=NO)
*
X904LS  DATA    X904M0,X904M1,X904M2,X904M3

* GetDisPage
*
* -----
* R0x = Returned page number
*
X905VC
X905L1  MOV     @PAGE,*R13
        RT

* ScrollWinUp
*
* R1x = Number of lines to scroll
* R2x = Row number of upper left corner
* R3x = Column number of upper left corner
* R4x = Row number of lower right corner
* R5x = Column number of lower right corner
* R6x = Character value for blank lines
* R7h = Foreground color for blank lines
* R7l = Background color for blank lines
*
X906LS  DATA    X906M0,X906M0,X906M2,X906M0

* ScrollWinDown
*
* R1x = Number of lines to scroll
* R2x = Row number of upper left corner
* R3x = Column number of upper left corner
* R4x = Row number of lower right corner
* R5x = Column number of lower right corner
* R6x = Character value for blank lines
* R7h = Foreground color for blank lines
* R7l = Background color for blank lines
*
X907LS  DATA    X907M0,X907M0,X907M2,X907M0