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

CLOCK

Versión 2.12 · Bret Johnson

Descargar 19.5 KB

Descripción

Clock TSR, which works very well on the palmtop. Including source code. More interesting programs of the author at Bret Johnson's Homepage .

Ficha técnica

Fichero
clock212.zip
Tamaño
19.5 KB
Formato
.zip
Año
1998
Alta en S.U.P.E.R.
2002-08-28
Ficheros dentro
3
Autor
Bret Johnson
Ruta
anonftp/pub/clock212.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 44.8 KB

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

  • CLOCK.COM → A:\SOFT programa de DOS 7.9 KB

No hace falta llevar al palmtop FILE_ID.DIZ, CLOCK.DOC: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 44.8 KB en un disco de 1 MB.

Pasos
  1. Copia CLOCK.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.

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
than installing CLOCK after the other program has started, which is
     usually impossible).  You need to either DISABLE CLOCK (with CLOCK /D or
     Ctl-Alt-C,Esc), or put CLOCK exactly where you want it to be on the
     screen BEFORE you start this kind of program.





                        CLOCK 2.12            Page 16 of 22



     Because CLOCK is continuously writing over the top of whatever the
     running program is trying to put on the screen, CLOCK needs to know what
     the program is trying to put on the screen.  CLOCK needs to know this so
     that when the CLOCK moves or becomes hidden (by DISABLING CLOCK, page 7,
     or by moving the screen cursor under the CLOCK), CLOCK can "restore" to
     the screen what is supposed to be there when CLOCK isn't.

     There are two ways programs can write things to the screen.  The first
     is by writing directly to video memory (which is very fast, but has
     compatibility problems), and the second is to go through the Operating
     System (DOS) and the BIOS using the Video Interrupt (slower, but more
     compatible with other programs like CLOCK).

     When you see CLOCK flashing on and off, it is because CLOCK is
     temporarily "hiding" itself when it thinks another program is trying to
     do something with the screen.  As soon as CLOCK thinks the other program
     is done with the screen, it turns itself back on.  The reason CLOCK
     sometimes "messes up" the screen for other programs is because CLOCK
     can't always tell when another program is doing something to the screen.
     CLOCK does the best it can, but unfortunately isn't perfect.

     If a program writes to the screen using the Video Interrupt, CLOCK
     "intercepts" things, and is able to keep track of what is supposed to be
…

Extracto literal de CLOCK.DOC, 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.