@moonbase-machines/c64 0.9.1 → 0.11.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonbase-machines/c64",
3
- "version": "0.9.1",
3
+ "version": "0.11.0",
4
4
  "description": "A Commodore 64 as far as the games use it: the VIC-II, the SID, a 1541, a printer, and Moonbase's own KERNAL and BASIC in place of Commodore's ROMs.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -10,8 +10,8 @@
10
10
  "./*": "./*"
11
11
  },
12
12
  "dependencies": {
13
- "@moonbase-machines/mos6502": "0.9.1",
14
- "@moonbase-machines/charset": "0.9.1"
13
+ "@moonbase-machines/mos6502": "0.11.0",
14
+ "@moonbase-machines/charset": "0.11.0"
15
15
  },
16
16
  "scripts": {
17
17
  "prepack": "node ../../tools/package-files.mjs c64"
package/rom.js CHANGED
@@ -15,9 +15,9 @@
15
15
  // character set is moonbase's own 5 by 7 font (@moonbase-machines/charset/font.js), the Apple's: a game
16
16
  // that draws in its own characters (Zoopak's, from RAM) is not touched by it.
17
17
  //
18
- // The titles it runs, each held to the remake and to Commodore's ROMs, are `STANDS_IN`: Zoopak,
19
- // and Goldfields, whose Blitz! code calls BASIC's ROM as its library (basic-rom.js); and Crayon
20
- // on the 64, Moonbase's own, held to Commodore's ROMs.
18
+ // The titles it runs, each held to the remake and to Commodore's ROMs: Zoopak, and Goldfields, whose
19
+ // Blitz! code calls BASIC's ROM as its library (basic-rom.js); and Crayon on the 64, Moonbase's own,
20
+ // held to Commodore's ROMs.
21
21
  import { install as kernal, kernalByte, VIC, VECTORS } from './kernal.js';
22
22
  import { CONSTANTS } from './float.js';
23
23
  import { chargen } from '@moonbase-machines/charset/chargen.js';
@@ -27,8 +27,6 @@ import { instantiate, evaluator } from './basic-compile.js';
27
27
  import { Basic } from './basic.js';
28
28
  import { BasicError, ERRORS, val, scanNumber } from './numbers.js';
29
29
 
30
- export const STANDS_IN = ['zoopak', 'goldfields', 'crayon64', 'crayon64-studio'];
31
-
32
30
  const BYTES = {
33
31
  0xfffa: 0x43, 0xfffb: 0xfe, // NMI: $FE43
34
32
  0xfffc: 0xe2, 0xfffd: 0xfc, // RESET: $FCE2, the cold start