From 7cd1324c4e9eff75126bb0247256d209f4ac31fb Mon Sep 17 00:00:00 2001 From: Karol Stasiak Date: Fri, 28 Jun 2019 21:45:28 +0200 Subject: [PATCH] Fix the rasterbar example --- examples/c64/rasterbar.mfk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/c64/rasterbar.mfk b/examples/c64/rasterbar.mfk index 6183c0e6..704c1d62 100644 --- a/examples/c64/rasterbar.mfk +++ b/examples/c64/rasterbar.mfk @@ -15,7 +15,7 @@ void main() { for colour_index, 0, until, colours.length { colour = colours[colour_index] while wait_for != vic_raster { } - stabilize(8) + stabilize(10) vic_border = colour wait_for += 2 } @@ -26,11 +26,11 @@ void main() { } -asm void stabilize(byte x){ +inline asm void stabilize(byte x){ burn: DEX BNE burn - RTS + ? RTS } const array colours = [