From 6d1c980f19eb19ba8bbdf5f8d5d60b006831575e Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Thu, 6 Aug 2020 11:50:15 +0200 Subject: [PATCH] Fixed off-by-1 error in XEX-format. Changed emulator. --- src/main/kc/target/atarixl.ld | 2 +- src/main/kc/target/atarixl.tgt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }