diff --git a/src/main/kc/target/atarixl.ld b/src/main/kc/target/atarixl.ld index 7c773d0a0..6ea3d88b5 100644 --- a/src/main/kc/target/atarixl.ld +++ b/src/main/kc/target/atarixl.ld @@ -15,7 +15,7 @@ ProgramEnd: // Binary File Header .byte $ff, $ff // Program segment [start address, end address, data] -.word ProgramStart, ProgramEnd +.word ProgramStart, ProgramEnd-1 .segmentout [ segments="Program" ] // RunAd - Run Address Segment [start address, end address, data] .word $02e0, $02e1 diff --git a/src/main/kc/target/atarixl.tgt b/src/main/kc/target/atarixl.tgt index 6ee8bbf3b..26251f716 100644 --- a/src/main/kc/target/atarixl.tgt +++ b/src/main/kc/target/atarixl.tgt @@ -2,7 +2,7 @@ "extension": "xex", "link": "atarixl.ld", "cpu": "MOS6502X", - "emulator": "65XEDebugger", + "emulator": "atari800 -xl", "defines": { "__ATARIXL__": 1 }