mirror of
https://github.com/irmen/prog8.git
synced 2024-06-26 07:29:32 +00:00
textio.clear_screen() now uses kernal routine to clear the text screen, this also resets the cursor to top left.
This commit is contained in:
parent
8df778a515
commit
c39fc4010d
|
@ -16,7 +16,7 @@ const ubyte DEFAULT_HEIGHT = 25
|
|||
|
||||
|
||||
sub clear_screen() {
|
||||
clear_screenchars(' ')
|
||||
txt.chrout(147)
|
||||
}
|
||||
|
||||
asmsub fill_screen (ubyte char @ A, ubyte color @ Y) clobbers(A) {
|
||||
|
|
|
@ -16,7 +16,7 @@ const ubyte DEFAULT_HEIGHT = 60
|
|||
|
||||
|
||||
sub clear_screen() {
|
||||
clear_screenchars(' ')
|
||||
txt.chrout(147)
|
||||
}
|
||||
|
||||
asmsub fill_screen (ubyte char @ A, ubyte color @ Y) clobbers(A) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user