From 81bf24b35504fe3f6f55385b2aebaa35a9ee7b13 Mon Sep 17 00:00:00 2001 From: zbyti Date: Thu, 17 Sep 2020 12:18:00 +0200 Subject: [PATCH] A8 System Off refactor --- examples/a8/systemoff_example.mfk | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/examples/a8/systemoff_example.mfk b/examples/a8/systemoff_example.mfk index 029cea0c..8ea33344 100644 --- a/examples/a8/systemoff_example.mfk +++ b/examples/a8/systemoff_example.mfk @@ -73,17 +73,10 @@ interrupt asm void dli_first(){ } // example dli -interrupt asm void dli_second(){ - pha - lda #$de - sta gtia_colpf2 - sta antic_wsync - lda #dli_first.addr - sta vdslst.hi - pla - rti +interrupt void dli_second(){ + gtia_colpf2 = $de + antic_wsync = $de + vdslst = dli_first.addr } // wait for VBLANK