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 5.0

Quest Super Basic REL 5.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 5.0 press 'C' for a cold start or 'W' for a warm start

Commands

All Quest Super BASIC REL 5.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

@2F39

LEN

@2CB6

ASC

@3000

LET

@16FF

ATN

@1AB2

LIST

@2A93

BYE

@3209

LOG

@1ABA

CALL

@0900

MEM

@2EAD

CHR$

 

MID$

 

CLD

@3094

NEW

@1EBA

CLS

@3148

NEXT

@0764

COS

@1AAE

OUT

@1B55

DATA

@317F

PEEK

@07D8

DEFINT

@1EE6

PI

@1D3C

DEFUS

@30EC

PLIST

@1618

DIM

@2B00

PLOAD

@0E00

DISINT

@0BC3

POKE

@1C96

DLOAD

@0E03

POUT

@06F3

DSAVE

@0E09

PRINT / PR

@1D5A

END

@0A4F

PSAVE

@0E06

ENINT

@12DB

READ

@2C00

EOD

@325D

REM

@02F9

EOP

@3155

RENUMBER

@0FFE

EXIT

@17C1

RESTORE

@313C

EXP

@1AB6

RETURN

@1DFB

FDMON

@0CA9

RND

@1BDD

FIXED

@30C1

RUN

@0A4F

FNUM

@1B02

RUN+

 

FOR TO STEP

@1100

SFMON

@0CA6

GOSUB

@1840

SGN

@19FD

GOTO

@187C

SIN

@1AAA

I/O

@10E2

SQR

@1ABE

IF THEN

@0172

TAB

 

INP

@1BBB

TOUT

@10BB

INPUT

@2F00

TRACE

@09EC

INT

 

USR

@0903

INUM

@1907

WAIT

@2CE4

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