About this page

This page is based on “KONTIKI-100 Teknisk beskrivelse rev. C” – the technical handbook for the KONTIKI-100 (this copy is dated June 1984). The text has been translated from Norwegian, shortened and rearranged; tables and values are taken from the handbook. Details apply to revision C of the main board, and other revisions may differ. The complete scan (in Norwegian) is available as a PDF on the Documentation page.

Overview

The KONTIKI 100 is a general-purpose microcomputer built around the Z-80A microprocessor. The standard version has:

  • 104 KB of memory: 64 KB program RAM, 32 KB graphics RAM and 8 KB ROM
  • a 92-key Norwegian keyboard
  • high-resolution colour graphics
  • a floppy disk drive
  • a 3-channel sound generator with built-in speaker
  • two RS-232C serial ports, a Centronics-type printer port and a connection for a cassette recorder

Keyboard, power supply and floppy drive are built into one compact unit – all you need is mains power and a colour TV or monitor. Both the cabinet and the power supply are dimensioned for later expansions: the main board has three expansion slots, and the machine is prepared for a second floppy drive.

The CPU talks to the rest of the machine over a 16-bit address bus and an 8-bit data bus. An address decoder uses the highest address bits and some control signals to select which memory block is active, and an I/O decoder enables the right chip during I/O operations.

Block diagram of the TIKI 100: CPU, ROM, RAM, expansion slots, graphics RAM and peripheral circuits
Block diagram (redrawn). See Schematics for the original.

CPU and memory

The Z-80A runs at 4 MHz. The clock comes from an 8.00 MHz crystal oscillator, which is also divided down to 2 and 1 MHz for the peripheral circuits.

The Z-80 can address 64 KB, and all of it is used by RAM. Since the machine also has 32 KB of graphics memory and an 8 KB ROM monitor, a switching mechanism maps the different memory blocks in and out. This – and several other important functions – is controlled by the system register, an 8-bit register written with an I/O write to address 1C.

System register (I/O address 1C)

BitNameActiveFunction
7LMP1LowLight in the GRAFIKK key
6MOTONHighFloppy drive motor on
5LMP0LowLight in the LOCK key
4SDENHighSingle density on the floppy
3VIREHighGraphics RAM mapped to 0–32 K
2ROMELowEPROM mapped to 0–16 K
1DRIS1HighSelect floppy drive 1
0DRIS0HighSelect floppy drive 0

At power-on the register is cleared to 0: both key lamps light up, and the EPROM occupies addresses 0–16 K.

Memory map

VIRE (bit 3)ROME (bit 2)0–16 K16–32 K32–64 K
00EPROMRAMRAM
01RAMRAMRAM
10Reserved
11Graphics RAMGraphics RAMRAM

The 16 K EPROM area is split between two 28-pin sockets: U10 for 0–8 K and U9 for 8–16 K. Normally only U10 is used, with an 8 K EPROM, but 2, 4 or 8 K ROM or PROM chips can be fitted. 24-pin chips go in the socket with pins 1, 2, 27 and 28 left free. Access time must be better than 250 ns.

The RAM is dynamic and must be refreshed regularly. The Z-80 does this automatically during every instruction fetch (M1 cycle). To give more timing margin, the KONTIKI 100 adds an extra clock period (250 ns) to every M1 cycle, so 200 ns RAM chips are fast enough. Accesses to the graphics RAM are synchronised with the screen read-out and can be stretched by one or two clock periods.

Start-up and the monitor ROM

The monitor (described in the handbook as version 3.2) is the 8 KB program in the EPROM. It contains the start-up code and routines for keyboard, video, serial ports and disk. The start-up runs when the machine is switched on, or when SHIFT + BRYT is pressed:

  1. A quick test of EPROM and RAM.
  2. The rest of the start-up program is copied to address D000H, the video driver and the character generator to E000H, and keyboard, interrupt and disk routines to F000H.
  3. The start-up code at D000H sets up work areas and variables, initialises serial port A for a printer and serial port B for using the KONTIKI as a terminal, and starts the interrupt routines.
  4. The EPROM is switched out, so the whole 64 KB is read/write memory.
  5. A jump to F003H (warm start) loads a boot loader from the floppy to C400H, which then loads the KP/M (later TIKO) operating system over the start-up code.

