]> git.sur5r.net Git - cc65/commitdiff
Set view and draw pages
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 3 Nov 2004 18:33:23 +0000 (18:33 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 3 Nov 2004 18:33:23 +0000 (18:33 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3272 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/tgi/tgi_init.s

index 063b56ee1b42345756fcedbc693d00c1e8531e31..f45eda7b02a8309b82c121ead85dc6677b9c6de2 100644 (file)
 
         inc     _tgi_gmode              ; Remember that graph mode is active
 
-; Do driver initialization. First set the default palette.
+; Do driver initialization. Set draw and view pages.
+
+       lda     #0
+       jsr     tgi_setviewpage
+       lda     #0
+       jsr     tgi_setdrawpage
+
+; Set the default palette.
 
         jsr     tgi_getdefpalette       ; Get the default palette into A/X
         sta     ptr1