From 0bc192bffbf28ba5733ae955916e5ebc72f3641f Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 5 Jul 2021 19:29:54 +0000 Subject: Initial working version. Still todo : Tapes, Sound --- source/main.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'source/main.c') diff --git a/source/main.c b/source/main.c index 83dd070..f096f9a 100644 --- a/source/main.c +++ b/source/main.c @@ -60,7 +60,7 @@ */ static const char *main_menu[]= { - "Reset SPEC", + "Reset Spectrum", "Select Tape", "Configure", "Map Joypad to Keys", @@ -122,7 +122,6 @@ static void Splash(void) Framebuffer upper; Framebuffer lower; - SPECEnableFileSystem(TRUE); SNAP_Enable(TRUE); while(!(hidKeysDown() & KEY_A)) @@ -135,9 +134,9 @@ static void Splash(void) FB_Blit(&upper, IMG_SPLASH, 0, scr_y); FB_Print(&upper, "10 REM VERSION \001" DSSPEC_VERSION "\001\n" - "20 PRINT \"\001THE SPEC IS ACE\001\"\n" + "20 PRINT \"\001THE SPECTRUM IS ACE\001\"\n" "30 GOTO 20", - 0, 230, COL_WHITE, COL_TRANSPARENT); + 0, 230, COL_BLACK, COL_TRANSPARENT); FB_printf(&lower, scr_x, 8, COL_WHITE, COL_TRANSPARENT, "%-42.42s",scroller); @@ -191,9 +190,9 @@ static void MapJoypad(void) FB_Clear(&upper, COL_WHITE); FB_Print(&upper, "Press the joypad button you want\n" - "to define and then the SPEC key\n" - "you want to use.\n\n" - "Press CONFIG to finish.", + "to define and then the Spectrum key\n" + "you want to use for that button.\n\n" + "Press MENU to finish.", 0, upper.height - 40, COL_BLACK,COL_TRANSPARENT); if (pad != NUM_SOFT_KEYS) @@ -263,6 +262,7 @@ int main(int argc, char *argv[]) SK_DisplayKeyboard(); SK_SetSticky(SK_SHIFT,DSSPEC_Config[DSSPEC_STICKY_SHIFT]); + SK_SetSticky(SK_SYMBOL,DSSPEC_Config[DSSPEC_STICKY_SHIFT]); if (DSSPEC_Config[DSSPEC_LOAD_DEFAULT_SNAPSHOT]) { @@ -279,9 +279,9 @@ int main(int argc, char *argv[]) SK_DisplayKeyboard(); - Z80Exec(z80); + SPECStartFrame(&upper); - SPECRenderDisplay(&upper, z80); + Z80Exec(z80); FB_EndFrame(); -- cgit v1.2.3