From f9c8634346edb0eabee770d49aeff89aebf27de5 Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 3 Nov 2004 18:33:23 +0000 Subject: [PATCH] Set view and draw pages git-svn-id: svn://svn.cc65.org/cc65/trunk@3272 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/tgi/tgi_init.s | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.39.5