From: cuz Date: Wed, 3 Nov 2004 18:33:23 +0000 (+0000) Subject: Set view and draw pages X-Git-Tag: V2.12.0~563 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9c8634346edb0eabee770d49aeff89aebf27de5;p=cc65 Set view and draw pages git-svn-id: svn://svn.cc65.org/cc65/trunk@3272 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/tgi/tgi_init.s b/libsrc/tgi/tgi_init.s index 063b56ee1..f45eda7b0 100644 --- a/libsrc/tgi/tgi_init.s +++ b/libsrc/tgi/tgi_init.s @@ -21,7 +21,14 @@ 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