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

 

 

 

 

 

 

 

 

 

 

 

 

PLOAD

Format:
PLOAD X
PLOAD X, expr1
PLOAD X, expr1, expr2
PLOAD X, expr1, expr2, expr3

Supported by: Quest Super BASIC 5.0 and 6.0

Similar commands:
COMX BASIC V1.00, Floating Point BASIC 2.2, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, Quest Super BASIC 3.0, RCA BASIC3 V1.1, Telmac SBASIC v 24.3: PLOAD

Quest Super BASIC 1.4: CLOAD

The PLOAD command is the counterpart to PSAVE. Expr3 for PLOAD defaults to 7 (a normal tape read). Option 8 may be used to verify the file against stored memory. For example, PLOAD C,1,0,8 would verify a file which had previously been written with PSAVE C. The purpose of PLOAD is to clear the user space of any program or data and replace it with another program (saved previously with a PSAVE). The PLOAD command is normally executed in the direct execution mode since it erases all program space. Note also that the PLOAD command loads any associated machine language routines that might have been placed in a "hole" in memory generated by DEFUS.

Storage media is defined by X. X can be either a C, S or F with the definitions for each as follows:
C -- cassette
S -- stringy floppy
F -- floppy disc

The S and F options require the associated hardware and software packages. Quest Super BASIC 5.0 and 6.0 contain the cassette routines necessary to interface with any cassette recorder. These routines use the Q line and EF3 as the serial data lines.

The option expr1, expr2, and expr3 are defined as follows:
expr1 - physical file # (1,2,3..N) defaults - 1
expr2 - drive # (0,1,2,3) defaults - 0
expr3* - option # (1,4) defaults - 7

Motor control exists via port 3. Expr2 defines the data sent to port 3. Bit 0 controls the read motor while bit 1 controls the write motor.

* This expression does not apply to cassette use.