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

Debug tutor

Submitted by John Jones

Descargar 61.5 KB

Descripción

two DEBUG tutors, one in HTML format, one as plain text.

Ficha técnica

Fichero
debugtut.zip
Tamaño
61.5 KB
Formato
.zip
Año
2003
Alta en S.U.P.E.R.
2003-03-31
Ficheros dentro
13
Autor
Submitted by John Jones
Ruta
anonftp/pub/debugtut.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 169.5 KB

No hace falta llevar al palmtop 8086TUT.TXT, DEBUG00.HTM, DEBUG01.HTM, DEBUG02.HTM, DEBUG03.HTM, DEBUG04.HTM, DEBUG05.HTM, DEBUG06.HTM y 5 más: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 169.5 KB en un disco de 1 MB.

Pasos
  1. Este paquete no trae ejecutables reconocibles. Descárgalo y mira su contenido: puede ser documentación, código fuente o material de apoyo.

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
Installation Code YU
		   Integrated Personal Computers Project
			    Communications Group
		   Communications and Data Base Division
				Session C316

  This talk is for people who are just getting started with the PC MACRO
Assembler.  Maybe you are just contemplating doing some coding in assembler,
maybe you have tried it with mixed success.  If you are here to get aimed in
the right direction, to get off to a good start with the assembler, then you
have come for the right reason.  I can't promise you'll get what you want, but
I'll do my best.

  On the other hand, if you have already turned out some working assembler
code, then this talk is likely to be on the elementary side for you.  If you
want to review a few basics and have no where else pressing to go, then by all
means stay.

  Why Learn Assembler?

  The reasons for LEARNING assembler are not the same as the reasons for USING
it in a particular application.  But, we have to start with some of the reasons
for using it and then I think the reasons for learning it will become clear.

  First, let's dispose of a bad reason for using it.  Don't use it just because
you think it is going to execute faster.  A particular sequence of ordinary
bread-and-butter computations written in PASCAL, C, FORTRAN, or compiled BASIC
can do the job just about as fast as the same algorithm coded in assembler.  Of
course, interpretive BASIC is slower, but if you have a BASIC application which
runs too slow you probably want to try compiling it before you think too much
about translating parts of it to another language.

  On the other hand, high level languages do tend to isolate you from the
machine.  That is both their strength and their weakness.  Usually, when
…

Extracto literal de 8086TUT.TXT, 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.