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

APCALC for 95LX

Versión 1 · Andy Finkel

Descargar 12.6 KB

Descripción

The HP Palmtop Paper APCALC: The Programmer's Calculator is a system manager compliant program for the HP 95 LX only. The main difference between the unregistered version and the registered version of Apcalc is that the registered version does not have the Use Count. BASIC SPECIFICATIONS This programmer's calculator operates in decimal mode, hexadecimal mode, octal, binary, floating point, and in ASCII. It performs basic arithmetic operations- addition, subtraction, multiplication, division, and unary negation) as well as some operations useful to programmers (shift left,shift right, AND, OR, XOR, and NOT). The calculator has 10 memories for storing results.

Ficha técnica

Fichero
apcalc.zip
Tamaño
12.6 KB
Formato
.zip
Año
1993
Alta en S.U.P.E.R.
1999-10-26
Ficheros dentro
3
Autor
Andy Finkel
Ruta
anonftp/pub/apcalc.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 12.3 KB

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

  • APCALC.EXM → A:\SOFT aplicación del System Manager 14.3 KB

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

Pasos
  1. Copia APCALC.EXM a A:\SOFT. Es una aplicación del System Manager: regístrala en App Manager con F2 (Add), indicando la ruta completa (por ejemplo A:\SOFT\APCALC.EXM).
  2. El 200LX admite 8 aplicaciones EXM como máximo. Comprueba con F8 (List) en App Manager: si ves un * en la columna Status, tienes el cupo lleno y necesitarás MoreEXM.

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
GETTING STARTED
     Unlike normal DOS programs, this
 calculator is not invoked from the
 command prompt.  Instead, you assign a
 key; when this key is hit the
 calculator starts.  Like the builtin
 applications, you can suspend the
 operation of the calculator and invoke
 another of the resident applications,
 and return to the calculator at the
 same place you left it.    To assign a
 key to the calculator, you must add an
 entry to the file called
 C:\_DAT\apname.lst.  If this file
 does not exist, it must be created.
 (A sample apname.lst file is enclosed
 in this archive.).  The entry for the
 calculator would be something like:

 C:APCalc.exm,c300,APCalc

 This assigns the ALT-HPCALC key to the
 programmer's calculator.  Important
 Note:  you MUST reboot the HP 95 after
 making any changes to the apname.lst
 file for those changes to take
 effect.  When the calculator starts,
 it displays a simple help screen. This
 screen can also be displayed at any
 time by pressing the F1 key.  The
 calculator is then set up as it was
 when you last used it.  (the = key is
 useful to clear the help screen
 without disturbing anything on the
 CALCLINE).

 F1      displays the help screen
 F2      shifts RIGHT the first number
         entered by the second number,
         in powers of two.
 F3      shifts LEFT the first number
         entered by the second number,
         in powers of two.
 F4      ANDs the first number with the
         second number.
 F5      ORs the first number with the
         second number.
 F6      EXCLUSIVE ORs the first number
         with the second number.
 F7      Stores the result in memory.
 F8      Recalls the memory into the
         current display.
 F9      Adds the result with the
 number
         stored in memory and saves it
…

Extracto literal de APCALC.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.