- Tangerine MICROTAN 65
The Tangerine Microtan 65 (sometimes abbreviated M65) was a 6502 based single board
microcomputer , first sold in 1979, which could be expanded into, what was for its day, a comprehensive and powerful system. The design became the basis for what later became the ORIC, ATMOS and latercomputer s, which had similar keyboard addressing and tape I/O as in the Microtan 65. The Microtan 65 had a single step function that could be used fordebugging at the hardware level. The computer was available as ready-built boards or as kits consisting of board and components requiringsoldering together.The Microtan 65 was intended as a general purpose microcomputer which could be used by laboratories,
Original Equipment Manufacturers (OEM)s and the computer enthusiast, and it was designed with expandability in mind. In this way the customer could customise the system, be it as a specialisedcontrol 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.Main Board
The Microtan 65 was quite simple by today's standards, with:
* an NMOS 6502CPU running at 750kHz clock rate
* 1K byte of RAM, used both for display memory and user programs
* 1K byte of ROM for the monitor program (not even called anoperating system )
* video logic and atelevision RF modulator , for the 16 rows of 32 characters display
* asoftware scannedhexadecimal keypad
* an optionalASCII keyboardDisplay
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 a major feature of the 6502. The 6502 (unlike most other
CPU s) 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 and ATMOS computers.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 6MHz . 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) was 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 = setBreakpoint s
* O = calculate Offset for use in branch instructions
* C = Copy a block of memoryMemory Map
The Microtan 65 memory map is shown below ($ representing a
hexadecimal memory address):
* $0000 Zero Page
* $0100 Stack
* $0200 ScreenRAM
* $0300
* $0400 End of Microtan 65 RAM - map continued from $0400 to $0700 as RAM on TANEX
* $8000 I/O
* $C000
* $F800 TANBUG V2
* $FFFFThe screen memory occupies the space between $200 and $3FF. In addition to the standard 8
bit s of screenRAM , there was an additional single bit RAM shadowing the $200 to $300 space. This was configured as a 9thbit write-only plane, and was used by the Microtan 65 for rudimentary, or "chunky", graphics. Setting the 9th bit displayed aMinitel type block graphic.The display is 32 characters across by 16 lines down, 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 ofRAM is mirrored through the bottom 32 KB, the I/O through the next 16 KB, and theEPROM through the top 16 KB. If you 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 "9thbit " 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 orASCII keyboard)TANEX expansion board
Adding a TANEX board provided a number of features:
* an add-on to TANBUG called XBUG
* space for an additional 7K bytes ofRAM
* fiveEPROM sockets
* two 6522 VIAs
* a 6551UART , providing a cassette interface for storing and retrieving programs (300 and 2400baud ), and aserial interface Without a TANEX board, and due to deliberately ambiguous address decoding, the address $F7F7 would appear to the 6502 to have the same data as $FFF7. In TANBUG, this is a jump to an internal monitor routine. With TANEX installed, $F7F7 is decoded properly, and that address is an entry point into XBUG. XBUG provided features such as cassette tape loading and saving, a simple assembler /
disassembler , hex calculator.The ROM sockets on TANEX could be used to run a 10K Microsoft Extended BASIC, a two-pass assembler, or even (and more likely given the hardware bias of the Microtan 65) code written for a specific hardware control application.
Price of the TANEX board in 1981 was £49.45 as a "minimum configuration" kit - lacking one of the 6522 VIAs and the 6551 and with 1K of RAM - and £60.95 for a similar board fully assembled. TANEX was also available with the board fully populated with chips (although excluding XBUG, ROMs & BASIC) and in this form the costs were £103.16 for the kit and £114.66 ready assembled.
Further Expansion
The Microtan 65 was designed as a modular system able to be expanded as required, and for this each board included an 80-pin connector at one end allowing it to be plugged into a backplane-type
motherboard . A simple two-socket "Mini Motherboard" connected the Microtan 65 and TANEX boards for minimum expansion and in this form the system was also available ready-built from Tangerine, complete with case and full ASCII keyboard, as the "Micron", costing £395.00 in 1981. For further expansion the builder could purchase the full "System Motherboard" which featured an additional ten sockets, bringing the total available sockets to twelve. For housing this, a "System Rack", rack-based case was available, in black and silver with a black front panel trimmed in Tangerine's trademark orange.Additional boards became available with time, including a 40K memory board - TANRAM, made up of 32K of dynamic and 8K of static RAM, bringing the total non-paged memory to 48K, a dedicated parallel I/O board featuring 16 parallel input/output ports; a similar dedicated serial I/O board featuring 8 serial input/output ports, a
disk controller board for use with disk drives, aDisk Operating System - TANDOS 65, a high resolutiongraphics board featuring 8K of static graphics RAM giving a resolution of 256 × 256pixel s, a dedicated 32K ROM board, (aimed mainly at OEM and general purpose applications or for use with AIM KIM and SYM systems), capable of holding either 8 × 2732 or 16 × 2716 EPROMs; and a 32K RAM board featuring two 16K banks of 4116 dynamic RAM, again intended for similar purposes to the 32K ROM board. In addition, several third-party suppliers offered boards designed for use with the Microtan 65 system.In addition to the BASIC
programming language Tangerine also released on disk TANFORTH, an extended version of FIG FORTH featuring a full FORTH assembler and editor.External links
* This article was based on: [http://oric.ifrance.com/microtan_hardware.txt Microtan 65 Hardware and Software Description] by Ray Gannon and credited "Distribute as you like. Credit me if you do."
* [http://www.geoff.org.uk/microtan/index.htm Geoff Mcdonald's webpage] - author's experience with the Microtan 65
* [http://oric.ifrance.com/microtan.html Fabrice Frances' website] - includes a Microtan 65emulator written in Java
* [http://www.binarydinosaurs.co.uk/Museum/Tangerine/microtan65-box.php Binary Dinosaurs] - tracing the history of computers
* [http://www.microtan.ukpc.net www.microtan.ukpc.net ] - manuals, ROM images, magazine and newsletter articles
Wikimedia Foundation. 2010.