EMMA 02

Pecom 32 and 64

  • 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

 

 

 

 

 

 

 

 

 

 

 

 

VIS, Video Interface System

The Pecom 64 uses the RCA-CDP1869 and CDP1870 Video Interface System (VIS), consisting of the CDP1869 address and sound generator and the CDP1870 colour video generator. Not all details of these two chips are described here but can be found in the data sheets available on the COMX Club pages.

1802 Output 3 to 7 are connected to the VIS as also described as OUT 3 to OUT 7 in the VIS data sheets.

Video Memory and resolution

Connected to the CDP1869/1870 the Pecom 64 has 1KB page RAM and 2KB character RAM.

The page RAM stores the ASCII code for each character position on the screen. The screen has 960 characters where position 0 (left top corner) can be accessed by memory location @F800 (before scrolling).

The character RAM stores the character definition for each of the 128 programmable characters (6x9 pixels) and can be accessed via memory location @F400-@F7FF. Character memory can be accessed via different methods see also the VIS data sheet.

The 2KB character RAM is actually enough for 6x16 pixels which is possible to use by output commands to the VIS. Note that 2 bits (COLB0/COLB1) per character line are used to select one out of 4 colours, the other 6 bits for the 6 pixels on the screen. Each character can be shown in 2 different colour sets, selectable by the highest bit (PCB) of the character number itself. So characters 0 to 127 are the same as characters 128 to 255 in different colours. A total of 8 foreground colours are available (with a limited choice of 4 per character and 1 per line of that character) and 8 background colours (defined for the whole screen).

The screen is build up of 40 columns x 24 lines, alternatively the width and/or height of the characters can be doubled to generate 20x24, 40x12 or 20x12 all using a lower screen resolution.

Screen resolution is max 240x216 pixels. Using the programmable font (with 128 characters 6 pixels wide and 9 pixels high) each pixel of the theoretical 240x192 can NOT be individually addressed. In fact in regular mode at most 128x6x9 = 6912 individual pixels can be addressed at any one time. However in theory by using the maximum character size of 6x16, double height and double width characters a high resolution mode of 108x112 is possible using 126 characters (18x7) which almost fills the complete screen. This will also allow addressing 126*6*16 = 12096 individual pixels. This mode will run on the emulator but I'm not sure how it will work on a real machine, I do expect it to work as it does on a COMX-35.

Timing

The VIS runs on 5.626 MHz. This frequency is divided by 2 and output via CPUCLK (pin 38) to the CDP 1802 for timing of the CPU (2.813 Mhz). The VIS is also responsible for the timing of the non display period via PREDISPLAY (pin 1). Video memory can only be accessed during the non display period which allows for execution of 2160 machine cycles. Any program need to be paused by waiting for a non display period (by checking EF1) before accessing the video memory.

Colours

The 8 foreground colours are defined by PCB, CCB0 and CCB1 as defined in the table below. The RGB function of PCB, CCB0 and CCB1 is depending on COLB1 and COLB0 which are set by OUT 3 bit 5 (COLB0) and 6 (COLB1).

PCB is specified by bit 7 of the character number, and CCB0 and CCB1 are specified by character memory bits 6 and 7.

C0LB1

COLBO

RED

BLUE

GREEN

0

0

CCBO

CCB1

PCB

0

1

CCBO

PCB

CCB1

1

0

PCB

CCBO

CCB1

1

1

PCB

CCBO

CCB1