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

Sokban

Descargar 51.9 KB

Descripción

Welcome to the Sokoban game Sokoban is a PD-game where you have to push objects through a maze until they are all on the dumps. But, as you might have guessed, this isn't always that easy: * You can only push. * You have only strength to move one object. * The maze doesn't give you much room to manoeuvre. * Other objects tend to act as movable walls. The final goal of the game is to master all 85 levels. After that you are no longer a rookie, you will become Master of the Sokoban game. What's in the package?

Descripción extraída automáticamente de la documentación incluida en el paquete: esta entrada no figuraba en el catálogo original.

Ficha técnica

Fichero
sokban.zip
Tamaño
51.9 KB
Formato
.zip
Año
1992
Ficheros dentro
8
Ruta
anonftp/pub/sokban.zip

Cómo instalarlo

Qué enviar al palmtop ahorras 55.4 KB

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

  • LEVEL.EXE → A:\SOFT programa de DOS 15.8 KB
  • MINI-SOK.EXE → A:\SOFT programa de DOS 15.4 KB
  • PC-SOK.EXE → A:\SOFT programa de DOS 18.1 KB
  • SOKOBAN.EXE → A:\SOFT programa de DOS 18.1 KB

No hace falta llevar al palmtop SOK-CODE.C, SOKOBAN.C, SOKOBAN.H, READ.ME: son manuales, código fuente o material de apoyo. Léelos aquí y ahórrate 55.4 KB en un disco de 1 MB.

Pasos
  1. Copia LEVEL.EXE, MINI-SOK.EXE, PC-SOK.EXE, SOKOBAN.EXE 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
setup menu by hitting any other key
not listed on the menu.

The pc version is almost identical to
the full HP 95LX version. Only some
minor differences exist. Probably the
most important one is that the setup
file "sokoban.cnf" is stored in the
current directory.

The mini version for the HP 95LX is
stripped of all actions regarding the
setup file.

The level program is a bonus and it
shows you all levels. It is intended
to run on your pc.


The Sources

Well, what do I have to say on this?
Probably that it is for your private
use only. After you've modified it,
you may not distribute the version any
further without my permission.

If you compile "sokoban.c", you can
specify several macros:
* MINI_SOKOBAN
  Then you get the mini version.
* MesSDOS
  Then you get the MS-DOS version.
* If you specify none, you will get
  the full HP 95LX version.

You shouldn't change "sok-code.c" by
hand. Write a small program (like
"level.exe") that dump all levels of
"sok-code.c" in a readable form. Then
edit that readable form and write a
program that writes back the readable
form to "sok-code.c".

Finally, since the memory of the HP
95LX is limited and expensive, I
removed all formatted I/O and have
done all I/O at the lowest possible
level. It makes a big difference.


Known Bugs

I don't know how you can let disappear
the cursor and if it's invisible, how
you can get the original cursor back.
The solution I have used, is to put the
cursor somewhere, where it doesn't
distract your attention.


Maintainance

Hm..., well, if you send bug reports
to me, I promiss to correct them if I
can. But my time is a little bit
limited. If someone out there is
willing, to take over this task (and
become coauthor), please contact me!


Public Domain

This software is public domain. You
…

Extracto literal de READ.ME, 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.