@8bitscript/atari5200 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/rasterline.8bs +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@8bitscript/atari5200",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Atari 5200 target support for 8BitScript: the hardware underneath the portable APIs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"video.layers": 1,
|
|
54
54
|
"video.scroll": true,
|
|
55
55
|
"video.raster": true,
|
|
56
|
+
"video.colorBlend": false,
|
|
56
57
|
"video.sprites": 4,
|
|
57
58
|
"video.spritesPerLine": 4,
|
|
58
59
|
"video.spriteWidth": 8,
|
package/src/rasterline.8bs
CHANGED
|
@@ -2,11 +2,15 @@ export namespace Slot {
|
|
|
2
2
|
const BORDER: utinyint = 0;
|
|
3
3
|
const BACKGROUND: utinyint = 1;
|
|
4
4
|
const SCROLL_X: utinyint = 2;
|
|
5
|
+
const CHARSET: utinyint = 3; // the machine's alternate character set, where one exists
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
export namespace raster {
|
|
8
9
|
const ENTRIES: utinyint = 0;
|
|
9
10
|
const STRIDE: utinyint = 0;
|
|
11
|
+
const FINE_SCROLL: bool = false; // Slot.SCROLL_X entries are refused
|
|
12
|
+
const COLORS: bool = false; // Slot.BORDER/BACKGROUND entries are accepted
|
|
13
|
+
const CHARSET: bool = false; // Slot.CHARSET entries are refused
|
|
10
14
|
|
|
11
15
|
function clear(): void {
|
|
12
16
|
}
|