mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Removed the call to tgi_clear from tgi_init, so the screen is not
automatically cleared. git-svn-id: svn://svn.cc65.org/cc65/trunk@4559 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
79820fe4ec
commit
6d89093d4b
@ -5306,10 +5306,14 @@ be used in presence of a prototype.
|
||||
<tag/Header/<tt/<ref id="tgi.h" name="tgi.h">/
|
||||
<tag/Declaration/<tt/void __fastcall__ tgi_init (void);/
|
||||
<tag/Description/The tgi_init function will set the default palette to the
|
||||
hardware and clear the screen.
|
||||
hardware.
|
||||
<tag/Limits/<itemize>
|
||||
<item>The function is only available as fastcall function, so it may only
|
||||
be used in presence of a prototype.
|
||||
<item><tt/tgi_init/ will not clear the screen. This allows switching between
|
||||
text and graphics mode on platforms that have separate memory areas for the
|
||||
screens. If you want the screen cleared, call <tt/<ref id="tgi_clear"
|
||||
name="tgi_clear">/ after <tt/tgi_init/.
|
||||
</itemize>
|
||||
<tag/Availability/cc65
|
||||
<tag/See also/Other tgi functions.
|
||||
|
@ -65,11 +65,7 @@
|
||||
jsr pushax ; Width scale
|
||||
jsr pushax ; Heigh scale
|
||||
jsr pusha ; Text direction = TGI_TEXT_VERTICAL
|
||||
jsr _tgi_textstyle ; A = Font = TGI_FONT_BITMAP
|
||||
|
||||
; Clear the screen
|
||||
|
||||
jmp tgi_clear
|
||||
jmp _tgi_textstyle ; A = Font = TGI_FONT_BITMAP
|
||||
|
||||
; Error exit
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user