From 7f255ed7665a2db6688eb1979190d393a748794b Mon Sep 17 00:00:00 2001 From: Francesco Sblendorio Date: Tue, 10 Sep 2019 18:55:21 +0200 Subject: [PATCH] Change in Fkey order to align to CCGMS F3 for download --- src/samples/ultimateterm.c | 20 ++++++++++---------- target/UltimateTerm-and-demos.d64 | Bin 174848 -> 174848 bytes target/u-term128.prg | Bin 22174 -> 22174 bytes target/u-term64.prg | Bin 22044 -> 22044 bytes 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/samples/ultimateterm.c b/src/samples/ultimateterm.c index d45a10b..48a8d8b 100644 --- a/src/samples/ultimateterm.c +++ b/src/samples/ultimateterm.c @@ -450,12 +450,12 @@ void term_hostselect(void) { else if (c == 'q') quit(); - else if (c == 133) { // KEY F1 + else if (c == 133) { // KEY F1: help help_screen(); cursor_off(); } - else if (c == 139) { // KEY F6 + else if (c == 135) { // KEY F5: send DOS command px = wherex(); py = wherey(); dos_commands(); cursor_off(); @@ -535,7 +535,7 @@ void term_getconfig(void) { printf("\n\n%cPlease ensure the following:%c",CG_COLOR_YELLOW,CG_COLOR_CYAN); printf("\n - Network link is in 'Link Up' state"); printf("\n - %cPress F1%c to get help in session", CG_COLOR_WHITE, CG_COLOR_CYAN); - printf("\n - %cPress F6%c to send DOS commands", CG_COLOR_WHITE, CG_COLOR_CYAN); + printf("\n - %cPress F5%c to send DOS commands", CG_COLOR_WHITE, CG_COLOR_CYAN); uii_identify(); printf("\n\nNIC Status: %c%s%c", CG_COLOR_WHITE, uii_status, CG_COLOR_CYAN); @@ -615,12 +615,12 @@ void main(void) buff[1] = 0; if (c == 133) // KEY F1: HELP help_screen(); - else if (c == 134) // KEY F3: switch petscii/ascii - asciimode = !asciimode; - else if (c == 135) // KEY F5: download (xmodem protocol) + else if (c == 134) // KEY F3: download (xmodem protocol) download_xmodem(); - else if (c == 139) // KEY F6: send DOS commands to disk + else if (c == 135) // KEY F5: send DOS commands to disk dos_commands(); + else if (c == 139) // KEY F6: switch petscii/ascii + asciimode = !asciimode; else if (c == 136) // KEY F7: close connection break; else @@ -802,9 +802,9 @@ void help_screen(void) { gotoxy(LINE1,2); printf("\243\243\243\243\243\243\243\243\243\243\243"); gotoxy(LINE2,16); printf("Press any key to go back"); gotoxy(LINE3,5); printf("\022 F1 \222 This HELP screen"); - gotoxy(LINE3,7); printf("\022 F3 \222 Switch PETSCII/ASCII"); - gotoxy(LINE3,9); printf("\022 F5 \222 Download with Xmodem"); - gotoxy(LINE3,11); printf("\022 F6 \222 DOS commands to disk"); + gotoxy(LINE3,7); printf("\022 F3 \222 Download with Xmodem"); + gotoxy(LINE3,9); printf("\022 F5 \222 DOS commands to disk"); + gotoxy(LINE3,11); printf("\022 F6 \222 Switch PETSCII/ASCII"); gotoxy(LINE3,13); printf("\022 F7 \222 Exit BBS"); gotoxy(LINE4,21); printf("%cPlease report issues:", CG_COLOR_L_GRAY); gotoxy(LINE4,22); printf("%chttps://git.io/fjyUe", CG_COLOR_L_GRAY); diff --git a/target/UltimateTerm-and-demos.d64 b/target/UltimateTerm-and-demos.d64 index 8370a543ffabaa326354470fef4b7f6e1b145037..99d23fc6e92d8438043644e7c81b77396e7e3e00 100644 GIT binary patch delta 264 zcmZp;#?=5sTNt|}7)__wA7w1vCdtUe$m;9w;_5s7z1tApDw3DOJwu#56fPXS za{2JdllliiB!iH`G1KXC#~3BI*GMsza_}GV5BKx&cXUwzD)vygu}zt=jZKM7VUNDg z3hRwbC)+QuDeNM2ld(aOv3ERj`)ZB`S?4!D1>{4cqrWP^>=ag-CixlSjNGB87SoJp>W~o6_5e?+mspG*pztI zG88CqIQ23V_^hzr$aJ#(0-M4feF(c7$lhnNeT61tgCb-1c1>?a5oaK6*Tr#(s|jb@E()@y+l2 HH?RQ!%F8Un delta 126 zcmbQYmT}%%#tod3jNO~LBn@Shc-HFHDyWC|>el)k57@|bvi$;^!bKMdyBo;9>bW`A zv{{1DZ1Y3k`HY4~&R0VpG_o@3X>sBh$(D3v3GeOd#y;3p{HX3KTe;dKn5f z+nH>TU^LzQ-Y11o0;#td3pupkO%TVC6!g?dq$@U9u3VZY+>~0`?pUGxB zlMND#W}Dypq%ewH4)+Xk_E5NR^vdPKCr|1h1d)@|{hTF_oWHE#?C