XRAY Hex
Versión 1.5 · Tom Kihlken
Descripción
The HP Palmtop Paper XRAY is a programming tool that displays messages about the operating system functions. With XRAY, you'll be able to diagnose obscure programming bugs. The high resolution timer can also help optimize your program's I/O. It can be used with programs written in any language and requires no special compiler. Shareware.
Ficha técnica
- Fichero
xray15.zip- Tamaño
- 13.2 KB
- Formato
- .zip
- Año
- 1990
- Alta en S.U.P.E.R.
- 1998-12-20
- Ficheros dentro
- 2
- Autor
- Tom Kihlken
- Ruta
anonftp/pub/xray15.zip
Cómo instalarlo
Qué enviar al palmtop ahorras 19.5 KB
Estos son los ficheros que necesitas. Puedes enviarlos desde el contenido del paquete.
-
XRAY.COM→ A:\SOFT programa de DOS 10.1 KB
No hace falta llevar al palmtop
XRAY.DOC:
son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 19.5 KB en un disco de 1 MB.
Pasos
- Copia XRAY.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
install XRAY to make the hot key to work. This prevents the
keyboard interrupt vector from being redirected if you don't
use the hot key option.
/O = Turns XRAY OFF. You may turn it back on with either the hot
key or by running XRAY again from the command prompt.
/Pn = Send XRAY output to LPTn. The default is to display its output
on the screen. The printer is the best real-time output option
since it is available up to the time of a system crash.
/Sn = Use the shift state n (n is entered in hex) combined with the hot key
to toggle XRAYs output ON and OFF. The default value is 8 which is
to press Alt with the hot key. See appendix C for a table of shift
state values.
/T = Display a summary table of all DOS function calls showing the total
number of each function, sectors of disk I/O, and total elapsed time.
/U = Uninstall XRAY from memory (if possible). XRAY can only be
uninstalled if no other TSR programs (which use interrupts 9 or
21h) have been loaded.
/V = Display function calls made by COMMAND.COM. The default is to
ignore these calls. If you use the /C option, XRAY will
produce lots of output which may not be of interest for your
application but it's facinating to see how the command interpreter
does its thing. When you use /V, calls from COMMAND.COM are
marked with an asterick.
OUTPUT OPTIONS
XRAY produces two types of output. Realtime output of each DOS function
call, and a cumulative table of all the function calls which have been
made. The cumulative table is displayed only when the /T parameter is
given.
The real-time output from XRAY is sent to either the screen, printer, or
…
Extracto literal de XRAY.DOC, 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.