If no usable diskette is found, the machine prints “Sett inn en diskett og trykk B” – “Insert a diskette and press B”.

The handbook strongly advises against using the monitor and operating system routines, the RAM areas C400H–FFFFH and 0–100H, or the I/O devices directly, since routines may move in later versions – only the jump table at FF00H–FFFFH is meant to stay fixed. Programs should use BASIC, Pascal or the standard CP/M calls instead, so they also run on other CP/M machines.

I/O addresses

All peripheral circuits are read and written with I/O instructions. Addresses 20–FF are reserved for later expansions.

AddressR/WFunction
00–03RKeyboard: repeated reads return one column at a time
00–03WKeyboard reset: sets the column counter to 0
04R/WSerial channel A, data
05R/WSerial channel B, data
06R/WSerial channel A, status (read) / control (write)
07R/WSerial channel B, status (read) / control (write)
08R/WParallel port A, data
09R/WParallel port B, data
0AR/WParallel port A, status / control
0BR/WParallel port B, status / control
0C–0FWGraphics mode register
10R/WFloppy controller, status (read) / command (write)
11R/WFloppy controller, track register
12R/WFloppy controller, sector register
13R/WFloppy controller, data register
14–15WGraphics colour register (palette)
16WSound chip and scroll register: pointer
17R/WSound chip and scroll register: data
18–1BR/WCounter/timer (CTC) channels 0–3
1C–1FWSystem register

Keyboard

The keyboard is a matrix of 8 rows and 13 columns, with a key at each crossing. The rows are normally held high by pull-up resistors. During scanning, one column at a time is pulled low, and a pressed key pulls its row low. To read the keyboard, first write to address 00 to reset the column counter; then each read from 00 returns the next column, starting from 0. In normal use the keyboard is scanned by an interrupt routine driven by the CTC.

Counter/timer (CTC)

The counter/timer is a Z-80 CTC with four 8-bit counters. Channels 0 and 1 normally generate the clock frequencies for the serial ports, and channel 2 generates interrupts for the real-time clock and keyboard scanning. Each channel can count external pulses, or work as a timer that divides the 4 MHz system clock. The output period is:

T = N × P × Tc

where N is the value in the time constant register, P the prescaler (1, 16 or 256) and Tc the clock period. Each channel is programmed by writing a control word and then a time constant to its I/O address (18–1B).

BitValue 1 meansValue 0 means
7Interrupt when the counter reaches 0No interrupt
6Counter mode (count pulses on separate input)Timer mode (count down pulses on the separate input, or 4 MHz scaled down 16 or 256 times)
5Prescaler 256 (timer mode)Prescaler 16
4Count on rising edgesCount on falling edges
3Must be 0 in the KONTIKI 100
2A time constant followsNo time constant follows
1Reset: the counter stops, but no registers change. If bits 1 and 2 are both 1, counting resumes when the time constant is writtenNormal operation
0Control word marker – see note below

Example from the handbook: 9600 baud on a serial port needs a clock of 16 × 9600 = 153,600 Hz. Counting 2 MHz pulses on the separate input, the time constant is 2,000,000 / 153,600 ≈ 13. Channel 0 is at 18H:

LD  A,45H     ; control word: counter mode, time constant follows
OUT (18H),A   ; to CTC channel 0
LD  A,0DH     ; time constant 13
OUT (18H),A

Note on bit 0: the printed handbook says bit 0 must be 0, and its example uses control word 44H. A handwritten note in the scanned copy says “bit 0 set to 1 by me – 0 gives trouble”. That matches the Z-80 CTC datasheet, where bit 0 = 1 marks a control word (bit 0 = 0 means an interrupt vector). The example above therefore uses 45H.

Rear panel and connectors

All connectors are on the rear panel. The drawings below are based on the rear panel, the connector schematic (sheet 5) and the pin tables in the handbook.

