From d7405d86693384386fe13f0b2747912d207b1529 Mon Sep 17 00:00:00 2001 From: Flight_Control Date: Wed, 16 Nov 2022 22:17:29 +0100 Subject: [PATCH] Fixing bugs: - far calls are now ALL iterated and flagged with a bank! - procedure objects are taken as the base for far call asm generation, not the call objects anymore (too tricky). But i have kept the call objects to be also updated with the bank for any reference later! --- .../java/dk/camelot64/kickc/passes/Pass1ProcedureFar.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureFar.java b/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureFar.java index a74f5eed0..2bc3b794e 100644 --- a/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureFar.java +++ b/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureFar.java @@ -41,8 +41,8 @@ public class Pass1ProcedureFar extends Pass1Base { throw new CompileError("Error! Interrupts cannot be far called. "+procedure.getRef().toString()); } farProcedureCall(call, procedure, statementsIt, block, blocksIt); - // Exit and restart - return false; + // Continue +// return true; } } }