- 15 -
PART 4 – ALTAIR 8800 DEMONSTRATIONS
This section contains step-by-step instructions for several popular Altair
demonstrations. These demonstrations assume you have downloaded the support
package from the AltairClone.com website: Click on the Support link at the
top of any page, then click on the All Manuals and Software as a .zip file
link. Extract all files from the zip file to your computer.
These demonstrations just scratch the surface of what can be done and learned
with your Altair 8800 Clone. Be sure to dig through the documentation and
software provided in the downloaded support package – you will find a wealth
of useful manuals and software. Keep in mind that some of the software is
“hidden” on Altair floppy disk images that can be seen only after the floppy
is loaded on to the Altair. This includes files on Altair BASIC disks, the
Altair DOS disk and on CP/M disks.
A. Kill-the-Bit Front Panel Game
Kill the Bit was one of the first games for the Altair. It runs on the front
panel of the Altair and does not require connection to an external teletype
or terminal. Following is the assembly language listing of the program:
;
; Kill the Bit game by Dean McDaniel, May 15, 1975
;
; Object: Kill the rotating bit. If you miss the lit bit,
;
another bit turns on leaving two bits to destroy. Quickly
;
toggle the switch, don't leave the switch in the up
;
position. Before starting, make sure all the switches
;
are in the down position.
0000
org
0
0000 210000
lxi
h,0
;initialize counter
0003 1680
mvi
d,080h
;set up initial display bit
0005 010E00
lxi
b,0eh
;higher value = faster
0008 1A beg: ldax d
;display bit pattern on
0009 1A
ldax d
;...upper 8 address lights
000A 1A
ldax d
000B 1A
ldax d
000C 09
dad
b
;increment display counter
000D D20800
jnc
beg
0010 DBFF
in
0ffh
;input data from sense switches
0012 AA
xra
d
;exclusive or with A
0013 0F
rrc
;rotate display right one bit
0014 57
mov
d,a
;move data to display reg
0015 C30800
jmp
beg
;repeat sequence
0018
end
To run the program, it must first be entered into the Altair’s memory using
the front panel switches. The front panel switches are grouped such that data
entry from an octal dump is easiest. Following is a dump of each byte of the
program in octal:
Содержание 8800 Clone
Страница 1: ......