The Tangerine Microtan 65 (sometimes abbreviated M65) was a 6502-based single board microcomputer, first sold in 1979, that could be expanded into what was, for its day, a comprehensive and powerful system. The design was the basis for what later became the Oric-1 and subsequent 'Oric' models. Those later machines have similar keyboard addressing and tape I/O as the Microtan 65. The Microtan 65 has a hardware single step function that can be used for debugging software in both ROM and RAM. The computer was available as ready-built boards or as kits consisting of board and components requiring soldering together. The Microtan 65 was intended as a general purpose microcomputer which could be used by laboratories, original equipment manufacturers (OEMs), and computer enthusiasts, and it was designed with expandability in mind. In this way the customer could customise the system, be it as a specialised control system, as a learning tool, or as a general purpose computing device. Price of the Microtan 65 board in 1981 was £79.35 (inc. VAT) in kit form or £90.85 ready-assembled. The system was not generally available in the shops. To accompany the hardware and to offer further support to users, a magazine was created, the Tansoft Gazette (name inspired by the Liverpool Software Gazette). This was edited by Tangerine employee Paul Kaufman who continued as editor when the magazine was renamed Oric Owner. Tansoft also became the name of Tangerine Computer's official software house which supplied a number of software products and books for the Microtan system and subsequently for the Oric range of computers.
Main board
The Microtan 65 was quite simple by today's standards, with:
an NMOS 6502 CPU running at 750 kHz clock rate 1K byte of RAM, used both for display memory and user programs 1K byte of ROM for the monitor program video logic and a television RF modulator, for the 16 rows of 32 characters display a software scanned hexadecimal keypad an optional ASCII keyboard a DIN 41612 connector for expansion Although the board + keypad could be used stand-alone, only 423 bytes were available for user program/data/stack and there was no facility for storing/loading programs.
Display The major advance that the Microtan 65 had over a lot of the competition at that time was that the video display was flicker free. At the time a lot of microcomputers would either access the screen memory asynchronously to the video timing (causing flicker and splats on the screen), or would write to the screen memory during a non-display period (which was slow). The Microtan 65 got over this problem by making use of an incidental feature of the 6502. The 6502 (unlike most other CPUs) has a regular period in each instruction cycle when all CPU activity is inside the chip, leaving the external memory available without using complex external arbitration logic. This made video display design simpler and meant that video accesses could be made at maximum speed. This technique is also used on the Oric-1 and Atmos, and in the unrelated Apple II. The 32×16 characters was the reason that the 6502 was clocked at 750 kHz. To get the circuitry to work at a (nearly) standard video rate meant that the pixel clock had to be 6 MHz. When the Microtan 65 was designed only a 1 MHz 6502 was available, and so 750 kHz was used (6 MHz divided by 8).
Software The 1K byte monitor program (later increased to a 2K) is called TANBUG. The software facilities were rudimentary:
M = Memory modify / examine L = List a block of memory G = Go command (Run a program) R = Registers display / modify S = set Single step mode N = set Normal mode (cancel S command) P = Proceed command (execute next instruction in Single step mode) B = set Breakpoints O = calculate Offset for use in branch instructions C = Copy a block of memory
Memory map The Microtan 65 memory map is shown below ($ representing a hexadecimal memory address):
$0000 Zero Page $0100 Stack $0200 Screen RAM $0300 Screen RAM $0400 End of Microtan 65 RAM—map continued from $0400 to $0700 as RAM on TANEX $8000 I/O $C000 $F800 TANBUG V2 $FFFF The screen memory occupies the space between $200 and $3FF. In addition to the standard 8 bits of screen RAM, there was an (optional) additional 1-bit RAM shadowing the $200 to $300 space. This was used by the Microtan 65 to implement rudimentary Minitel type block graphics which worked as follows:
After a CPU read from $BFF0 all subsequent CPU writes to the screen memory set the 1-bit RAM for the associated screen location After a CPU write to $BFF3 all subsequent CPU writes to the screen memory clear the 1-bit RAM for the associated screen location When the video logic reads the screen memory, a screen location in which the 1-bit RAM is clear is treated as an ASCII code and rendered using data from the character generator ROM. A screen location in which the 1-bit RAM is set is treated as a bit-map which controls the combination of 2 (horizontal) x 4 (vertical) blocks to render as bright/dark. The display is 32 characters across by 16 lines down (64 x 64 graphics blocks), with memory address $200 representing the top left hand displayed character, $220 the second row, etc. The character representation is standard ASCII. Several pieces of Microtan 65 software write to the bottom line by writing to memory starting at $3E0—the leftmost character on the bottom line, rather than vectoring through TANBUG.
Input/output I/O in the Microtan 65 is decoded into a 16 KB space to simplify the hardware. In fact the 1 KB of RAM is mirrored through the bottom 32 KB, the I/O through the next 16 KB, and the EPROM through the top 16 KB. If one added an expansion board (see TANEX below) the decoding was modified and the wasted space reclaimed. In common with other 6502 designs, I/O is mapped into the memory space. There is no dedicated I/O space as on the Z80, 8086 etc. The I/O ports are (when fully decoded):
Write to $BFF0 Clear Keyboard Flag (Keyboard would generate an IRQ) Read from $BFF0 Turn Graphics On (enables "9th bit" graphics writes) Write to $BFF1 Used by the hardware single step Write to $BFF2 To write a scan pattern to the hex keypad (if fitted) Write to $BFF3 Turn off Graphics (disable "9th bit" graphics writes) Read From $BFF3 Read Keyboard Port (either keypad or ASCII keyboard)
TANEX expansion board
Adding a TANEX board provided a number of features:
… excerpt ends here. Continue reading the full article.





