You are on page 1of 1

Sungravure staffer Adriane Hill puts our prototype DREAM 6800 through its paces with a random number

display.

fact, there are 640 bytes free. That's key (FN) followed by a hex digit, viz:— screen on/off, input a key-code, make
either a damned long machine-code [F N ] [0] for memory modify a bleep, delay 3.33 milliseconds, test
program to hand-assemble, or a 320 ("memod"): allows RAM contents to keypad status, input byte from serial
statement CHIP-8 program. Most users be examined or changed. First, a 4- .I/O line (tape port), output same, wait
will find this more than adequate. digit hex address is keyed in and for frame sync interrupt, return to
CHIP-8 is a lot more memory-efficient appears in the display readout. The monitor, etc. A user can load his own
than BASIC, assuming the application is [FN] , key is used to step through machine-language debugging utility
graphics oriented and does not require memory, each byte being displayed (DREAMBUG!) in RAM at 0080. A
any heavy number-crunching, or text one by one. To write data into RAM, software interrupt causes a jump to this
manipulations. a 2-digit number (one byte) is address. A typical debug routine would
For experimenters, there are a few entered, and the address is in- then display all register contents.
spare I/O lines on the PIA and the cremented automatically. Further, the IRQ vector is in RAM, so
system bus is terminated on two 16-pin [FN] [1] for tape load. First, "memod" that a user can supply his own interrupt
sockets allowing memory and I/O ex- (above) is used to enter the begin- service routine. This feature is handy if
pansion. ning and ending locations of the you want to prografn your DREAM-
Most hobby computer designers take block to be loaded (or dumped), at 6800 as an "intelligent alarm clock", or
advantage of the increase in sophistica- 0002 and so on. if you want the keypad to be interrupt
tion and lower cost of hardware to [FN] [2] for tape dump. driven.
produce a more powerful system for [IN] [3] for "GO". First, a 4-digit star- Don't worry if the last paragraph
the same price as earlier designs. The ting address is entered; eg C000 to made little sense to you, because most
DREAM-6800 philosophy is to retain run a CHIP-8 program. (This address of those subroutines, and many ad-
the meek processor power and small is remembered for subsequent runs, ditional ones are far easier to utilise via
memory size of past generations, but at unless memod is used in the mean- the CHIP-8 interpreter, which uses a
a much reduced cost, and to more time.) At any time, the reset key [RST] two-byte "macro" instruction to per-
effectively utilise the available memory. may be used to regain monitor con- form any given task. Add a few more in-
This is not to imply that the '6800 lacks trol. structions to do arithmetic and logic,
power; it is a superlative 8-bit MPU in perform conditional branching, and do
every respect. That's it; you've learned just about all loads/stores on the variables, and
there is to know in order to enter, presto — you've got a high-level com-
verify, save, load and run any program. puter language.
SOFTWARE DESCRIPTION - Details of how to write and debug your
CHIPOS own CHIP-8 programs will be given CHIP-8 LANGUAGE SUMMARY
Q: "When is a computer not a com- later. CHIP-8 was originally developed by
puter?" For advanced users, CHIPOS has Joe Weisbecker at RCA Labs (USA),
A: "When there's no software to go been written with flexibility in mind. primarily to allow users of low-cost
with it." Calls to over 17 useful CHIPOS sub- microcomputers to write their own
CHIPOS packs about as much into routines can be made from a machine- video game programs without the
1024 bytes as is possible. The monitor code program; eg, erase the screen, fill tedium of hand assembling machine
and interpreter share many sub- the screen, get random byte, display language programs.
routines, such as the keypad encoder hex digit, convert byte to decimal, CHIP-8 does not use an expensive
and display routines. There are four show a user-defined symbol up to 8x16 video terminal like BASIC, but rather a
commands, selected by the function dots, set display coordinates, turn low-cost interface to the processor
Microprocessors & Personal Computers 87

You might also like