S.U.P.E.R. Archivo HP 200LX
← Volver al catálogo

HP-PYGMY

Versión 1.5r2 · Frank Sergeant

Descargar 98.7 KB

Descripción

HP-PYGMY is Frank Sergeant's PYGMY Forth specially customized for the HP 100/200LX. PYGMY Forth is a fast, direct-threaded Forth for reasonably compatible MS-DOS machines. It includes an editor, assembler, and metacompiler (so it can recompile itself) in only 16K to 18K. Shareware.

Ficha técnica

Fichero
hp-pygmy.zip
Tamaño
98.7 KB
Formato
.zip
Año
1998
Alta en S.U.P.E.R.
1998-10-20
Ficheros dentro
10
Autor
Frank Sergeant
Ruta
anonftp/pub/hp-pygmy.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 350.4 KB

Estos son los ficheros que necesitas. Puedes enviarlos desde el contenido del paquete.

  • HP-PYGMY.COM → A:\SOFT programa de DOS 18.0 KB
  • EYE.ICN → A:\SOFT icono, junto a su aplicación 200 B
  • HP-PYGMY.ICN → A:\SOFT icono, junto a su aplicación 200 B

No hace falta llevar al palmtop EXTEND.SCR, EXTEND.TXT, HP-PYGMY.SCR, PYGMY.TXT, README.1ST, TUTORIAL.TXT, YOURFILE.SCR: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 350.4 KB en un disco de 1 MB.

Pasos
  1. Copia HP-PYGMY.COM 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.
  2. Los .ICN son iconos: van en la misma carpeta que su aplicación.

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
NOTE: If you install HP-Pygmy in AppManager with the icon, it will run OK
in the default DOS space (~96K), since it only uses a single 64K segment.
However, HP-Pygmy includes the ability to shell to DOS and run other
programs from within Forth.  If you want to use this, give it a lot more
space. When installing it in AppMgr, put the pipe symbol at the end of the
path line.  e.g.  a:\forth\hp-pygmy.com|  to give it all available space
OR  a:\forth\hp-pygmy.com|250  to give it 250K

FILES:

readme.1st              This file
hp-pygmy.com            The executable
hp-pygmy.scr            The source block file
hp-pygmy.icn            An icon for AppMgr or HDM
extend.scr              The extension block file
extend.txt              Documentation for the extensions
yourfile.scr            Eight blank blocks for your use
eye.icn                 Another icon (used in the graphics demo)
pygmy.txt               Original Pygmy documentation
tutorial.txt            Frank Sergeant's Forth tutorial

PRINTING FROM HP-PYGMY:

To print from HP-Pygmy, you'll need to make sure the serial port is
properly set before starting.  I include these two lines in my
autoexec.bat file -
        mode com1 96,N,8,1,P
        mode lpt1=com1
There's one other "gotcha" that also applies to any other DOS program
that supports printing.  If you use any communications software, it
probably changes the serial port settings.  You'll need to restore them
before running your programs.  You can launch your programs from a
batch file that uses the mode command for this.


* Major differences between PYGMY and 100Pygmy (Quoted from Dr. Williams'
100pygmy.doc):

     * The Editor will now automatically zoom to 64 x 18 mode and
       return to 80 x 25 mode when exited. The two words that
…

Extracto literal de README.1ST, tal cual venía en el 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

  1. Conecta el cable serie entre el palmtop y el ordenador.
  2. Abre Data Comm y ve a Menu → Connect → Settings. Ajusta: 9600 baudios, 8 bits de datos, paridad None, 1 bit de parada.
  3. Vuelve al menú y entra en Menu → File → Receive, con el protocolo Zmodem. El palmtop se queda esperando: déjalo así.

En el ordenador

  1. Usa Chrome (o Edge / Opera). Firefox y Safari no pueden abrir el puerto serie, y ningún navegador móvil tampoco.
  2. Averigua cuál es tu puerto: si no lo tienes claro, despliega la ayuda de aquí abajo.
  3. 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/ttyS0ttyS31 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).

macOSls /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.