mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-24 08:02:27 +00:00
Merge branch 'master' of github.com:sehugg/8bitworkshop
This commit is contained in:
commit
6f292bbecf
2 files changed
+2
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user