mirror of
https://github.com/AppleCommander/bastools.git
synced 2026-04-24 04:21:03 +00:00
Found bug in Key Perfect 5.0. Once a REM was detected... it never got reset. Doh!
This commit is contained in:
+1
-1
@@ -131,7 +131,6 @@ public class MicrosparcKeyPerfect5 implements Visitor {
|
||||
Checksum lineChecksum = new Checksum();
|
||||
Checksum pgmChecksum = new Checksum();
|
||||
final List<Integer> lines = new ArrayList<>();
|
||||
boolean inComment = false;
|
||||
while (code.hasRemaining()) {
|
||||
int ptr = code.getShort();
|
||||
if (ptr == 0) break;
|
||||
@@ -144,6 +143,7 @@ public class MicrosparcKeyPerfect5 implements Visitor {
|
||||
pgmChecksum.addByte(b2);
|
||||
lines.add(b2 << 8 | b1);
|
||||
// Process tokenized line...
|
||||
boolean inComment = false;
|
||||
int ch = 0;
|
||||
do {
|
||||
ch = Byte.toUnsignedInt(code.get());
|
||||
|
||||
@@ -234,4 +234,4 @@ tests:
|
||||
------------- --------
|
||||
1 - 160 E11CFC2E
|
||||
170 - 260 CF1C6F7F
|
||||
PROGRAM TOTAL
|
||||
PROGRAM TOTAL D6462CDD
|
||||
|
||||
Reference in New Issue
Block a user