TIKI 100 rear panel Connectors on the rear panel from left to right: UHF, PAL video, TTL RGB, RGB, sound, power switch, fuse, mains, serial number label, P1 and P2 serial ports and P3 printer port. UHF TV, channel 36 PAL VIDEO composite 1 Vpp TTL RGB DIN 0 8 colours RGB DIN 1 analogue LYD sound out + volume AV/PÅ power switch 220 V mains in fuse 200 mA TIKI-100Nr.: 0000-0000Tiki-Data A/S Label serial number P1 · RS 232 serial, channel B terminal P2 · RS 232 serial, channel A modem / printer P3 parallel printer
The rear panel of a TIKI 100 (revision C), from left to right.

The video connectors: DIN 0 (TTL RGB) carries the top bit of red, green and blue plus sync and +5 V, for a digital 8-colour monitor. DIN 1 (RGB) carries analogue red, green and blue with composite and vertical sync. The phono sockets carry PAL composite video, the UHF TV signal and sound.

Serial and printer connectors

P1, P2 and P3 are two-row pin headers for flat cable. The pin numbers in the handbook's tables jump (P1 pin 3 → DB-25 pin 2, pin 10 → pin 18 …) exactly as a standard flat cable maps a 26-pin header to a DB-25 plug, and a 34-pin header to a 36-pin Centronics plug. So a standard flat cable with the right plug crimped on is all you need.

P1 pin layout 26-pin header, odd pins in the upper row. 1 GND (DB 1) 2 3 RXD in (DB 2) 4 5 TXD out (DB 3) 6 7 CTS (DB 4) 8 9 RTS (DB 5) 10 +5 V (DB 18) 11 12 13 GND (DB 7) 14 15 16 +12 V (DB 21) 17 18 19 20 21 22 23 24 25 26 26-pin header. Flat cable to DB-25: header pin n -> DB pin shown in brackets.
P1 – serial channel B (terminal). Numbers in brackets are the pins on the DB-25 end of the cable.
P2 pin layout 26-pin header, odd pins in the upper row. 1 GND (DB 1) 2 3 TXD out (DB 2) 4 5 RXD in (DB 3) 6 7 RTS (DB 4) 8 9 CTS (DB 5) 10 +5 V (DB 18) 11 12 13 GND (DB 7) 14 15 16 +12 V (DB 21) 17 18 19 20 21 22 23 24 25 26 26-pin header. Flat cable to DB-25: header pin n -> DB pin shown in brackets.
P2 – serial channel A (modem). Note that TXD/RXD and RTS/CTS are swapped compared with P1.
P3 pin layout 34-pin header, odd pins in the upper row. 1 PB0 STROBE 2 GND 3 PA0 D0 4 GND 5 PA1 D1 6 GND 7 PA2 D2 8 GND 9 PA3 D3 10 GND 11 PA4 D4 12 GND 13 PA5 D5 14 GND 15 PA6 D6 16 GND 17 PA7 D7 18 GND 19 PB4 ACK 20 GND 21 PB5 BUSY 22 GND 23 PB6 NO PAPER 24 GND 25 Tape in 26 PB2 27 PB1 28 (PB7) 29 PB3 30 Tape out 31 GND 32 PA STB 33 GND 34 PA RDY 34-pin header (revision C). Flat cable to a 36-pin Centronics plug.
P3 – parallel port (revision C pinout). Port A carries the data, port B the handshake; the cassette signals share the connector.

Pin 1 is shown as a square pin, with the odd pins in the upper row. Always find the pin 1 marking on your own board before connecting anything – and remember that the I/O schematic shows an earlier P3 pinout (see Parallel port).

Serial ports

The KONTIKI 100 has two ports for asynchronous serial transfer, compatible with RS-232C. They can be programmed for 5 to 8 data bits, optional parity and 1, 1½ or 2 stop bits. Line levels are between 3 and 12 V. Each channel has 3 read registers and 5 write registers, reached through the control port: first write a pointer to register 0, then read or write the selected register.

  • Channel B – rear panel P1 (board connector P6), wired for a terminal.
  • Channel A – rear panel P2 (board connector P5), wired for a modem. The monitor sets this channel up for a printer.
SignalP1 pin (KONTIKI)P1 = DB-25 pinP2 pin (KONTIKI)P2 = DB-25 pin
Ground1111
RXD (data in)3253
TXD (data out)5332
Clear To Send7495
Request To Send9574
+5 V10181018
Ground137137
High level (+12 V)16211621

The ports use only a few of the RS-232C control signals; others may have to be tied high or low on the connected equipment.

Parallel port and cassette

The machine has two 8-bit parallel ports (A and B), each with two handshake lines, provided by a Z-80 PIO. They can be programmed for input, output or both, and can generate interrupts. Each port has a data address and a control address. The rear connector P3 is wired so a standard Centronics printer cable fits, and a printer driver comes with the machine.

Cassette: a cassette recorder is connected through bits 6 and 7 of parallel port B, using frequency-shift keying – ones and zeros are stored as two different frequencies. When writing, bit 6 is toggled every half period; when reading, the signal edges are detected by extra logic and sampled through port B.

P3 pinout (revision C)

Port signalKONTIKI pinCentronics pinCentronics signal
PB 011STROBE
PA 0–PA 73, 5, 7 … 172–9D0–D7
PB 41910ACK
PB 52111BUSY
PB 62312NO PAPER
Tape input2513(UNIT SELECT)
PB 2, PB 1, PB 7, PB 326, 27, 28, 2931, 14, 32, 15–
Tape out3033–
PA STB / PA RDY32 / 3434 / 35–
Groundeven pins 2–24, 31, 3319–30, 16, 17GND

The handbook also contains an earlier version of this table, with PA RDY on pin 30, tape in on pin 32 and tape out on pin 34. The I/O schematic (sheet 2) shows that earlier assignment, so check which one matches your board.

Floppy disk

The floppy interface is built around a Western Digital floppy controller, which handles single- and double-sided disks in single or double density and can be programmed for many disk formats. The handbook text calls it the WD 1797; the I/O schematic (sheet 2) shows an FD1767. The standard machine has one drive for single-sided disks with 40 tracks: single density gives about 80 KB and double density about 188 KB of usable space. The machine is prepared for two drives; drive select and motor are controlled from the system register, everything else through the WD 1797.

The disk spins at 300 rpm. Track 0 is the outermost and track 39 the innermost. Each track is divided into sectors – typically 8, 10 or 16 – with 128 or 512 bytes of data. When a disk is formatted, each sector gets a 6-byte header with track, sector, side, sector length and a checksum.

The controller registers are at I/O addresses 10 (status/command), 11 (track), 12 (sector) and 13 (data). Disk control is normally done through the driver in the monitor.

TIKO disk formats

Supplementary table from Asbjørn Djupdal's TIKI-100 documentation, covering formats supported by later TIKO versions.

90 K200 K400 K800 K
DensitySingleDoubleDoubleDouble
Sides1122
Tracks per side40404080
Sectors per track18101010
Sector size128512512512
Block size1024102420482048
Directory entries3264128128

The 90 K format is the same as the Xerox 820 format.

Colour graphics

The screen is a dot matrix, and the colour of every dot is stored in its own 32 KB graphics memory. The memory holds 256 lines in one of three resolutions:

ModeBits per dotColoursDots per line in memoryVisible (LIBG)
1121024960 × 256
224512480 × 256
3416256240 × 256

Each line is 128 bytes; byte 0 is at the top left and byte 32767 at the bottom right. The bits of each dot are used as an address into a small, fast palette of 16 × 8 bits, and the 8 bits from the palette give the colour directly. Every colour is one of 256 mixtures of red, green and blue: bits 7–5 give red, bits 4–2 green and bits 1–0 blue.

There is no text mode – text and pictures are built from dots, normally by driver programs that draw characters or vectors from simple commands.

