EasyManua.ls Logo

Commodore 128 - Page 342

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RDOT
Return current position or color of pixel cursor.
RDOT (N)
where:
N = 0 returns the X coordinate of the pixel cursor
N = 1 returns the Y coordinate of the pixel cursor
N = 2 returns the color source of the pixel cursor
This function returns the location of the current position of the
pixel cursor (PC) or the current color source of the pixel cursor.
EXAMPLE:
PRINT RDOT(O) Returns X position of PC
PRINT RDOT(1) Returns Y position of PC
PRINT RDOT(2) Returns color source of PC (0 to 3)
RGR
Return current graphic mode
RGR(X)
This function returns the current graphic mode. X is a dummy
argument, which must be specified. The counterpart of the RGR
function is the GRAPHIC command. The value returned by
RGR(X) pertains to the following modes:
VALUE GRAPHIC MODE
0 40 column (VIC) text
1 Standard bit map
2 Split screen bit map
3 Multicolor bit map
4 Split screen Multicolor bit map
5 80 column (8563) text
EXAMPLE:
PRINT RGR(O)
1
This displays the current graphic mode, in this case, standard bit
map mode.
18-14

Table of Contents

Other manuals for Commodore 128

Related product manuals