EMMA 02

COMX-35

  • Home
  • CDP18S020
    • General Information
    • I/O Map
  • COMIX-35
  • COMX-35
    • General Information
    • F&M
    • Did You Know...?
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • Expansion Box
    • Disk
    • Printers
    • Thermal
    • PL-80
    • 32K RAM
    • 80 Column
    • F&M EPROM
    • F&M Joy Card
    • Super Board
    • COMX BASIC V1.00
  • COSMAC Elf
    • General Information
    • I/O Map
    • Front Panels
  • COSMAC Elf 2000
    • General Information
    • I/O Map
    • Memory
    • Video
  • COSMAC Microtutor
    • General Information
    • I/O Map
  • COSMAC Microtutor II
    • General Information
    • I/O Map
  • COSMAC Vip
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • STK
    • Chip-8 and 8X
    • Test-Word
    • Floating Point BASIC 2.2
  • COSMAC Vip II
    • General Information
    • I/O Map
    • Floating Point BASIC 2.2
  • Cidelsa
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
  • Conic
  • Cosmicos
    • General Information
    • I/O Map
    • Front Panels
    • Mops & Hexmops
    • ASCII Monitor
    • HEX Monitor & UT4
  • CyberVision
  • ETI-660
  • FRED 1
    • General Information
    • I/O Map
    • Cassette
    • CARDTRAN Syntax
  • FRED 1.5
    • General Information
    • I/O Map
    • Cassette
    • Cassette
    • FPL-2
    • FPL-4
    • FEL-1
  • HEC1802
  • HUG1802
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • Chip-8 ETI-660
  • Infinite UC1800
    • General Information
    • I/O Map
  • JVIP
  • Macbug
  • Membership Card
    • General Information
    • I/O Map
  • Netronics Elf II
    • General Information
    • I/O Map
    • Front Panels
    • Keyboard
    • Giant Board
    • BASIC/Math
  • Oscom Nano
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Casette
  • Pecom 32 and 64
    • General Information
    • Software
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Casette
    • Pecom 32 BASIC
    • Pecom 64 BASIC 1.0 & 4.0
  • Pico/Elf V2
    • General Information
    • I/O Map
  • Quest Super Elf
    • General Information
    • I/O Map
  • RCA Game System
  • RCA Microboard
    • General Information
    • I/O Map
  • RCA MS2000
    • General Information
    • I/O Map
  • RCA MCDS
    • General Information
    • I/O Map
  • RCA Studio II
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
    • ST2
  • RCA Studio III
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
  • RCA Studio IV
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
    • ST4 Syntax
  • RCA Video Coin
    • General Information
    • I/O Map
    • Memory
    • GPL-A (2K RAM)
    • GPL-A (2K ROM)
    • GPL-2
    • GPL-3
    • GPL-4
  • SBC1802
  • Studio 2020
  • Telmac 1800
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard
    • Cassette
  • Telmac 2000
    • General Information
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
  • Telmac TMC-600
    • General Information
    • Software
    • I/O Map
    • Memory
    • Video
    • Sound
    • Keyboard
    • Cassette
    • Telmac SBASIC v24.3
  • VELF
    • General Information
    • I/O Map
    • BIOS
    • Video
    • Keyboard
  • VIP2K MC
    • General Information
    • I/O Map
    • Memory
    • Video
    • Chip 8
  • VIS1802
  • VT1802
  • Visicom COM-100
    • General Information
    • I/O Map
    • Memory
    • Video
    • Keyboard

 

 

 

 

 

 

 

 

 

 

 

 

Printers

The COMX Printer card allows connection of parallel and serial printers. Depending on what type of printer is connected the firmware ROM is either using the parallel firmware between memory location @C000-@CFFF and the serial firmware between memory location @D000-@DFFF or the other way around.

Parallel Printer Controller

OUT 2 is used to send a byte to the printer and INP 2 for the printer status, where:
b0=1: Acknowledge Fault
b1=0: Device Busy
b2=0: Paper Empty
b3=1: Device Not Selected

CALL and CARD Routines

The printer can be controlled from the COMX by using the CARD Pm commands as described below and on the Expansion Box page. If no expansion box is used the same commands can be activated by CALL statements:

CALL Syntax CARD Syntax Function
CALL (@C040, m) CARD P0m Selection routine (m = 1-11, for P1-P11)
CALL (@C050) CARD P1 Switch off the printer
CALL (@C060) CARD P2 Switch on the printer with control character suppressed
CALL (@C070) CARD P3 Switch on the printer
CALL (@C080) CARD P4 Switch on the printer and TV display mode with control character suppressed
CALL (@C090) CARD P5 Switch on the printer and TV display mode
CALL (@C0A0) CARD P6 Disable keyboard input to printer
CALL (@C030) CARD P7 F&M Feature Select
(CARD P7 is only available in F&M ROM version 1.1 or 1.2, in 1.0 use CALL (@C030))
CALL (@C0C0) CARD P8 Memory dump
CALL (@C0D0, m) Shape characters
m = 1: Default
m = 2: small shift
m = 3: capitals shift
(F&M rom only)
CARD P9 Shape lower case characters
(only available in F&M ROM)
CALL (@C0E0) CARD P10 Self test
CALL (@C0F0) CARD P11 Recall Basic after reset, will only work if Basic program started with '10 REM' before restart
(only available in F&M ROM)
CALL (@C800) TURBO PSAVE (F&M rom only)
CALL (@C810) TURBO PLOAD (F&M rom only)
CALL (@C820) TURBO DSAVE (F&M rom only)
CALL (@C830) TURBO DLOAD (F&M rom only)
CALL (@C800)+ TURBO PSAVE+ (F&M rom only)
CALL (@C810)+ TURBO PLOAD+ (F&M rom only)
CALL (@C820)+ TURBO DSAVE+ (F&M rom only)
CALL (@C830)+ TURBO DLOAD+ (F&M rom only)

Note: if the expansion box is used the user should enable the standard printer card first before any assembly call is initiated. This can be done by the OUT 1 instruction or in BASIC by using any CARD Pm statement before the CALL statement.

Serial Printer Controller

OUT 2 is used to send a bit to the printer and INP 2 for the printer status and to start a new range of bits for the next byte.

Address @41B0:
b0-5: Number of stop bits.
b6: If 1 special characters will be send to the printer, if 0 the hex value will be send.
b7: TV bit, if 1 the text to be printed will also be shown on the TV screen.

Address @41B2:
b0-3: Indicate the number of bits, 5, 7 or 8.
b4: If 1 parity will be send
b5: If 1 even parity (ignored if b4 = 0)
b6: If 1 no line feed to the printer

Address @41B3:
Pause after return in multiple of 10 ms.

Serial Printer CALL and CARD Routines

The printer can be activated by using the CARD Pm commands as described below and on the Expansion Box page. If no expansion box is used the same commands can be activated by CALL statements:

CALL Syntax CARD Syntax Function
CALL (@C040, m) CARD P0m Selection routine (m = 1-11, for P1-P11)
CALL (@C050) CARD P1 Switch off the printer
CALL (@C060) CARD P2 Switch on the printer with control character suppressed
CALL (@C070) CARD P3 Switch on the printer
CALL (@C080) CARD P4 Switch on the printer and TV display mode with control character suppressed
CALL (@C090) CARD P5 Switch on the printer and TV display mode
CALL (@C0A0) CARD P6 Disable keyboard input to printer
CALL (@C0B0) CARD P7 Change RS232 Settings
CALL (@C0E0) CARD P10 Self test

Note: if the expansion box is used the user should enable the standard printer card first before any assembly call is initiated. This can be done by the OUT 1 instruction or in BASIC by using any CARD Pm statement before the CALL statement.