Registers

  • Colour register, 14: holds a red/green/blue mixture before it is stored in the palette.
  • Mode register, 0C: bit 7 = write colour, bits 5–4 = resolution, bits 3–0 = palette entry (0–15).
  • Scroll register: moves the picture up or down without moving memory; see Sound and hardware scrolling.

A new palette colour is stored between two screen lines: write the colour to 14, then write the mode register with bit 7 set and the palette number. At the end of the next line (during HBLANK) the colour is stored in the palette. This repeats every line until bit 7 is cleared.

How the picture is made

All graphics timing comes from a 20 MHz crystal, which is the highest dot frequency. The graphics memory is read 16 bits at a time; 64 such blocks make a line, followed by horizontal blanking and sync. After 256 lines comes vertical blanking and sync, and 65 line periods later the next picture starts. The graphics memory is dynamic RAM like the main memory; read-out to the screen and CPU access take turns, so the CPU can read or write every second memory cycle and is held with wait states when needed.

Graphics library (LIBG)

The handbook includes LIBG (version 2, Egil Kvaleberg, May 1984), a library of graphics functions for Turbo Pascal, T-Pascal and the AC80 C compiler, adapted to the KONTIKI-100.

Sound and hardware scrolling

Sound comes from a 3-channel sound generator – a General Instrument AY-3-8912 (shown on schematic sheet 3) – through a small amplifier to the built-in speaker. The sound is also available on a phono connector on the back (LYD). The chip is accessed through two I/O ports: write the register number to 16, then read or write the register through 17.

The chip's 8-bit I/O port is used as the scroll register. Its value (0–255) is added to the line address in dedicated adders, so the whole picture moves vertically without moving any data in the graphics memory. Since the screen has 256 lines, any line can be moved anywhere on the screen.

Video outputs

The KONTIKI 100 can be connected to several types of screen. The 8 bits from the palette are used differently for each:

  • RGB colour monitor (full colour range): the bits for each primary colour are summed in a resistor network to an analogue signal of about 0.3–1.0 V into 75 Ω. Sync is added to all three colours.
  • Digital RGB monitor (8 colours): the highest bit of red, green and blue plus sync are output as TTL levels on the DIN 0 connector. The analogue RGB signals are on DIN 1.
  • Black-and-white monitor: preferably connected to R, G and B through three resistors, or to one of them (usually R).
  • TV with composite video input: the RGB signals are encoded to PAL and output on a phono connector.
  • Ordinary TV: the PAL signal goes through a UHF modulator on channel 36 to the aerial input.

Each conversion step loses some bandwidth and sharpness, so an RGB monitor gives the best picture.

Expansion slots

The machine is prepared for expansion of peripherals, memory and processing power. The main board has three identical expansion slots with mechanical mounts for the modules. Planned modules included an analogue input card, a speech synthesiser and a 16-bit CPU.

  • A0–A15 – address lines from the Z-80. A4–A11 come directly from the CPU and may only be loaded with one LS TTL input. They can be driven by a module after a BUSRQ/BUSAK handshake.
  • D0–D7 – buffered data bus. A module drives data into the main board by pulling EXIN low.
  • BUSRQ / BUSAK – a module takes over the bus by pulling BUSRQ low; BUSAK confirms that the Z-80 has released it.
  • IEI / IEO – interrupt priority chain, in the order P7 → P11 → P12.
  • VIWT – extra wait cycle for graphics memory access.
  • RFSH – refresh. A module holding the bus for more than about 10 ms must refresh the dynamic RAM itself.
  • Ø and 2CL – 4 MHz and 2 MHz clocks.

Expansion connector

PinSignalPinSignal
1GND (0 V)2+5 V
3NMI4INT
5MRQ6RES
7IORQ8M1
9RD10WR
11EXIN12BUSAK
13BUSRQ14Ø (4 MHz)
15–22D0, D2, D4, D6 (odd pins)16–22D1, D3, D5, D7 (even pins)
23–37A0, A2 … A14 (odd pins)24–38A1, A3 … A15 (even pins)
39GND40+5 V
41IEI42IEO
43VIWT44RFSH
452CL (2 MHz)46GND

