Text now comes from the bottom of the screen.

This commit is contained in:
Scott Duensing 2018-09-09 20:27:54 -05:00
parent b30c9d5f62
commit 0d16275af3
3 changed files with 257 additions and 255 deletions

View file

@ -16,8 +16,8 @@ void clear_line(void) {
void clear_screen(void) {
termClearScreen();
termMoveCursor(1, screen_rows);
jlDisplayPresent();
termMoveCursor(1, 1);
}

2
main.c
View file

@ -101,6 +101,8 @@ int main(void) {
termStart(font, 0, 0, 40, 25);
termDestruciveBackspace(false);
termMoveCursor(1, 25);
termSaveCursor();
process_arguments("gamedata.z5");
configure(V1, V8);

View file

@ -183,9 +183,9 @@ void z_erase_window( zword_t w )
return;
}
if ( h_type > V4 )
move_cursor( 1, 1 );
else
//if ( h_type > V4 )
// move_cursor( 1, 1 );
//else
move_cursor( screen_rows, 1 );
} /* z_erase_window */