diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/screen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c index 252d39d..8fd2309 100644 --- a/src/screen.c +++ b/src/screen.c @@ -39,10 +39,10 @@ static void scr_scroll(char s) { } void scr_init(void) { - int i, old_dma; + int i; + + OS.sdmctl = 0; /* disappear the screen */ - old_dma = OS.sdmctl; - OS.sdmctl = 0; scr_waitvcount(112); /* after the last GR.0 line */ *SDLST = DLIST_BOT_ADDR; OS.chbas = FONT_ADDR_HI; @@ -56,7 +56,7 @@ void scr_init(void) { strcpy(scr_names[1], "[private]"); scr_status[0] = scr_status[1] = SCR_INACTIVE; - OS.sdmctl = old_dma; + OS.sdmctl = 0x22; /* show the screen again */ scr_display(0); } |
