Re: Intro to Programming w/ Machine Language
From: John Dahlman (jrdahlman2_at_netscape.net)
Date: 02/11/05
- Next message: Artie Gold: "Re: haskell?"
- Previous message: MSCHAEF.COM: "Re: graphics .... sigh"
- In reply to: Jonathan Bartlett: "Intro to Programming w/ Machine Language"
- Next in thread: Ben Pfaff: "Re: Intro to Programming w/ Machine Language"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 11 Feb 2005 08:38:13 -0800
This teaching method of simulating a computer reminded me of an old
educational program from years ago that actually did this. (I found
it as I'm slowly re-reading my 20-year-old BYTE collection out of
storage.)
In the March 1984 issue of BYTE was a review of "Simulated Computer II"
for the Atari 800 and Commodore 64 computers. On the screen you would
see a little terminal (complete with "hands" that typed as you typed)
for input, a little "printer" for output, the exposed CPU, and about 15
boxes with numbers in them as the "memory locations." All numbers were
in decimal, but just like a real CPU, those numbers could represent
data or CPU instructions.
Every time you stored a number into a memory location, a sparkling
"electron" would "bzzzzt!" down the wire from the terminal into the
CPU, and then to the memory, where the number would appear--a very
graphic view of a memory fetch. The simulated CPU had a very simple
instruction set. When a program was running, numbers (instructions)
would zap back and forth between memory and the CPU. (Though reviewer
said that the constant "bzzzting" sound could get to you after awhile.)
Although the reviewer thought that the instruction set was too limited
(no calling subroutines), it was fun to play with and a wonderfully
clear demonstration of what a CPU really does. There were even turtle
graphics memory mapped to three of the "bytes", so you could write
simple drawing programs with it. The review ended with, "I wish I had
this program when I was learning machine language!"
It sounds like the kind of program that everyone thinks is really neat
when it comes out, only to disappear forever soon afterwards. I've
never seen a simulation like this nowadays--certainly not simple enough
for older children. Maybe there's a ROM-dump of it somewhere on an
Atari emulation site, but if I hadn't re-read it again in BYTE I would
never have heard of it.
John Dahlman
- Next message: Artie Gold: "Re: haskell?"
- Previous message: MSCHAEF.COM: "Re: graphics .... sigh"
- In reply to: Jonathan Bartlett: "Intro to Programming w/ Machine Language"
- Next in thread: Ben Pfaff: "Re: Intro to Programming w/ Machine Language"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|