Technical info
How the TIKI 100 works inside – from the original technical handbook.
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.
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)
| Bit | Name | Active | Function |
|---|---|---|---|
| 7 | LMP1 | Low | Light in the GRAFIKK key |
| 6 | MOTON | High | Floppy drive motor on |
| 5 | LMP0 | Low | Light in the LOCK key |
| 4 | SDEN | High | Single density on the floppy |
| 3 | VIRE | High | Graphics RAM mapped to 0–32 K |
| 2 | ROME | Low | EPROM mapped to 0–16 K |
| 1 | DRIS1 | High | Select floppy drive 1 |
| 0 | DRIS0 | High | Select 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 K | 16–32 K | 32–64 K |
|---|---|---|---|---|
| 0 | 0 | EPROM | RAM | RAM |
| 0 | 1 | RAM | RAM | RAM |
| 1 | 0 | Reserved | ||
| 1 | 1 | Graphics RAM | Graphics RAM | RAM |
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:
- A quick test of EPROM and RAM.
- The rest of the start-up program is copied to address
D000H, the video driver and the character generator toE000H, and keyboard, interrupt and disk routines toF000H. - The start-up code at
D000Hsets 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. - The EPROM is switched out, so the whole 64 KB is read/write memory.
- A jump to
F003H(warm start) loads a boot loader from the floppy toC400H, 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.
| Address | R/W | Function |
|---|---|---|
| 00–03 | R | Keyboard: repeated reads return one column at a time |
| 00–03 | W | Keyboard reset: sets the column counter to 0 |
| 04 | R/W | Serial channel A, data |
| 05 | R/W | Serial channel B, data |
| 06 | R/W | Serial channel A, status (read) / control (write) |
| 07 | R/W | Serial channel B, status (read) / control (write) |
| 08 | R/W | Parallel port A, data |
| 09 | R/W | Parallel port B, data |
| 0A | R/W | Parallel port A, status / control |
| 0B | R/W | Parallel port B, status / control |
| 0C–0F | W | Graphics mode register |
| 10 | R/W | Floppy controller, status (read) / command (write) |
| 11 | R/W | Floppy controller, track register |
| 12 | R/W | Floppy controller, sector register |
| 13 | R/W | Floppy controller, data register |
| 14–15 | W | Graphics colour register (palette) |
| 16 | W | Sound chip and scroll register: pointer |
| 17 | R/W | Sound chip and scroll register: data |
| 18–1B | R/W | Counter/timer (CTC) channels 0–3 |
| 1C–1F | W | System 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).
| Bit | Value 1 means | Value 0 means |
|---|---|---|
| 7 | Interrupt when the counter reaches 0 | No interrupt |
| 6 | Counter mode (count pulses on separate input) | Timer mode (count down pulses on the separate input, or 4 MHz scaled down 16 or 256 times) |
| 5 | Prescaler 256 (timer mode) | Prescaler 16 |
| 4 | Count on rising edges | Count on falling edges |
| 3 | Must be 0 in the KONTIKI 100 | |
| 2 | A time constant follows | No time constant follows |
| 1 | Reset: the counter stops, but no registers change. If bits 1 and 2 are both 1, counting resumes when the time constant is written | Normal operation |
| 0 | Control 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.
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.
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.
| Signal | P1 pin (KONTIKI) | P1 = DB-25 pin | P2 pin (KONTIKI) | P2 = DB-25 pin |
|---|---|---|---|---|
| Ground | 1 | 1 | 1 | 1 |
| RXD (data in) | 3 | 2 | 5 | 3 |
| TXD (data out) | 5 | 3 | 3 | 2 |
| Clear To Send | 7 | 4 | 9 | 5 |
| Request To Send | 9 | 5 | 7 | 4 |
| +5 V | 10 | 18 | 10 | 18 |
| Ground | 13 | 7 | 13 | 7 |
| High level (+12 V) | 16 | 21 | 16 | 21 |
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 signal | KONTIKI pin | Centronics pin | Centronics signal |
|---|---|---|---|
| PB 0 | 1 | 1 | STROBE |
| PA 0–PA 7 | 3, 5, 7 … 17 | 2–9 | D0–D7 |
| PB 4 | 19 | 10 | ACK |
| PB 5 | 21 | 11 | BUSY |
| PB 6 | 23 | 12 | NO PAPER |
| Tape input | 25 | 13 | (UNIT SELECT) |
| PB 2, PB 1, PB 7, PB 3 | 26, 27, 28, 29 | 31, 14, 32, 15 | – |
| Tape out | 30 | 33 | – |
| PA STB / PA RDY | 32 / 34 | 34 / 35 | – |
| Ground | even pins 2–24, 31, 33 | 19–30, 16, 17 | GND |
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 K | 200 K | 400 K | 800 K | |
|---|---|---|---|---|
| Density | Single | Double | Double | Double |
| Sides | 1 | 1 | 2 | 2 |
| Tracks per side | 40 | 40 | 40 | 80 |
| Sectors per track | 18 | 10 | 10 | 10 |
| Sector size | 128 | 512 | 512 | 512 |
| Block size | 1024 | 1024 | 2048 | 2048 |
| Directory entries | 32 | 64 | 128 | 128 |
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:
| Mode | Bits per dot | Colours | Dots per line in memory | Visible (LIBG) |
|---|---|---|---|---|
| 1 | 1 | 2 | 1024 | 960 × 256 |
| 2 | 2 | 4 | 512 | 480 × 256 |
| 3 | 4 | 16 | 256 | 240 × 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
| Pin | Signal | Pin | Signal |
|---|---|---|---|
| 1 | GND (0 V) | 2 | +5 V |
| 3 | NMI | 4 | INT |
| 5 | MRQ | 6 | RES |
| 7 | IORQ | 8 | M1 |
| 9 | RD | 10 | WR |
| 11 | EXIN | 12 | BUSAK |
| 13 | BUSRQ | 14 | Ø (4 MHz) |
| 15–22 | D0, D2, D4, D6 (odd pins) | 16–22 | D1, D3, D5, D7 (even pins) |
| 23–37 | A0, A2 … A14 (odd pins) | 24–38 | A1, A3 … A15 (even pins) |
| 39 | GND | 40 | +5 V |
| 41 | IEI | 42 | IEO |
| 43 | VIWT | 44 | RFSH |
| 45 | 2CL (2 MHz) | 46 | GND |
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.
| Jumper | Std. | Function |
|---|---|---|
| ST 1 | Connects +5 V to pin 10 of the RS-232 connectors | |
| ST 3 | ✓ | Connects the 1 MHz clock to the floppy logic |
| ST 4 | Routes the interrupt chain past the parallel port | |
| ST 5 | Routes the interrupt chain past the serial port | |
| ST 6 | Ties PRDY from the floppy drive to ground | |
| ST 28a | Transmitter clock of serial channel A together with the receiver clock | |
| ST 28b | Transmitter clock of serial channel A to the output of counter channel 2 | |
| STU 2a | SDEN fixed high | |
| STU 2b | SDEN from system register bit 4 | |
| STP 4a | ✓ | Parallel port B bit 7 to the external connector |
| STP 4b | Parallel port B bit 7 to the cassette logic | |
| ST 5V | Normal +5 V to the modulator circuit | |
| SW 1 | Black-and-white picture from the modulator | |
| SW 3 | Connection for an extra reset switch |
Power supply
| Mains | 220 V ±10%, 50 Hz |
|---|---|
| Fuse, primary | 5×20 mm, 200 mA slow |
| Fuse, secondary | 5×20 mm, 2 A slow |
| Total power | 45 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–2 | 0000–3FFF | 4000–7FFF | 8000–BFFF | C000–FFFF |
|---|---|---|---|---|
| 00 | ROM | RAM | RAM | RAM |
| 01 | RAM | RAM | RAM | RAM |
| 10 | ROM | Graphics RAM, second half | Graphics RAM, first half | RAM |
| 11 | Graphics RAM (all 32 KB) | RAM | RAM | |
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
14is 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 clock | 20 MHz (its own crystal, separate from the CPU clock) |
|---|---|
| Line | 1280 dots = 64 µs (15.625 kHz): 1024 dots of picture, 256 dots of blanking with sync and colour burst |
| Frame | 312 lines = 50.08 Hz: 256 lines of picture, 56 lines of blanking |
| Colours | 256 (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
| Address | Card |
|---|---|
| 20–27 | Hard disk controller (WD1010A) |
| 60–6F | Analogue I/O (SINTEF) |
| 60–67 | RVO card (digital I/O) |
| 70–77 | Analogue/digital I/O |
| 78–7B | Light pen interface |
| 7E–7F | 8088/8087 16-bit card |
| 80–FF | Free |
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.
| Bit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | CTRL | GRAFIKK | 2 " | 4 $ | 6 & | 8 [ | 0 = | @ ´ | F2 | NP + | NP 4 | HOME |
| 1 | SHIFT | 1 ! | W | R | Y | I | P | ^ | | F3 | NP ~ | NP 5 | → |
| 2 | BRYT | ANGRE | S | F | H | K | Ø | ' * | F5 | NP * | NP 6 | NP 2 |
| 3 | RETURN | A | X | V | N | , ; | - | ← | F6 | NP 7 | LINJE SLUTT | NP 3 |
| 4 | SPACE | < > | 3 # | 5 % | 7 / | 9 ] | + ? | UTVID | ↑ | NP 8 | NP 1 | NP ENTER |
| 5 | NP / | Z | E | T | U | O | Å | F1 | PG DOWN | NP 9 | NP 0 | – |
| 6 | SLETT | Q | D | G | J | L | Æ | F4 | LINJE START | NP % | NP , | – |
| 7 | – | LOCK | C | B | M | . : | HJELP | PG 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:
| Blinks | Meaning |
|---|---|
| 1 | Everything OK |
| 2 | ROM checksum error |
| 3 | RAM error |
| 4 | Both 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.
| Pin | Signal | Pin | Signal |
|---|---|---|---|
| 1 | /XSTOP (stop internal dot clock) | 2 | XCLK (external dot clock) |
| 3 | /BLANK | 4–5 | MODE0–MODE1 (graphics mode) |
| 6–13 | VADDR0–7 (line counter) | 14 | SWCLK (graphics bus switch) |
| 15 | XVCLR (reset line counter) | 16 | /HSYNC |
| 17–22 | HADDR0–5 (column counter) | 23 | /MW (write to graphics RAM) |
| 24 | +12 V | 25 | −12 V |
| 26 | GND | 27 | VSYNC |
| 28–43 | D0–D15 (graphics data) | 44 | P3CLK (data valid) |
| 45–50 | Not 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
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
.dskfile 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
.dskfile 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.