mirror of
https://github.com/cc65/cc65.git
synced 2025-02-26 23:30:03 +00:00
Set view and draw pages
git-svn-id: svn://svn.cc65.org/cc65/trunk@3272 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ec3dc8f73d
commit
f9c8634346
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user