Skip to content

Commit 06917d2

Browse files
committedApr 6, 2022
Fix: Reorded BASIC dialect file for Mega65/V10 so GOSUB and GOTO are highlighted properly
1 parent 79e4989 commit 06917d2

File tree

8 files changed

+9
-7
lines changed

8 files changed

+9
-7
lines changed
 

‎C64Models/Types/Types.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ static ConstantData()
13311331
AddC64Key( KeyboardKey.KEY_ARROW_UP, KeyModifier.COMMODORE, KeyType.GRAPHIC_SYMBOL, 158, true, 0xff, true, (char)0xee5e, true, "PI" ).Replacements.AddRange( new string[] { "PI", "SHIFT-ARROWUP" } ); // PI
13321332

13331333
// reverse keys!
1334-
AddC64Key( KeyboardKey.KEY_SPACE, KeyModifier.NORMAL, KeyType.CONTROL_CODE, 160, true, 0, false, (char)0xeee0, true, "REVERSE SPACE" ); // reverse space
1334+
AddC64Key( KeyboardKey.UNDEFINED, KeyModifier.NORMAL, KeyType.CONTROL_CODE, 160, true, 0, false, (char)0xeee0, true, "REVERSE SPACE" ); // reverse space
13351335
AddC64Key( KeyboardKey.UNDEFINED, KeyModifier.NORMAL, KeyType.CONTROL_CODE, 161, true, 0, false, (char)0xeea1, true, "REVERSE !" );
13361336
AddC64Key( KeyboardKey.UNDEFINED, KeyModifier.NORMAL, KeyType.CONTROL_CODE, 162, true, 0, false, (char)0xeea2, true, "REVERSE \"" );
13371337
AddC64Key( KeyboardKey.UNDEFINED, KeyModifier.NORMAL, KeyType.CONTROL_CODE, 163, true, 0, false, (char)0xeea3, true, "REVERSE #" );

‎C64Studio/BASIC Dialects/BASIC 65.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ GCOPY;fe32;
9393
GENLOCK;fe38;
9494
GET;A1;
9595
GETKEY;a1f9;
96-
GO;CB;
9796
GOSUB;8d;
9897
GOTO;89;
98+
GO;CB;
9999
GRAPHIC;de;
100100
HEADER;F1;
101101
HELP;ea;

‎C64Studio/BASIC Dialects/BASIC V10.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ FOREGROUND;fe39;
8282
FRE;b8;
8383
GET;A1;
8484
GETKEY;a1f9;
85-
GO;CB;
8685
GOSUB;8d;
8786
GOTO;89;
87+
GO;CB;
8888
GRAPHIC;de;
8989
HEADER;F1;
9090
HELP;ea;

‎C64StudioRelease/BASIC Dialects/BASIC 65.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ GCOPY;fe32;
9393
GENLOCK;fe38;
9494
GET;A1;
9595
GETKEY;a1f9;
96-
GO;CB;
9796
GOSUB;8d;
9897
GOTO;89;
98+
GO;CB;
9999
GRAPHIC;de;
100100
HEADER;F1;
101101
HELP;ea;

‎C64StudioRelease/BASIC Dialects/BASIC V10.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ FOREGROUND;fe39;
8282
FRE;b8;
8383
GET;A1;
8484
GETKEY;a1f9;
85-
GO;CB;
8685
GOSUB;8d;
8786
GOTO;89;
87+
GO;CB;
8888
GRAPHIC;de;
8989
HEADER;F1;
9090
HELP;ea;

‎Doc/basic_general.html

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ <H3>BASIC</H3>
1616
When writing in BASIC typing one apostrophe changes the entry mode, similar to the original BASIC editor. Key placement is now positional.
1717
Any control keys actually add their control character instead. Typing a second apostrophe or clicking on the "toggle entry mode" button in the toolbar stops the mode again.<br>
1818
<br>
19+
C64Studio allows to add comments (starting with a #) which are not included in the final output.<br>
20+
<br>
1921
<br>
2022
<img src="images/basic_editor_normal.png"><br>
2123
<br>

‎TestProject/BASIC Dialects/BASIC 65.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ GCOPY;fe32;
9393
GENLOCK;fe38;
9494
GET;A1;
9595
GETKEY;a1f9;
96-
GO;CB;
9796
GOSUB;8d;
9897
GOTO;89;
98+
GO;CB;
9999
GRAPHIC;de;
100100
HEADER;F1;
101101
HELP;ea;

‎TestProject/BASIC Dialects/BASIC V10.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ FOREGROUND;fe39;
8282
FRE;b8;
8383
GET;A1;
8484
GETKEY;a1f9;
85-
GO;CB;
8685
GOSUB;8d;
8786
GOTO;89;
87+
GO;CB;
8888
GRAPHIC;de;
8989
HEADER;F1;
9090
HELP;ea;

0 commit comments

Comments
 (0)
Please sign in to comment.