From 8f37dff7297d6a5df9a2619819010c7d4c8f4db9 Mon Sep 17 00:00:00 2001 From: robjustice Date: Fri, 9 Jul 2021 08:16:58 +1000 Subject: [PATCH] report error if high/low byte address offsets used --- a3driverutil.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/a3driverutil.py b/a3driverutil.py index 5d499ac..11d18b5 100644 --- a/a3driverutil.py +++ b/a3driverutil.py @@ -228,6 +228,10 @@ def convert_o65(file): offset_address = offset_address + offset reloctable.append(offset_address) offset = readUnpack(o65file,1,type = '1') + else: + print 'Error, only 16 bit word offsets allowed, ie no lda #
address' + o65file.close() + exit() #add the length of the relocation table driver += pack('