From 866a9ee9d04f6aea015a87b4021092611b6456d4 Mon Sep 17 00:00:00 2001 From: zbyti Date: Tue, 8 Sep 2020 00:17:10 +0200 Subject: [PATCH] refactor --- examples/a8/dli-example.mfk | 2 +- examples/a8/endless_scroll.mfk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/a8/dli-example.mfk b/examples/a8/dli-example.mfk index e42c5e58..a9e61f1d 100644 --- a/examples/a8/dli-example.mfk +++ b/examples/a8/dli-example.mfk @@ -7,7 +7,7 @@ const array(byte) dl @ dlAddr = [ $41,lo(dlAddr),hi(dlAddr) ] -word SDLST @ $230 +volatile word SDLST @ $230 interrupt void dli() @ dliAddr { gtia_colpf2 = $de diff --git a/examples/a8/endless_scroll.mfk b/examples/a8/endless_scroll.mfk index cba24b56..599e84e1 100644 --- a/examples/a8/endless_scroll.mfk +++ b/examples/a8/endless_scroll.mfk @@ -3,7 +3,7 @@ const word lms1Addr = $4000 const word lms2Addr = $4060 const word lms3Addr = $40c0 -word SDLST @ $230 +volatile word SDLST @ $230 array(byte) dl @ dlAddr = [ $70,$70,$70, @@ -13,7 +13,6 @@ array(byte) dl @ dlAddr = [ $41,lo(dlAddr),hi(dlAddr) ] - noinline asm void wait(byte register(a) f) { clc adc os_RTCLOK+2