All control signals are active low. This table is from the handbook text (table 4). The connector schematic (sheet 5, revision D) shows 50-pin expansion connectors named P7, P10 and P12, with ±12 V on pins 49–50 and a different pin order – check against your board before building anything.

Jumpers

The main board has a number of jumpers marked ST, so the machine can be adapted to different needs. Jumpers marked ✓ are fitted as standard.

JumperStd.Function
ST 1Connects +5 V to pin 10 of the RS-232 connectors
ST 3✓Connects the 1 MHz clock to the floppy logic
ST 4Routes the interrupt chain past the parallel port
ST 5Routes the interrupt chain past the serial port
ST 6Ties PRDY from the floppy drive to ground
ST 28aTransmitter clock of serial channel A together with the receiver clock
ST 28bTransmitter clock of serial channel A to the output of counter channel 2
STU 2aSDEN fixed high
STU 2bSDEN from system register bit 4
STP 4a✓Parallel port B bit 7 to the external connector
STP 4bParallel port B bit 7 to the cassette logic
ST 5VNormal +5 V to the modulator circuit
SW 1Black-and-white picture from the modulator
SW 3Connection for an extra reset switch

Power supply

Mains220 V ±10%, 50 Hz
Fuse, primary5×20 mm, 200 mA slow
Fuse, secondary5×20 mm, 2 A slow
Total power45 W
Outputs+5 V 3 A, +12 V 2 A, −12 V 0.1 A

This is enough for the main board, two floppy drives and 2–3 expansion modules. The supply is double insulated and approved for use without an earth wire. It is a conventional linear design – mains transformer, rectifiers and integrated series regulators for 5 V and ±12 V – with regulators protected against short circuit and overheating. Extra 2 A fuses in the leads from the 12 V windings protect the transformer.

Restoring a TIKI? The original electrolytic and RIFA capacitors in the power supply are a common point of failure. See the recapping guides linked on the Documentation page.

Programmer’s notes

The sections above follow the 1984 handbook. This section adds details from later notes written by TIKI enthusiasts, who have studied the hardware and the boot ROM closely. They describe later boards and fill in what the handbook leaves out. Where the two disagree, check your own board.

Much of this information – and the modern add-ons below – comes from the Facebook group Tiki-100 Verkstedet; Software og Hardware, from Frode van der Meeren and others. Thank you!

Memory paging

Bits 3–2 of the system register select one of four memory layouts. The handbook calls the third one “reserved”, but it works: it shows the graphics memory in the middle of the address space while the ROM is still visible.

Bits 3–20000–3FFF4000–7FFF8000–BFFFC000–FFFF
00ROMRAMRAMRAM
01RAMRAMRAMRAM
10ROMGraphics RAM, second halfGraphics RAM, first halfRAM
11Graphics RAM (all 32 KB)RAMRAM

All the system’s registers are write-only, so software keeps copies in RAM: the system register at FFC8 and the graphics mode register at F04D. Read the copy, change the bits you need, then write both the copy and the register. Pin 46 on the expansion bus (/MDIS) switches off all memory on the main board, so an expansion card can put its own memory in its place.

Graphics memory and palette

  • Pixel order: bytes run from top left to bottom right, 128 bytes per line, but the pixels inside each byte are in reverse order: the first pixel is in the lowest bits.
  • The palette uses negative logic: the colour written to port 14 is inverted (0 bits give full red, green or blue).
  • Mirror the palette in 2- and 4-colour modes. The pixel shifter doesn’t mask the unused bits, so in the 2-colour mode set all even palette entries to one colour and all odd entries to the other. In the 4-colour mode set entries 0, 4, 8 and 12 the same, 1, 5, 9 and 13 the same, and so on.
  • Timing: leave at least 800 ns between clearing bit 7 of the mode register and changing the palette number or colour, and don’t change them while bit 7 is set. Otherwise the colour can end up in a random palette entry. Bit 7 is not cleared by itself.
  • Hardware scrolling is register 14 (0E) of the sound chip: its value is added to every line address.
  • Graphics memory is slow for the CPU: every access waits for the video circuits, which adds 2–5 wait states.

