mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-02-18 05:30:29 +00:00
tokens
This commit is contained in:
parent
6da1441041
commit
fb68f65a95
@ -212,7 +212,7 @@ public class ApplesoftBasicProgram extends BasicProgram
|
|||||||
}
|
}
|
||||||
|
|
||||||
int ptr = endPtr + 2;
|
int ptr = endPtr + 2;
|
||||||
if (ptr < buffer.length)
|
if (ptr < buffer.length - 1) // sometimes there's an extra byte on the end
|
||||||
{
|
{
|
||||||
int offset = HexFormatter.unsignedShort (buffer, 0);
|
int offset = HexFormatter.unsignedShort (buffer, 0);
|
||||||
int programLoadAddress = offset - getLineLength (0);
|
int programLoadAddress = offset - getLineLength (0);
|
||||||
|
@ -2,7 +2,8 @@ package com.bytezone.diskbrowser.applefile;
|
|||||||
|
|
||||||
public interface ApplesoftConstants
|
public interface ApplesoftConstants
|
||||||
{
|
{
|
||||||
String[] tokens = { "END", "FOR ", "NEXT ", "DATA ", // 0x80 - 0x83
|
String[] tokens = { //
|
||||||
|
"END ", "FOR ", "NEXT ", "DATA ", // 0x80 - 0x83
|
||||||
"INPUT ", "DEL ", "DIM ", "READ ", // 0x84 - 0x87
|
"INPUT ", "DEL ", "DIM ", "READ ", // 0x84 - 0x87
|
||||||
"GR ", "TEXT ", "PR# ", "IN# ", // 0x88 - 0x8B
|
"GR ", "TEXT ", "PR# ", "IN# ", // 0x88 - 0x8B
|
||||||
"CALL ", "PLOT ", "HLIN ", "VLIN ", // 0x8C - 0x8F
|
"CALL ", "PLOT ", "HLIN ", "VLIN ", // 0x8C - 0x8F
|
||||||
|
Loading…
x
Reference in New Issue
Block a user