Download Object-Oriented Programming

Transcript
called "TIME." I figured, what the heck. I
almost fell out of my chair when the
PT68K-2 calmly reported the correct date
and time. Not only was there a clock, but
it already knew the time.
It turns out that Frederic uses a singlechip clock with a built-in battery. The
clock has the same pinout as the 6116
static RAM chips (and the clock chip contains RAM, too). You just pull one of the
6116s and replace it with the clock. The
software spots the clock and you've got
time.
Even better, when the clock chip is in
place, the 2K of RAM on that chip is battery-backed-up so HUMBUG uses that
RAM to store system configuration info.
My Hardware Problem
Now for my one hardware problem.
My copy of MicroEMACS would occasionally go to lunch, and at first I assumed it was a software problem.
However, it turned out that they'd
put a 12.5 MHz clock crystal in my 10
MHz system. Fortunately, they put two
crystals on the motherboard so a single
jumper change slowed me down to 8
HARDWARE
A wide selection of singleboard computers and systems, from $275.
COMBINATIONS
Package deals of fast and
powerful computer plus DOS
~nd more, from $350.
I~~~~TWARE
SYSTEMS CORP.
BOX 209 • MT. KISCO, NY 10549
914/241-0287
Reader Service Number 40
44
MICRO CORNUCOPIA, #44, Nov-Dec 1988
PT68K-2
MHz. I'll go in and change the 12.5 to 10
Two Versions Of C
MHz when I get around to it, but for
For $10 Peripheral Technology will
now I'm doing fine at 8.
send you a sampling of the SK*OOS
User's Group library including: a Small C
The Software
compiler, three (!) editors, an nroff clone,
A computer without software is about
and many other goodies.
as useful as a car without wheels. What
Also, Sidney Thompson, president of
the User's Group, and Bud Pass are just
about the software?
SK*OOS reminds me of CP /M. It's
finishing a full K & R version of C. (I
modular, consisting of a BIOS, command
have a beta test copy.) Sidney also sent
processor, and file system. There is essenme the copy of MicroEMACS, developed
using the new C.
tially no part or feature that can't be configured, modified, or replaced (anyone
Finally, I'm starting to see software
for ZCPR68?). It's also small, about 20K.
from other sources. I know of at least two
A hackable size.
more editors, two disassemblers, and a
host of other goodies.
Despite its size, it supports custom
device drivers, pipes, I/0 redirection,
BAT files, a RAMdisk, and TSRs. EveryLet's Be Real
thing except multitasking. (Peter is workI wouldn't be completely honest with
ing on that.)
you if I didn't tell you that there are
You get 40 utilities including: assome things I don't like.
sembler, file manager, the ubiquitous
For those of you who have experience
EDLIN, and a BASIC interpreter.
with Flex, SK*DOS will seem like old
SK*OOS also provides more assembly
home week. For the rest of us it's strange.
language help than we ever got from
Instead of drives A: and B:, they are 0
DRI. There are no less than 60 DOS calls,
and 1. The command processor doesn't
understand the familiar "*" and "?"
organized as "A-line" software intercharacters in wild cards. Instead you just
rupts. These include calls to input and
output text strings or decimal and hex
give the first letters of the filename. Unnumbers.
fortunately, this means typing:
That's on top of the 17 ROM calls.
DIR .C
And you get an INCLUDE file of system
equates to make assembly easier.
Although I didn't know 68K
which not only gives you all the .C files,
mnemonics when I started, I had no
but also all the .COM files, and any other
files whose extension begins with 'C'.
trouble recoding some of my CP /M
library routines. I found, hov1ever, that
The SK*OOS tools also give me more
many of my prized subroutines weren't
help than I care for (a carryover from
needed with SK*OOS, their functions
Flex, I think.) When you copy a file over
were available as system calls.
an existing file, SK*DOS stops you with a