Video timing

Dot clock20 MHz (its own crystal, separate from the CPU clock)
Line1280 dots = 64 µs (15.625 kHz): 1024 dots of picture, 256 dots of blanking with sync and colour burst
Frame312 lines = 50.08 Hz: 256 lines of picture, 56 lines of blanking
Colours256 (3 bits red, 3 bits green, 2 bits blue), 2, 4 or 16 at a time

The video is slightly outside the PAL standard. On most PAL TVs the rightmost 60 or so dots fall outside the visible picture.

Interrupts

The TIKI uses Z80 interrupt mode 2, with the chips connected in a daisy chain. Priority, highest first: CTC, serial ports (DART), parallel port (PIO), then the three expansion slots in order. An empty slot breaks the chain, so an interrupt-driven card only works if the slots before it are filled – or if pins 41 and 42 are jumpered on the empty slots. The non-maskable interrupt (NMI) jumps to 0066, which is also used by graphics memory, so expansion cards should never use it.

I/O addresses of expansion cards

AddressCard
20–27Hard disk controller (WD1010A)
60–6FAnalogue I/O (SINTEF)
60–67RVO card (digital I/O)
70–77Analogue/digital I/O
78–7BLight pen interface
7E–7F8088/8087 16-bit card
80–FFFree

Keyboard matrix

Write to port 00 to reset the column counter, then read port 00 13 times. Each read returns the next column, and a pressed key gives a 0 bit. NP = numeric keypad.

Bit01234567891011
0CTRLGRAFIKK2 "4 $6 &8 [0 =@ ´F2NP +NP 4HOME
1SHIFT1 !WRYIP^ |F3NP ~NP 5→
2BRYTANGRESFHKØ' *F5NP *NP 6NP 2
3RETURNAXVN, ;-←F6NP 7LINJE SLUTTNP 3
4SPACE< >3 #5 %7 /9 ]+ ?UTVID↑NP 8NP 1NP ENTER
5NP /ZETUOÅF1PG DOWNNP 9NP 0–
6SLETTQDGJLÆF4LINJE STARTNP %NP ,–
7–LOCKCBM. :HJELPPG UP↓NP =––

Columns 0–11 are shown. Column 12 has no keys.

Sound chip and timer clocks

The AY-3-8912 runs at 2 MHz, so tones go from about 30 Hz to 125 kHz (2 MHz / 16 / divider). The CTC gets 4 MHz on its system clock and 2 MHz on the inputs of counters 0 and 1. Counter 2 counts the output of counter 0, and counter 3 the output of counter 2, so they can be chained into long timers. Counters 0 and 1 make the clocks for the two serial ports.

Power-on self-test

The boot ROM (“MONITOR for TIKI 100 (c) Per B. Jensen for Tiki-Data A/S”) first tests the RAM from 4000 to FFFF and adds up the ROM, which should give zero. It reports the result by blinking the LOCK key lamp, about four times a second:

BlinksMeaning
1Everything OK
2ROM checksum error
3RAM error
4Both RAM and ROM errors

The results are left at addresses FFFE (RAM) and FFFF (ROM). The ROM then copies the boot loader to C000, the monitor to E000 and the rest to F000, and starts the boot loader. (The handbook’s monitor version 3.2 copied its code to D000 instead.) The ROM’s optional second half (2000–3FFF) is called if it starts with a JP instruction – it was meant for a ROM BASIC.

The blink codes are worked out from the disassembled ROM code, not tested on a real machine.

The graphics expansion port

Besides the three CPU expansion slots, later boards have a graphics expansion port, the rightmost connector on the main board. Only two cards were made for it: a genlock card and a light pen interface.

Don’t mix up the ports. All of them use the same 2×25-pin connectors, but a CPU card in the graphics port – or a card that is off by one pin – can short the power lines and damage both the card and the TIKI.

