]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari5200/extra/conioscreen_20x12.s
atari5200: changes from discussions in #870
[cc65] / libsrc / atari5200 / extra / conioscreen_20x12.s
index 9cde9826d7e95151b895c7f59352176bbb70a82a..b1e50aed7512dc0342083d04188b44b1bdcafcb7 100644 (file)
@@ -7,7 +7,7 @@
 SCREEN_BUF_SIZE =       20 * 12
 SCREEN_BUF      =       $4000 - SCREEN_BUF_SIZE
 
-                .export screen_setup
+                .export initconio
                 .export screen_width, screen_height
                 .export conio_color
 
@@ -17,7 +17,8 @@ screen_height   =       12
 
                 .segment "ONCE"
 
-screen_setup:
+; initialize color registers, display list, and screen memory
+initconio:
 
                 ; initialize SAVMSC
                 lda     #<SCREEN_BUF
@@ -62,9 +63,9 @@ clrscr:         sta     (SAVMSC),y
 
                 rts
 
-                .data
+                .bss
 
-conio_color:    .byte   0
+conio_color:    .res    1
 
                 .segment "DLIST"