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

 

 

 

 

 

 

 

 

 

 

 

 

SHOW

Format:
SHOW (expr1, expr2)
SHOW (expr1, expr2, expr3, expr4)

Supported by: Floating Point BASIC 2.2

Similar commands: -

This statement allows the programmer to define images, patterns, figures, etc. with a PT= statement and display them on the screen. BASIC evaluates expr1 and expr2 to determine the X, Y location, from the upper left hand corner, of where to show the patterns. If expr3 and expr4 are used then the pattern can be repeated across the screen with expr3 providing the horizontal repeats and expr4 giving the vertical repeats.

Examples:

 
10 CLS 
20 PT="FF818181FF"
30 SHOW (0, 0): WAIT (100)

Will show a box in the upper left hand corner.

 
10 CLS
20 PT= "FFFFFFFF"
40 SHOW (0, 0, 8, 32)

Will fill the whole screen to white.

 
10 CLS
20 PT= "3838FFFFFFFF6666"
30 FOR A=0 to 56
40 SHOW (A, 120)
50 WAIT (10)
60 SHOW (A,120)
70 NEXT 

Will drive a little car across the bottom of the screen