Merge branch 'master' of github.com:sehugg/8bitworkshop

This commit is contained in:
Steven Hugg committed 2026-09-06 08:46:07 +02:00
commit 6f292bbecf
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
; --------------------------------------------------
; Set PGM_START to desired start of program execution
; - PGM_START must be less than $C000
; - PGM_START + SIZE must be less than $13000
; - PGM_START + PGM_LENGTH must be less than $13000
; --------------------------------------------------
PGM_START equ $2000
PGM_LENGTH equ PGM_END - PGM_START
+1 -2
View File
@@ -195,8 +195,7 @@ export class AppleII extends BasicScanlineMachine implements AcceptsBIOS, Accept
const hdrOrigin = this.rom[0] | (this.rom[1] << 8);
const size = this.rom[2] | (this.rom[3] << 8);
let isPlausible = hdrOrigin < 0xc000
&& hdrOrigin + size < 0x13000
&& (hdrOrigin == 0x803 || (hdrOrigin & 0xff) == 0);
&& hdrOrigin + size < 0x13000;
if (size == data.length - 4 && isPlausible) {
this.LOAD_BASE = hdrOrigin;
this.HDR_SIZE = 4;