summaryrefslogtreecommitdiff
path: root/source/main.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-03-12 00:59:51 +0000
committerIan C <ianc@noddybox.co.uk>2007-03-12 00:59:51 +0000
commit7e2703a49de38100f9ee82042a744517fc7eb171 (patch)
treee76beb7f038e9ef51a30b5d10f5e4be7ffd73c46 /source/main.c
parenteeef0966f0448d71e79ad43d53769afebd47b459 (diff)
Altered some interfaces for the monitor.
Diffstat (limited to 'source/main.c')
-rw-r--r--source/main.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/main.c b/source/main.c
index 2fc613c..33ca01e 100644
--- a/source/main.c
+++ b/source/main.c
@@ -199,6 +199,8 @@ static void Splash(void)
SUB_BG2_YDY = 0x100;
SUB_BG2_CX = 0;
+ TM_Cls();
+
ZX81ResumeDisplay();
}
@@ -212,7 +214,7 @@ static void MapJoypad(void)
int done = FALSE;
char text[256];
- SK_DisplayKeyboard(BG_GFX_SUB);
+ SK_DisplayKeyboard();
ZX81SuspendDisplay();
@@ -361,7 +363,7 @@ int main(int argc, char *argv[])
LoadConfig();
ZX81Reconfigure();
- SK_DisplayKeyboard(BG_GFX_SUB);
+ SK_DisplayKeyboard();
SK_SetSticky(SK_SHIFT,DS81_Config[DS81_STICKY_SHIFT]);
@@ -369,9 +371,6 @@ int main(int argc, char *argv[])
{
SoftKeyEvent ev;
- TM_printf(0,0,"HL = %4.4x",z80->HL.w);
- TM_printf(0,23,"PC = %4.4x",z80->PC);
-
Z80Exec(z80);
while(SK_GetEvent(&ev))
@@ -408,7 +407,7 @@ int main(int argc, char *argv[])
break;
}
- SK_DisplayKeyboard(BG_GFX_SUB);
+ SK_DisplayKeyboard();
}
break;