Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion presets/apple2/dos33bin.a
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/machine/apple2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading