Sharp logo
KUMA BASIC interpreter and compiler 
( Command, token, and entry point list )  
Commands, tokens, and entry points ordered by tokens

I found the following commands for the KUMA interpreter. May be, the list is incomplete.

Token Command,
table starts
at $2920
Entry point,
table at
$2ACF
$20 RUN $268F
$21 LIST $2067
$22 DELETE $20D4
$23 VLIST $30E4
$24 unused $2463
$25 NEW $213B
$26 LOAD $22CD
$27 SAVE $2276
$28 VERIFY $2317
$29 APPEND $23AA
$2A SYSTEM $23F3
$2B LIMIT $216D
$2C TEXT $2161
$2D CLR $2143
$2E unused $2463
$2F unused $2463
$30 IF $2721
$31 THEN $2772
$32 FOR $27BE
$33 NEXT $2828
$34 REPEAT $2773
$35 UNTIL $2792
$36 ON $2898
$37 GOTO $271B
$38 GOSUB $272E
$39 RETURN $274E
$3A REM $2727
$3B PRINT $2174
$3C INOUT $222E
$3D unused $2463
$3E STOP $26E9
$3F END $2895
$40 MON
starts the internal
monitor program.
$1695
$41 BYE $0000
$42 CALL $2130
$43 PUSH $28E2
$44 POP $28FF
$45 OUT $2CD1
$46 CURSOR $220E
$47 POKE $244D
$48 STA$( $309F
$49 LINPUT $2C75
$4A ' $2727
$4B unused $2463
$4C unused $2463
$4D unused $2463
$4E TO $2463
$4F STEP $2463
$50 unused $2463
$51 SPOKE $2CBC
$52 CURH $2221
$53 CURV $2214
$54 PLOT $2BF7
$55 LINE $2C0F
$56 PUT@ $2C54
$57 GET@ $2C33
$58 PRMODE $2458
$59 BELL $003E
$5A MUSIC $2C94
$5B TEMPO $2C88
$5C SOUND $2C7E
$5D TIME= $30D9
$5E unused $2463
$5F unused $2463
$60 unused $2463
$61 unused $2463
$62 unused $2463
$63 unused $2463
$64 unused $2463
$65 unused $2463
$66 unused $2463
$67 unused $2463
$68 SPEEK( $2FED
$69 TIME $30E0
$6A unused $2463
$6B unused $2463
$6C unused $2463
$6D SEARCH$( $3063
$6E CP$( $304E
$6F CPI( $3072
$70 GET $14B6
$71 INKEY $14B9
$72 MOD(
MOD(A,B)
e.g. MOD(10,6) returns
remainder 4 by the division 10 / 6;
like A-B*INT(A/B)
$301A
$73 ABS( $3005
$74 SGN( $300B
$75 RNP( $3011
$76 INP( $2FFC
$77 ADRS( $30C1
$78 PEEK( $2FE6
$79 INC( $2FCB
$7A DEC( $2FDC
$7B USR( $30C8
$7C unused $2463
$7D unused $2463
$7E unused $2463
$7F unused $2463
$80 <= $2463
$81 =< $2463
$82 >= $2463
$83 => $2463
$84 = $2463
$85 <> $2463
$86 < $2463
$87 > $2463
$88 OR $2463
$89 + $2463
$8A - $2463
$8B * $2463
$8C / $2463
$8D AND $2463
$8E XOR $2463


Go to the top of this page Home

last updated August 5, 2002
sharpmz@sharpmz.org