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 1.4

Quest Super Basic REL 1.4 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 with output to a Video Terminal use the following:

  • Press the IN button (Insert on PC)
  • While keeping the IN button pressed, press 'G' or the RUN switch (F12 on PC)
  • Release the IN button
  • Press return to get the basic to determine the defined baud rate
  • Press 'C' for a cold start and 'W' for a warm start

To start Super basic with output to Super Video just press 'C' for a cold start and 'W' for a warm start.

Commands

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

@17AF

IF THEN

@0E00

ASC

@0FD9

IMODE

@18F4

ATN

@1344

INPUT

@1646

CALL

@1082

INT

@0DA3

CHR$

 

INUM

@0D22

CLD

@12E9

LEN

@0AD9

CLOAD

@0101

LET

@1100

CLS

@27E7

LIST

@1600

COS

@133B

LOG

@1356

CSAVE

@0107

MEM

@1539

DATA

@2118

MID$

 

DEFINT

@1778

NEW

@27F4

DEFUS

@18D9

NEXT

@0CE9

DIM

@0C03

PEEK

@0EE8

DLOAD

@0104

POKE

@1726

DSAVE

@010A

PRINT / PR

@2378

END

@2779

READ

@0F6F

EOD

@04E6

REM

@18F9

EOP

@211D

RESTORE

@2148

EXP

@134D

RETURN

@0CF3

FIXED

@09F0

RND

@0902

FMODE

@18EF

RUN

@16A3

FNUM

@0C89

SQR

@135F

FOR TO STEP

@0600

SIN

@132F

GOSUB

@1599

TAB

 

GOTO

@182A

WAIT

@24FA

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

2A00 - 2A5F Line Buffer
2A81 - 2A82 DEFUS value
2A83 - 2A84 EOP (End Of Program) value
2A8A - 2A8D In hook, call to input routine
2A8E - 2A91 Out hook, call to output routine
2A92 - 2A93 End array/start string value
2A94 - 2A95 Start array value
2A99 - 2A9A EOD (End Of Data) and end string value
2A9B X value TAB
2A9D Flags
2A9E Start address user RAM
2A9F - 2AA2 Call to BASIC functions
2AA3 - 2AA6 Call to BASIC functions
2AB1 - 2AB2 DATA pointer
2ABB High byte memory end
2AD0 - 2Bxx Converted Line buffer, this will overwrite A - Z variable storage
2B00 - 2B68 Storage A, B, C.... Z, 4 bytes per variable