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

 

 

 

 

 

 

 

 

 

 

 

 

Quest Super BASIC 6.0

Quest Super Basic REL 6.0 is included in the Emulator with written permission and with updated origin info from Paul Messinger.

Current address of copyright holder is:
Paul Messinger past president of PHM Design and Quest Director of Engineering
254893 Hwy 101
Port Angeles WA 98362 USA
360-457-1711

Start-up

To start Super Basic 6.0 press 'C' for a cold start or 'W' for a warm start

Commands

All Quest Super BASIC REL 6.0 Commands including some of the start addresses of these commands are listed below. Click on the command itself to get a description of command format and usage.

ABS

@2000

INUM

@1803

ASC

@2100

LEN

@2035

ATN

@1C06

LET

@1200

BYE

@3009

LIST

@0DA0

CALL

@1B00

LOG

@1C0C

CHR$

 

MEM

@2EAD

CLD

@0DE9

MID$

 

CLS

@13F3

NEW

@0BCB

COS

@1C03

NEXT

@1E74

DATA

@22F3

OUT

@0CA3

DEFINT

@12DA

PEEK

@16E8

DEFUS

@12F5

PI

@1CE2

DEG

@2DFE

PLIST

@0BFB

DIM

@0F00

PLOAD

@03EB

DISINT

@1AFA

POKE

@13D4

DLOAD

@03EE

POUT

@07EA

DSAVE

@03F4

PRINT / PR

@1300

EDIT

@0C04

PSAVE

@03F1

END

@0B46

RAD

@2E01

ENINT

@1ADE

READ

@1A73

EOD

@14E2

REM

@0FBF

EOP

@14DF

RENUMBER

@1500

EXIT

@20BB

RESTORE

@1BF4

EXP

@1C09

RETURN

@22FD

FDMON

@06DB

RND

@1700

FIXED

@2277

RUN

@1D00

FNUM

@1C53

RUN+

 

FOR TO STEP

@1100

SFMON

@06D8

FORMAT

@25F0

SGN

@1D9C

GOSUB

@1CA6

SIN

@1C00

GOTO

@2091

SQR

@1C0F

I/O

@0668

TAB

 

IF THEN

@1400

TOUT

@05BF

INP

@04E0

TRACE

@22A8

INPUT

@223E

USR

@1B03

INT

 

WAIT

@2290

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: <=

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 @3500-@3700 in the Quest Super BASIC is used by the BASIC for storing data, usage for some of the addresses is explained below.

3500 - 355F Line Buffer
3581 - 3582 DEFUS value
3583 - 3584 EOP (End Of Program) value
358A - 358D In hook, call to input routine
358E - 3591 Out hook, call to output routine
3592 - 3593 End array/start string value
3594 - 3595 Start array value
3599 - 359A EOD (End Of Data) and end string value
359B X value TAB
359D Flags
359E Start address user RAM
359F - 35A2 Call to BASIC functions
35A3 - 35A6 Call to BASIC functions
35B1 - 35B2 DATA pointer
35BB High byte memory end
35D0 - 36xx Converted Line buffer, this will overwrite A - Z variable storage
3600 - 3668 Storage A, B, C.... Z, 4 bytes per variable