Close
0%
0%

Eighty-EightyFive

It is 50 years since the release of 8085 microprocessor and tinyBASIC. Let's make something together to celebrate!

Similar projects worth following
168 views
0 followers
It is the Intel's last 8 bit microprocessor. But it never lost. There are 16 bit and 32 bit microprocessors like 8088,8086, 80186, 80286, 80386, ... But none of the lasted this long as 8085.

Simple computer with 8085 microprocessor operating at 4.9152MHz along with 8kB RAM and 8kB ROM. The communication with the external PC at 2400 baud using SID and SOD. There is a single I/O port for IN and OUT located at 60H and 61H.

There are only three main objectives for this project:
1. Make simple 8085 computer and run tinyBASIC on it
2. Understand and try on 10 UnDocumented Instructions
3. Write self modifying instructions

It is 50 years since the release of 8085 and tinyBASIC. Since I have some 8085 chips, I thought of making some simple and effective design.

There are many open source designs available online.  Most of them uses many components which are not available now or having large area of board.

I was looking for something similar to Lee Hart's 1802 or Z80 design. I came across a similar design based on 8085 microprocessor.

The board having only six ICs. Out of which three are just simple logic ICs. 

There are only three main components in the design. Microprocessor, 8kB RAM and 8kB ROM. The computer operates at 4.9152MHz using external crystal. So it is very easy to make.

The good thing about this design is it comes with circuit, layout and monitor program. It fits into a Altoids tin. Due to small available space, the board was designed in four layers. But signals uses only TOP and BOTTOM layers and the inner two layers used as power planes which simplifies easy routing.

The technical article was published in march 2019 Nuts and Volts magazine. The 8085 computer was  sold as a kit and currently not available. 

8085 computer - Components

As we see it uses very few components.

The assembled board looks like above picture.

It comes with inbuilt monitor program and tinyBASIC 1.0 with some additional commands.

The memory map is very simple.

Hardware Memory Map:
    0000H - 0EFFH    EPROM: TINY BASIC
    0F00H - 0FFFH    EPROM: ALTAIR TURNKEY MONITOR
    1000H - 1BFFH    EPROM: 8085 MONITOR
    1C00H - 1FFFH    EPROM: unused
    2000H - 3FFFH    SRAM
    4000H - 5FFFH    unavailable
    6000H - 7FFFH    RESERVED (decoded with I/O)
    8000H - FFFFH    OPEN

I/O Map:
    00H - 5FH    unavailable
    60H - 7FH    external I/O port
    80H - FFH    unavailable

Input Port:    60H
Output Port:    61H

Serial interface: 2400 baud, 8N1, Flow control: None

Because of processing of the serial data, sending text files from 
TeraTerm requires delays for character and lines.  I found the following 
settings very reliable:
Transmit delay =
    50 msec/char
    200 msec/line

 I have tried all the monitor options and all of them works well without any major issues.

The original design uses 8kB EEPROM 28C64 for ROM space. But I have used 8kB NVRAM DS1225 in initial testing.

As any board testing, it started with "hello, world" program

    ORG    2000H    ;load and run from address 2000H

    LXI     D, MSG    ; load message starting address in DE
    CALL    COUT    ; send a char pointed out by DE
    CALL    MONI    ; return to MONITOR. No RESET required
    
MSG     DB      0DH,0AH,'hello, world\n',0AH,0
MONI    EQU    1000H    ; monitor start address
COUT    EQU    1021H    ; monitor routine
    END

the above program makes use of inbuilt monitor function COUT to send a character over serial port . The assembled program downloaded into target using L command and Executed using G2000 command. The result is as below

The same program using TINY BASIC

PALO ALTAIDS TINY BASIC VER 1.0

OK
>PRINT "HELLO, WORLD!"
HELLO, WORLD!

The monitor program was assembled using A85 assembler which is available now and works with Windows 11.

MONITOR ADDRESS VECTORS
The ROM subroutine addresses below may be useful for writing programs 
on the Altaids computer.

MONITOR JUMP ADDRESSES
1000 COLD Monitor cold start
1003 WARM Tiny BASIC warm start

MONITOR VECTORS TO USEFUL ROUTINES (ENTER WITH CALL OPCODE)
1006 COUT Output char in A to serial port
1009 CIN Input char from serial port to A
100C PRTWD Output H,L as 4 Hex digits to serial port
100F PRTBY Output the byte in A as 2 Hex digits to serial port
1012 GETWD Get Hex word from serial port, return in H,L
1015 GETBY Get Hex byte from serial port, return in A
1018 PIN Get byte from input port, return in A
101B POUT Send byte in A to output port
101E DSPREG Display registers (registers are restored upon return)
1021 PUTSTR Send null terminated string pointed to by DE to serial port

 Sample Assembly Language program listing using A85 assembler.

                        ; DEMO.ASM
                        ;
                        ; ALTAIDS computer demo
 ; based on Altair demo from Popular...
Read more »

Extended_Instruction_Set.pdf

Intel 8085 extended Instruction set

Adobe Portable Document Format - 11.54 kB - 10/28/2026 at 16:58

Preview

ral2rar.lst

The program memory location 2006H will change automatically depends on CARRY flag. So the program will change from rotate left to rotate right (RAL<->RAR)

lst - 2.52 kB - 10/28/2026 at 16:06

Download

RAL2RAR.ASM

Self modifying program works with this 8085 computer. The source code for A85 assembler. The output port is at 61H.

asm - 1.45 kB - 10/28/2026 at 16:06

Download

  • 1 × 80C85 8-bit CMOS Microprocessor
  • 1 × 27C64 Memory ICs / PROMs, OTP PROMs
  • 1 × 6264 8kB SRAM
  • 1 × 74LS373N Logic ICs / Buffers, Drivers, Transceiver
  • 1 × 74LS139N Logic ICs / Decoders, Encoders, Multiplexers, Demultiplexers

View all 23 components

  • 1
    Step 1

View all instructions

Enjoy this project?

Share

Discussions

CharlesD wrote 10/26/2026 at 18:39 • point

Nice project.  Good luck!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates