$18XX
GTEBindSCBArray
-
+
+ Binds an array of SCB values to either the primary or secondard background layer. This will automatically
+ update the SHR screen SCB values as the vertical offset of the designated background layer changes.
+
+
+ The SCB updates are not synchronized with the VBL, so care should be taken to select palette values that
+ minimize flicker when adjacent lines have different palette assignements and the page is scrolling
+ quickly.
+
Parameters
@@ -1834,6 +1898,11 @@ style: toolref
previous contents |
+
+ scbPtr |
+ |
+ Long—pointer to an array of SCB values. The size of the array is defined by the largest verical offset that the application expects to use. |
+
|
← |
@@ -1868,6 +1937,8 @@ style: toolref
C
+
extern pascal void GTEBindSCBArray(scbPtr)
+
Pointer scbPtr;
@@ -1877,6 +1948,7 @@ style: toolref
Parameters
+
@@ -1890,6 +1962,21 @@ style: toolref
previous contents |
+
+ longspace |
+ |
+ Long—Space for result |
+
+
+ wordspace |
+ |
+ Word—Space for result |
+
+
+ wordspace |
+ |
+ Word—Space for result |
+
|
← |
@@ -1911,6 +1998,21 @@ style: toolref
previous contents |
+
+ tileMapPtr |
+ |
+ Long—pointer to the tile map. |
+
+
+ height |
+ |
+ Word—Height of the tilemap in tiles. |
+
+
+ width |
+ |
+ Word—Width of the tilemap in tiles. |
+
|
← |
@@ -1924,6 +2026,7 @@ style: toolref
C
+
extern pascal struct TileMapInfo GTEGetBG0TileMapInfo()
@@ -1933,6 +2036,7 @@ style: toolref
Parameters
+
@@ -1946,6 +2050,26 @@ style: toolref
previous contents |
+
+ wordspace |
+ |
+ Word—Space for result |
+
+
+ wordspace |
+ |
+ Word—Space for result |
+
+
+ wordspace |
+ |
+ Word—Space for result |
+
+
+ wordspace |
+ |
+ Word—Space for result |
+
|
← |
@@ -1967,6 +2091,26 @@ style: toolref
previous contents |
+
+ height |
+ |
+ Word—Height of the playfield in lines. |
+
+
+ width |
+ |
+ Word—Width of the playfield in bytes. |
+
+
+ y |
+ |
+ Word—Vertical coordinate of the upper-left corner. |
+
+
+ x |
+ |
+ Word—Horizontal coordinate of the upper-left corner. |
+
|
← |
@@ -1980,6 +2124,7 @@ style: toolref
C
+
extern pascal struct ScreenInfo GTEGetScreenInfo()