aboutsummaryrefslogtreecommitdiff
path: root/scroll
diff options
context:
space:
mode:
Diffstat (limited to 'scroll')
-rw-r--r--scroll/roulette.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/scroll/roulette.s b/scroll/roulette.s
index 4b13c22..aca7d72 100644
--- a/scroll/roulette.s
+++ b/scroll/roulette.s
@@ -107,6 +107,7 @@
;;; player around.
.segment "FIXED"
.include "../shared/diskun.s"
+.include "../shared/clear.s"
;;; NOTE: the main bulk of this example. Comments only for the parts which are
;;; specific to this example.
@@ -201,6 +202,10 @@ reset:
;; The main function is used here only for further initialization purposes.
.proc main
+ ;; Clear both screens to avoid funky business, as we are not doing anything
+ ;; specially clever here.
+ CLEAR_SCREENS $20, $24
+
;; Initialize both the palettes and the nametables.
jsr Diskun::init_palettes
jsr init_nametables