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 3.0

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

Commands

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

@1D6A

INUM

@0D02

ASC

@1E59

LEN

@1DA0

ATN

@08B0

LET

@1981

CALL

@03D8

LIST

@1596

CHR$

 

LOG

@08B8

CLD

@19E9

MEM

@1C00

CLS

@1FE3

MID$

 

COS

@08AC

NEW

@1E2D

DATA

@2AB9

NEXT

@1EAC

DEFINT

@1F9D

OUT

@103B

DEFUS

@16F5

PEEK

@07FA

DIM

@1700

PI

@0EFB

DISINT

@02FA

PLOAD

@2B00

DLOAD

@2B03

POKE

@1000

DSAVE

@2B09

PRINT / PR

@1600

END

@02EE

PSAVE

@2B06

ENINT

@0510

READ

@1A6E

EOD

@2AAA

REM

@2AB2

EOP

@12F8

RENUMBER

@0838

EXIT

@2ACC

RESTORE

@11F4

EXP

@08B4

RETURN

@2AC7

FIXED

@1FE7

RND

@0B01

FNUM

@0F19

RUN

@0CDC

FOR TO STEP

@1100

SGN

@0D80

GOSUB

@0CB6

SIN

@08A8

GOTO

@101F

SQR

@08BC

IF THEN

@1900

TAB

 

INP

@0ED9

TRACE

@04FD

INPUT

@1B90

USR

@03DB

INT

 

WAIT

@1DCE

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

2F00 - 2F5F Line Buffer
2F81 - 2F82 DEFUS value
2F83 - 2F84 EOP (End Of Program) value
2F8A - 2F8D In hook, call to input routine
2F8E - 2F91 Out hook, call to output routine
2F92 - 2F93 End array/start string value
2F94 - 2F95 Start array value
2F99 - 2F9A EOD (End Of Data) and end string value
2F9B X value TAB
2F9D Flags
2F9E Start address user RAM
2F9F - 2FA2 Call to BASIC functions
2FA3 - 2FA6 Call to BASIC functions
2FB1 - 2FB2 DATA pointer
2FBB High byte memory end
2FD0 - 30xx Converted Line buffer, this will overwrite A - Z variable storage
3000 - 3068 Storage A, B, C.... Z, 4 bytes per variable