EMMA 02

BASIC

  • Home
  • Download
  • Change Log
  • Help
  • Compilation
    • Windows
    • OS X
    • Ubuntu
    • Fedora
    • openSUSE
  • Forums
  • Tape Conversion
  • Machine Code
    • SYSTEM00
    • CDP1801
    • CDP1802
    • CDP1804
    • CDP1805
    • Differences
  • Pseudo Code
    • AMVBAS
    • AM4KBAS
    • CARDTRAN
    • Chip-8, 8X, ETI-660 & Elf
    • FEL-1
    • FPA-1
    • FPL-2
    • FPL-4
    • GPL-2
    • GPL-3
    • GPL-4
    • GPL-A (2K RAM)
    • GPL-A (2K ROM)
    • ST2
    • ST4
    • STK
    • Test-Word
    • Super-chip
  • XML Code
    • Main Elements
    • I/O
    • System
    • A/D Convertor
    • BASIC
    • Batch wav
    • Bootstrap
    • Cassette
    • CD4536B
    • CDP1851
    • CDP1852
    • CDP1854
    • CDP1855
    • CDP1877
    • CDP1878
    • CDP1879
    • Debugger
    • COMX Diagnostic
    • Dip switch
    • Disk
    • EF Buttons
    • Flip Flop
    • Front Panel
    • GUI
    • HEX Modem
    • I/O Group
    • Keyboard
    • Keyfile
    • Locations
    • Memory
    • MM57109
    • Printer
    • RTC
    • Sound
    • Splash
    • USB
    • Video
    • Videodump
    • vt
    • X Modem
  • BASIC
    • General Information
    • COMX BASIC V1.00
    • Floating Point BASIC 2.2
    • Pecom 32 BASIC
    • Pecom 64 BASIC 1.0 & 4.0
    • Quest Super BASIC 1.4
    • Quest Super BASIC 3.0
    • Quest Super BASIC 5.0
    • Quest Super BASIC 6.0
    • RCA BASIC3 V1.1
    • Telmac SBASIC v24.3
    • Error Messages
  • Computer List

 

 

 

 

 

 

 

 

 

 

 

 

Telmac SBASIC v24.3

Commands

All Telmac SBASIC v24.3 Commands including some of the start addresses of these commands are listed below. Try for example CALL (@1900)"HELLO"; this will do the same as the PRINT command. Click on the command itself to get a description of command format and usage.

ABS

@1DD9

INUM

@1E72

ASC

@215C

KEY

@3E10

ATN

@2067

LEN

@2392

BEEP

@3CE8

LET

@1800

BKG

@3863

LIST

@0CF8

BYE

@0BAA

LOG

@206D

CALL

@1F01

MEM

@235C

CHR$

 

MID$

 

CLD

@0EFC

MOVE

@3B98

CLS

@16FF

NEW

@0BE7

COLOR

@3857

NEXT

@1BDB

COS

@2064

NOT

 

CURSOR

@387C

OUT

@06C4

DATA

@12FB

PEEK

@15E8

DEFINT

@18DA

PI

@1600

DEFUS

@18F5

PLOAD

@0500

DEG

@2DF8

PLOT

@3B8C

DIM

@1400

POKE

@15C9

DISINT

@16EB

PRINT / PR

@1900

DLOAD

@0503

PSAVE

@0506

DMAPT

@3DA8

RAD

@2DFB

DSAVE

@0509

READ

@1734

EDIT

@0E07

REM

@1BF9

END

@01C8

RENUMBER

@1B00

ENINT

@19D5

RES

@388C

EOD

@1657

RESTORE

@3CC8

EOP

@1654

RETURN

@16B6

EXIT

@1CE0

RND

@1C00

EXP

@206A

RUN

@1076

FIXED

@166E

RUN+

 

FNUM

@1D70

SELECT

@3A90

FOR TO STEP

@1200

SGN

@2201

FORMAT

@170C

SQR

@2070

FVAL

@2159

SIN

@2061

GOSUB

@224A

STR$

 

GOTO

@151E

TAB

 

HELP

@3ABC

TRACE

@13DE

IF THEN

@1A00

USR

@1F04

INP

@04DE

WAIT

@1687

INPUT

@2324

WNOISE

@3D50

INT

@1000

 

 

The additional Expansion ROM 1 (version 151182) includes the following commands:

A/D

@4BC8

SCREEN

@46B0

BITINP

@4B00

STARTCL

@4480

BITOUT

@4B58

STIME

@446F

MAP

@4800

STOPCL

@4490

MOVLR

@4620

TAPE

@4D00

RDCLOCK

@43D0

VER

@4000

RST

@4860

WRCLOCK

@43F8

The additional Expansion ROM 2 (version 190482) includes the following commands:

DCODE

 

D%LOCK

 

D%CAT

 

D%OPEN

 

D%CLOSE

 

D%RENAME

 

D%DEL

 

D%SAVER

 

D%INIT

 

D%SAVE

 

D%LOAD

 

D%SAVED

 

D%LOADD

 

D%TEST

 

D%LOAR

 

D%UNLOCK

 

Operators

Arithmetic operators
Unary minus - (first priority)
Exponentiation ↑ (first priority)
Multiply * (second priority)
Divide / (second priority)
Add + (third priority)
Subtract - (third priority)
Assignment operator

The assignment symbol is the equal sign ‘=‘.

Relational operators

Equality: =
Inequality: <>
Greater than: >
Less than: <
Greater than or equal to: >=
Less than or equal to: <=

Logical operators

AND
XOR
OR
NOT

Miscellaneous operators
: separates statements on the same line
; PRINT delimiter
, PRINT delimiter
“ string delimiter
( group terms
) group terms
# 8 bit hexadecimal values
@ 16 bit hexadecimal values

System Parameters

Memory @6000-@62FF in the TMC-600 is used by the BASIC ROM for storing data, usage for some of the addresses is explained below.

6100 - 615F Line Buffer
6181 - 6182 DEFUS value
6183 - 6184 EOP (End Of Program) value
618A - 618D In hook, call to input routine
618E - 6191 Out hook, call to output routine
6192 - 6193 End array/start string value
6194 - 6195 Start array value
6199 - 619A EOD (End Of Data) and end string value
619B X value TAB
619D Flags
619E Start address user RAM
619F - 61A2 Call to BASIC functions
61A3 - 61A6 Call to BASIC functions
61B1 - 61B2 DATA pointer
6200 - 6268 Storage A, B, C.... Z, 4 bytes per variable