Statemch
Descripción
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.
Descripción extraída automáticamente de la documentación incluida en el paquete: esta entrada no figuraba en el catálogo original.
Ficha técnica
- Fichero
statemch.zip- Tamaño
- 3.1 KB
- Formato
- .zip
- Año
- 1999
- Ficheros dentro
- 7
- Ruta
anonftp/pub/statemch.zip
Cómo instalarlo
Qué enviar al palmtop ahorras 2.9 KB
Estos son los ficheros que necesitas. Puedes enviarlos desde el contenido del paquete.
-
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 hace falta llevar al palmtop
README.TXT:
son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 2.9 KB en un disco de 1 MB.
Pasos
- Copia MODE6.COM, PSEUDO2.COM, PSEUDO3.COM, TEST2.BAT a A:\SOFT. Son programas de DOS: se ejecutan desde el icono DOS, o añadiendo A:\SOFT al PATH de C:\AUTOEXEC.BAT para poder llamarlos por su nombre.
Deducido del contenido del paquete y de las convenciones del 200LX. Se instala en A: a propósito: C: es un disco RAM y cada byte ahí resta memoria al sistema.
Instrucciones del autor
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
…
Extracto literal de README.TXT, tal cual venía en el paquete.
Contenido del paquete
Enviar a mi palmtop
El palmtop tiene que quedar esperando antes de pulsar el botón, o la transferencia fallará. Es él quien avisa de que está listo, no al revés.
En el palmtop
- Conecta el cable serie entre el palmtop y el ordenador.
- Abre Data Comm y ve a Menu → Connect → Settings. Ajusta: 9600 baudios, 8 bits de datos, paridad None, 1 bit de parada.
- Vuelve al menú y entra en Menu → File → Receive, con el protocolo Zmodem. El palmtop se queda esperando: déjalo así.
En el ordenador
- Usa Chrome (o Edge / Opera). Firefox y Safari no pueden abrir el puerto serie, y ningún navegador móvil tampoco.
- Averigua cuál es tu puerto: si no lo tienes claro, despliega la ayuda de aquí abajo.
- Pulsa el botón y selecciónalo en la ventana que abre Chrome.
¿Cómo sé cuál es mi puerto?
Linux — tu adaptador USB-serie será /dev/ttyUSB0 o /dev/ttyACM0. Los /dev/ttyS0…ttyS31 son puertos heredados de la placa base: el núcleo los lista aunque no exista ninguno, así que casi nunca son el tuyo. Para salir de dudas:
ls -l /dev/serial/by-id/
Sale el fabricante y el modelo, y a qué ttyUSB* apunta. Si no aparece nada, desenchufa y vuelve a enchufar el cable y mira dmesg | tail: verás una línea del estilo «ch341-uart converter now attached to ttyUSB0».
Permisos: en Debian y derivados tu usuario debe estar en el grupo dialout o el puerto no se abrirá. Compruébalo con groups, y si falta:
sudo usermod -aG dialout $USER
Hay que cerrar la sesión y volver a entrar para que surta efecto.
Windows — Administrador de dispositivos → Puertos (COM y LPT). Tu adaptador aparece como COM3, COM4… Si aparece con un triángulo amarillo, te falta el driver del chip (FTDI, Prolific o CH340 según el cable).
macOS — ls /dev/cu.*; tu adaptador será algo como /dev/cu.usbserial-A50285BI. Usa siempre el cu., no el tty..
El 200LX no lleva un conector serie estándar: necesitas el cable de conectividad de HP (el F1015A o un equivalente) y, salvo que tu ordenador tenga puerto serie de verdad, un adaptador USB-serie detrás.
Tu navegador no puede hablar con el puerto serie. El envío directo usa la Web Serial API, que solo existe en Chrome, Edge y Opera de escritorio — no en Firefox, Safari ni en ningún navegador móvil.
Descarga el fichero con el botón de arriba y pásalo al palmtop con tu método habitual.