https://github.com/paulrho/ijk64/raw/master/C64.jar
java -jar C64.jar -c -2(Centered and double pixel size)
HELP LOAD"%" LIST LOAD"%GENES2016" RUN
For CTRL key use Tab For C= key use Left-Ctrl For RUN/STOP key use Shift-Esc Run with proxy: java -Dhttp.proxyHost=111.222.111.123 -Dhttp.proxyPort=8080 -jar C64.jar
Run faster (initially runs slower, then runs nearly twice as fast) java -server -jar C64.jar
load"%"
load"%filename"
REM PROGRAM = $.BASIC 17 "GENESDT" :PRG 20 "G20" :PRG 21 "G2010B" :PRG 10 "TRYALL" :PRG 2 MANY BLOCKS FREE
REM PROGRAM = HTTP://WWW.FUTEX.COM.AU/BASIC/$.TXT 28 ":GENES2016" :PRG 20 ":PEOPLE10-1" :PRG 36 ":STANDEW-39" :PRG 1 "--------------------":PRG 1 ":PI" :PRG 10 ":GRETAGAME2" :PRG 10 ":GRETAMULT2" :PRG 10 ":MINEPLOT" :PRG 10 ":BTEST5F" :PRG 10 ":PISTONS" :PRG 1 "--------------------":PRG 1 ":TESTS/$" :DIR 1 "====================":PRG 2 "PIBACK4.PNG" :NOLOAD 2 "PIBACK4B.PNG" :NOLOAD 2 "C64.JAR" V3.4.0.B1524:NOLOAD 2 MANY BLOCKS FREE
LOAD"%" READY. LIST REM PROGRAM = HTTP://WWW.FUTEX.COM.AU/BASIC/DIR.PHP %AN40F11 11318 2016-03-22 00.47 %AUTEST1000 881 2016-03-29 21.48 %BTEST5F 3769 2016-03-22 07.37 %FLASHWORD4 7672 2016-03-22 07.22 %GENES2016 28277 2016-03-27 21.06 %GRETAGAME2 4015 2016-03-22 07.38 %GRETAMULT2 3437 2016-03-22 07.38 %GTESTCASE2 382 2016-03-22 07.00 %MINEPLOT 5291 2016-03-22 07.37 %MP2 6592 2016-03-22 00.56 %PATIENCE 9277 2016-03-28 19.36 %PEOPLE10-1 20656 2016-03-22 07.02 %PI 345 2016-03-25 23.15 %PIB 355 2016-03-26 00.53 %PISTONS 2334 2016-03-22 07.37 %PRGBUGS 113 2016-03-22 09.06 %README 609 2016-03-22 07.41 %REVERSI 7531 2016-03-31 21.33 %SATEL250 24524 2016-03-22 10.15 %STANDREW-39 36574 2016-03-22 07.37 %TAROT 24479 2016-04-02 16.07 %TIME1 268 2016-03-22 15.52 %TRYALL 2045 2016-03-22 00.35 READY.
Accepted commands
area | ver | command | description |
---|---|---|---|
flow | 2.0 | FOR..TO..STEP | |
flow | 2.0 | NEXT | |
flow | 2.0 | IF..THEN/GOTO | |
flow | 2.0 | GOTO/GO TO | |
flow | 2.0 | GOSUB | |
flow | 2.0 | ON..GOTO/GOSUB | |
flow | 2.0 | RETURN | |
flow | 2.0 | END | |
io | 2.0 | GET#5 | |
io | 2.0 | PRINT# | |
io | 2.0 | ||
io | 2.0 | OPEN | |
io | 2.0 | INPUT/#1 | |
io | 2.0 | INPUT# | |
io | 2.0 | CLOSE | |
var | 2.0 | LET | |
var | 2.0 | DEF FN | |
var | 2.0 | DIM | |
var | 2.0 | DATA | |
var | 2.0 | READ | |
var | 2.0 | RESTORE | |
var | 2.0 | pi | |
var | 2.0 | TI | interger time in 60ths of second |
var | 2.0 | TI$ | HHMMSS |
var | 2.0 | ST | File I/O status |
sys | 2.0 | POKE | |
sys | 2.0 | PEEK | |
sys | 2.0 | SYS | |
control | 2.0 | LIST | list current program |
control | 2.0 | RUN | run current program |
control | 2.0 | LOAD | |
control | 2.0 | SAVE | |
control | 2.0 | VERIFY | N/A |
control | 2.0 | CLR | |
control | 2.0 | NEW | |
control | 2.0 | CONT | |
control | 2.0 | STOP | |
control * | 7.0 | SLOW | N/A |
control * | 7.0 | FAST | N/A |
control | 2.0 | WAIT | Not defined / Not implemented (yet) |
ext:meta | ijk | META-VERBOSE | |
ext:meta | ijk | META-SCALE | |
ext:meta | ijk | META-SCALEY | |
ext:meta | ijk | META-ROWS | |
ext:meta | ijk | META-COLS | |
ext:meta | ijk | META-BGTRANS | |
ext:meta | ijk | META-CHARSET | |
ext:meta | ijk | META-DUMPSTATE | |
ext:meta | ijk | META-TIMING | |
ext:meta | ijk | EXIT | |
ext:expand | ijk | HELP | |
ext:expand | ijk | LABEL | |
ext:graphics | hb | SCREEN | |
ext:graphics | hb | BEGINFRAME | |
ext:graphics | hb | ENDFRAME | |
ext:graphics | hb | ANTIALIAS | |
ext:graphics | hb | CLS | |
ext:graphics | hb | LSET | |
ext:graphics | hb | FSET | |
ext:graphics | hb | PSET | |
ext:graphics | hb | ALERT | |
ext:graphics | hb | RECT | |
ext:graphics | hb | LINE | |
ext:graphics | hb | CIRCLE | |
ext:graphics | hb | GPRINT | |
ext:graphics | hb | FILES | |
ext:graphics | hb | IMAGELOAD | |
ext:graphics | hb | DRAWIMAGE | |
ext:graphics | hb | DESTROYIMAGE | |
ext:graphics | hb | SLEEP | * also works without starting graphics mode |
func/trig | 2.0 | SIN( | |
exp:func | ASIN( | ||
func/trig | 2.0 | COS( | |
exp:func | ACOS( | ||
func/trig | 2.0 | TAN( | |
func/trig | 2.0 | ATN( | |
exp:func | SILLY( | test func | |
func | 2.0 | SGN( | |
func | 2.0 | INT( | |
func | 2.0 | ABS( | |
func | 2.0 | RND( | |
func | 2.0 | EXP( | |
func | 2.0 | LOG( | |
func | 2.0 | SQRT(/SQR( | |
func | 2.0 | POS( | |
func | 2.0 | PEEK( | |
func | 2.0 | FRE( | 0 = actual free, 1 = free (of total) 2,3,4 |
func/str | 2.0 | VAL( | |
func/str | 2.0 | TAB( | |
func/str | 2.0 | SPC( | |
func/str | 2.0 | LEN( | |
func/str | 2.0 | ASC( | |
func/str | 2.0 | CHR$( | |
func/str | 2.0 | STR$( | |
func/str | 2.0 | LEFT$( | |
func/str | 2.0 | RIGHT$( | |
exp:func | PCASC( | ||
exp:func | PCCHR$( | ||
exp:func | PETCONVERT( | ||
exp:func | PETUNCONVERT( | ||
exp:func | 7.0 | INSTR( | |
exp:func | metaRDS( | used internally | |
exp:func | EVAL$( | evaluates a run time string | |
exp:op | , | internal pri:1 | |
exp:op | === | internal pri:2 | |
logic | 2.0 | OR | pri:3 |
exp:func/logic | XOR | pri:4 | |
logic | 2.0 | AND | pri:5 |
logic | 2.0 | NOT | pri:6 right->left |
op | 2.0 | > | pri:7 |
op | 2.0 | < | pri:7 |
op | 2.0 | ≤ | pri:7 |
op | 2.0 | ≥ | pri:7 |
op | 2.0 | != | pri:7 |
op | 2.0 | <> | pri:7 |
op | 2.0 | = | pri:7 |
op | 2.0 | == | pri:7 |
op | 2.0 | + | pri:8 |
op | 2.0 | - | pri:8 |
op | % | mod, Not implemented (yet) | |
op | 2.0 | * | pri:9 |
op | 2.0 | / | pri:9 |
op | 2.0 | -(ve) | pri:10 right->left *newly updated precedence |
op | 2.0 | ^ | pri:11 |
op | 2.0 | ( | pri:12 |
op | 2.0 | ) | pri:12 |
Java, on github: https://github.com/paulrho/ijk64.
* 160 isn't a reversed block (I think) =FIXED!- changed test case * string after data token space = FIXED * doesn't allow input"string";i$ - FIXED * things ending in SPC() (or TAB()?)-FIXED is same as ;-FIXED * ; then space then : or EOL-FIXED * poke1024,160 : wont show unless space over it! (default color black!) -> see clear screen set colour . let - done ----- * when clear screen - should set colour to cursor colour (?) * doesn't allow input c : (treats as string) * exact 40 chars with ; - note sure this is an issue * DATA/READ cant read data unless run already (should force a caching somehow) * space between func name and ( (should be allowed but isnt') ** Feature completions: *implement: . go . usr . cmd ** Feature Expansions: * required feature: copy paste part of screen and full log * required 128 expansions: * print using * else * begin * bend * implement: . Implement: . Graphics: GRAPHIC, SCNCLR, COLOR, BOX, CIRCLE, DRAW, PAINT, LOCATE, SCALE; CHAR . RCLR(), RDOT(), RGR() . Sprites & Shapes: SSHAPE, GSHAPE, SPRSAV, SPRDEF, SPRITE, SPRCOL, MOVSPR, RSPCOL(), RSPPOS(), RSPR() . COLINT, RBUMP() . Inputs: KEY, RJOY(), RPOT(), RPEN() . Music & Sound: TEMPO, TUNE, FILTER
Unix, linux from the beginning: Terminal (is the unix shell) default userid is "pi" # and everything after in shell is a comment root is the master user with all permissions sudo su #will start shell as root user sudo ..a command.. # will run that command only as root
sudo apt-get update #updates the software list sudo apt-get upgrade #updates the actual software sudo apt-get dist-upgrade #updates major versions sudo rpi-update #updates the firmware
To get this configuration LOAD"%PI":RUN
A whole discussion unto itself.....
For another page.