It gives access to the video timing and the graphics data bus. A card can follow the electron beam (line and column counters, blanking and sync), stop the 20 MHz dot clock and drive it from outside (for genlock), and even write data straight into graphics memory in step with the picture.

PinSignalPinSignal
1/XSTOP (stop internal dot clock)2XCLK (external dot clock)
3/BLANK4–5MODE0–MODE1 (graphics mode)
6–13VADDR0–7 (line counter)14SWCLK (graphics bus switch)
15XVCLR (reset line counter)16/HSYNC
17–22HADDR0–5 (column counter)23/MW (write to graphics RAM)
24+12 V25−12 V
26GND27VSYNC
28–43D0–D15 (graphics data)44P3CLK (data valid)
45–50Not connected

There is no +5 V on this port; a card has to make its own from +12 V. On the 50-pin CPU slots, the notes give pins 47–50 as +5 V, GND, −12 V and +12 V, and pin 46 as /MDIS.

Modern add-ons

Fitting a Gotek floppy emulator

A Gotek replaces a floppy drive with a USB stick full of disk images. These photos show one fitted as drive A:, with a real 5.25″ drive kept as drive B:.

Remote control from a PC

TIKI 100 screen: Frank Fugledals Monitor v3.00 (c) 2024 – PC tilkoblet, TIKI fjernstyres fra PC
“PC connected. The TIKI is controlled from the PC.”

Frank Fugledal has made an add-on ROM (2024) that lets a Windows PC control a TIKI 100 through a serial cable on port P2. The code goes in an 8 KB EPROM or EEPROM (he uses an AT28C64B) in the TIKI’s second ROM socket.

At power-on the TIKI sends a byte on the serial port. If the PC program answers, the TIKI waits for commands from the PC; if not, it starts as normal. From the PC you can then:

  • Make a TIKI disk: pick a .dsk file on the PC (200 KB or 400 KB double density), and the TIKI formats the floppy in drive A: and writes the image to it, sector by sector.
  • Read a TIKI disk: save the floppy in drive A: as a .dsk file on the PC.
  • Start the TIKI normally, for example from the disk you just made.

This solves a real problem: blank 5.25″ floppies can still be found, but without a TIKI disk to copy from they are hard to get started with. With Frank’s SD hard disk emulator for the TIKI, the same ROM also lets you pick a .dsk file on the SD card at start-up and boot from it.

Schematics

The original circuit diagrams were drawn by NORATOM A/S in 1983 (drawing no. 29095, six sheets, revisions B to D), and are part of the technical handbook. Each sheet is shown here as a redrawn version, made with AI from the original scans for readability, together with the original scan. Click a picture to enlarge it, or open the PDF for full detail.

The redrawn schematics are a transcription and have not been fully verified. They may contain errors – always check against the original scan before relying on them for repair work.

Redrawn TIKI-100 block diagram
Block diagram – overview of buses, memory and peripheral circuits.
Redrawn TIKI-100 CPU and memory schematic
CPU and memory (sheet 1) – Z-80A, clock, reset, memory and I/O decoding, system register, DRAM and ROM sockets.
Redrawn TIKI-100 I/O circuits schematic
I/O circuits (sheet 2) – keyboard interface, counter/timer (CTC), serial ports (DART), parallel port (PIO), floppy controller and cassette interface.
Redrawn TIKI-100 video RAM and address multiplexer schematic
Video RAM and address mux (sheet 3) – the 32 KB graphics memory, address multiplexing and scroll adders, plus the AY-3-8912 sound chip and speaker amplifier.
Redrawn TIKI-100 video scan and pixel shift schematic
Video scan and pixel shift (sheet 4) – horizontal and vertical scan, pixel shift registers, the palette RAM with RGB outputs, and the CPU interface.
Redrawn TIKI-100 connectors and video modulator schematic
Connectors and video modulator (sheet 5) – expansion connectors, DIN video outputs, sound output, power connector, PAL encoder and UHF modulator.
Redrawn TIKI-100 keyboard and power supply schematic
Keyboard and power supply (sheet 6) – keyboard layout and matrix, power supply with regulators, and the power connectors to the main board and floppy drives.