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:
Irmen de Jong 2020-12-14 14:28:53 +01:00
parent 8df778a515
commit c39fc4010d
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {