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

 

 

 

 

 

 

 

 

 

 

 

 

Thermal Printer

The COMX Thermal Printer came including a dedicated interface card, printing was done on thermal paper by using a head with 9 pins which could heat the paper and as such print both text and images. Someone told me that you should be careful when writing your own printer drivers as it was very easy to ‘burn’ the printer head completely.

The following information includes some guesses from my side, if you have any other or additional information please send me an email.

OUT 2 is used to control the thermal printer where:
Q = 0, b0-7: Pixel 1 to 8
Q = 1, b7: Pixel 9 (if b0-6=#21)
Q = 1, b3=1: Move head right
Q = 1, b0-7=#12: Move head left

INP 2 is used for the printer status, where:
b0=1: Printer Not Ready
b1=1: Energizing Head
b2=1: Head At Position

Picture to the right is graphic output from the Thermal printer generated by the emulator.

CALL and CARD Routines

The printer can be activated by using the CARD Tm 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
CARD T0 CALL (@C040, m) Mode Selection
CARD T1 CALL (@C050) Switch off the thermal printer with 8 line feeds, (m = 0)
CARD T2 CALL (@C060) Enter the thermal printer Text mode (m = 1)
CARD T3 CALL (@C080) Switch on the printer and TV display (m = 3)
CARD T4 CALL (@C0A0) Disable keyboard input (m = 5)
CARD T5 CALL (@C0C0) Memory dump (HEX & ASCII)
CARD T6 CALL (@C0D0) Switch the printer to no line space (m = 8)
CARD T7 CALL (@C0E0) Self test (m = 9)
CALL (@C0F0,1) Start screen capture
CALL (@C0F0,2,y) Print screen line 0 to 'y'
CALL (@C0F0,3) Stop screen capture
CALL (@C106) Switch off the thermal printer without line feed
CALL (@C10C, S, D) Memory Move from S (source address) to D (destination address)
CALL (@C10F) Memory Modify
CALL (@CB05) Help (m = 11)

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 Tm statement before the CALL statement.

When using the Screen capture function it is recommended not to use the F&M Screen editor or before use to turn it off by using POKE (@43F8,1). To start screen capture use CALL (@C0F0,1) to allow the COMX to store all screen data in regular RAM, after the data is printed on the screen use CALL (@C0F0,2,y) to print the screen lines 0 to y to the thermal printer. Stop the screen capture by using CALL (@C0F0,3).