S.U.P.E.R. HP 200LX Archive
← Back to the catalogue

Statemch

Download 3.1 KB

Description

Hello, Introduction These are short programs that implement a "state machine". These are similar to the state machine described in the August 1986 "Scientific American" magazine. In this state machine, a pixel's state in the next cycle depends on the states of the four neighboring pixels in this cycle. These programs are meant to be run in video mode 6.

Description extracted automatically from the documentation inside the package: this entry was not in the original catalogue.

Technical details

File
statemch.zip
Size
3.1 KB
Format
.zip
Year
1999
Files inside
7
Path
anonftp/pub/statemch.zip

How to install it

What to send to the palmtop saves 2.9 KB

These are the files you need. You can send them from the package contents below.

  • MODE6.COM → A:\SOFT programa de DOS 10 B
  • PSEUDO2.COM → A:\SOFT programa de DOS 16.2 KB
  • PSEUDO3.COM → A:\SOFT programa de DOS 16.2 KB
  • TEST2.BAT → A:\SOFT programa de DOS 70 B
  • TEST3.BAT → A:\SOFT programa de DOS 73 B
  • PSEUDO4.COM → A:\SOFT programa de DOS 16.2 KB

No need to put README.TXT: they are manuals, source code or supporting material. Read them here and save 2.9 KB on a 1 MB disk.

Steps
  1. Copy MODE6.COM, PSEUDO2.COM, PSEUDO3.COM, TEST2.BAT to A:\SOFT. They are DOS programs: run them from the DOS icon, or add A:\SOFT to the PATH in C:\AUTOEXEC.BAT to call them by name.

Derived from the package contents and the 200LX conventions. It installs to A: on purpose: C: is a RAM disk and every byte there is memory taken from the system.

The author's instructions
an external setup to provide mode 6 and something on the screen.
It can actually use mode 4 or 5, but things are a little different
there and is not what was intended.  The *.BAT files are starters
for someone to play with.

     MODE6.COM switches video modes if you need to for PSEUDO3.
PSEUDO3 is intended to allow you to set up a different beginning
pattern to see the resulting patterns.  As this program dosen't
clear the screen or change video modes, you must ensure that you
are in mode 4, 5, or 6.  The idea is to set the video mode, clear
the screen, put something on the screen to seed the state machine,
and then run PSEUDO3.

Comments

     Stefan Peichl's Carpet Designer was the start of this silly-
ness.  He posted an amazingly small graphics program to the HPLX
list.  I thought I could take an old program I wrote for my Z-100
and translate it to use CGA graphics and be small enough to squeak
by the no binaries limit.  Say about 250 - 300 bytes.  Well after
the usual dull thuds, I brute forced a working program.  Oops, too
big now.  But I e-mailed the program to a couple of people.  Stefan
Peichl suggested sending these to S.U.P.E.R and including the source.
Well I went through the source and declared the work area and fixed
a bug or two.  These are functionally the same as the older versions,
but are larger because of the work area.  The source contains comment
errors, and because of the "tiny" program effort, is not a good exam-
ple of assembly code for beginners.

     Another state machine is "Life" or "The Game of Life" created by
John Conway.  Many implementations exist for all sorts of displays.

     This program runs nicely on the HP 200LX letting you see the
state machine cycle from one screen to the next.  On faster machines
…

Literal excerpt from README.TXT, exactly as it came in the package.

Send to my palmtop

The palmtop must be waiting before you press the button, or the transfer will fail. It is the palmtop that announces it is ready, not the other way round.

First time? How to connect the palmtop, step by step →