*** DISCLAIMER: The information on these pages is not an official instruction or documentation. No responsibility will be taken. Use at your own risk. ***

Tuesday, May 20, 2025

How to select Amiga video out as default on PiStorm/CaffeineOS

PiStorm accelerators come with a video driver for the Raspberry Pi's HDMI output, which, if you're booting CaffeineOS, it uses per default. 

If you don't have a HDMI display connected, you're stuck a bit, because you can't just run "Screenmode" preferences program without executing S:Startup-sequence, and deleting ENVARC:sys/screenmode.prefs just resets to HDMI, not PAL (or NTSC). 

To temporarily select Amiga native video, you can hold the left shift key while booting.

Now you can run "Screenmode" prefs, and save a PAL (or NTSC) screenmode setting.

To permanently select Amiga native video as default and fallback, you can disable PiStorm's HDMI monitor driver "emu68k-videocore", in directory DEVS:Monitors, by moving it to a different location (e.g. a newly created sub-directory, or SYS:Storage/Monitors).

 

Sunday, December 22, 2024

How to data-link two Amigas for "RVF Honda" two-player mode

Connecting two Amigas with a RVF Honda "Data Link" cable to play it in two-player mode should be straightforward - but somehow it isn't. 

To try to link two Amigas for RVF Honda, you need a proprietary so-called "Data Link" cable, which you'll probably have to build yourself. Click here for more information.

The game's manual says this about the connection:

DATA LINK (SOME VERSIONS ONLY)

If Datalink is implemented on your version of RVF it will appear as the last item on the main menu. Datalink allows two people to race against each other on the same track using two similar computers, connected by a special cable.

HOW TO USE DATALINK

Both computers should be turned off and then joined using the datalink cable. Load RVF into one computer making sure the other is still switched off. Once RVF has loaded, for Datalink purposes this computer will be the master computer, the only one able to make selections from within the Datalink menu. Now turn on the and boot the other computer using the RVF disk, this computer will now be the slave unit, not capable of making selections from within the Datalink menu. Now select Datalink from the main menu on both computers, the master unit will now enable you to select which track you will race on. Pressing the Escape key during a race will exit Datalink Mode.

This sounds clear and easy, but it turns out not every setup works as expected.

From real-life experience, trying to establish the link, here are some notes that might help if you don't succeed on first try:

- "Once RVF has loaded" means "the game has fully loaded", as opposed to just the intro graphics screen with the music. The game has fully loaded when you see the credits screen:

RVF Honda credits screen indicates game is fully loaded

- You need only one floppy disk. When the game has fully loaded, you can put it into the other (slave) Amiga.

- A (warm) reboot/reset of the slave Amiga won't do, it has to be switched on. 

- Successful connections were made using Amiga 500, 600, and 1200 (no other models tested), and a RVF Honda floppy disk.

- No success was achieved with a WHDLoad version of RVF Honda on Amiga 1200, regardless of master or slave, or other Amiga model. (With, or without, Workbench loaded.)

- Amiga 1200 seems to be particularly picky about the connection, the success rate was low. Also it seems an Amiga 1200 (and probably 4000) can't be used as RVF Honda slaves, because when trying to run the game from floppy disk, "Disable CPU Caches" needs to be selected in "Early Startup Menu" for the game to load, altering the power-up init sequence.

- All CPUs and Kickstart versions seem to be allowed.

Overall, establishing the link just appears to be somehow unreliable. Even a tested, unchanged setup sometimes fails to connect. It's still unclear what precisely is happening, and why it's unpredictable - probably only reverse-engineering of the game's machine code will fully explain how to perfectly "data link" two Amigas.

Do you have experience with RVF Honda's "Data Link" connection?
Please leave a comment - corrections, additions are highly appreciated!


Thursday, November 14, 2024

Why does copying to PCMCIA CompactFlash card fail with "file already exists", when a new, empty directory has just been created?

Problem symptoms

  • Copying a directory structure to a CompactFlash card in the PCMCIA slot (via adapter) fails with "file already exists", right after the very directory which should contain the file has been created.
  • Extracting .lha archives from a CompactFlash card in the PCMCIA slot (via adapter) produces a lot of errors

Solution

That's a bug in older versions of FAT95. 

Update FAT95 to the latest version.

https://aminet.net/package/disk/misc/fat95 (currently v3.18)

Friday, November 8, 2024

What's the difference between TAG_DONE and TAG_END in AmigaOS C code?

There is none - it's one and the same.

TAG_DONE and TAG_END are defined as identical clones in NDK2.0:

NDK2.0-4/include/utility/tagitem.h

#define TAG_DONE   (0L) /* terminates array of TagItems. ti_Data unused */
#define TAG_END TAG_DONE

NDK3.1 (and higher) has a slightly different definition of TAG_END, but it's still identical:

Includes\&Libs/include_h/utility/tagitem.h

#define TAG_DONE (0L) /* terminates array of TagItems. ti_Data unused */
#define TAG_END (0L) /* synonym for TAG_DONE */

Sunday, November 3, 2024

Why does HippoPlayer report an error with the HippoPlayer.group file?

The HippoPlayer.group must match the HippoPlayer executable ("HiP"), meaning it must be taken from the same archive/package/distribution as the executable.

HippoPlayer first looks for HippoPlayer.group file in the executable's directory ("PROGDIR:"). 

Then it looks for the file in the location given in HippoPlayer's settings (preferences).

If HippoPlayer reports an error with the HippoPlayer.group file, there's either a wrong one in PROGDIR:, or HippoPlayer's settings point to a non-existent, or wrong HippoPlayer.group file elsewhere.

Simplest solution is to just put the correct HippoPlayer.group file into PROGDIR:, and delete HippoPlayer.group files elsewhere.

Files and file sizes, for identification:

Hippoplayer v2.45:
Executable ("HiP"): 89036 Bytes
"HippoPlayer.group": 81954 Bytes

HippoPlayer v2.61:
Executable ("HiP"): 147636 Bytes
"HippoPlayer.group": 258010 Bytes

Wednesday, October 30, 2024

How to build the "datalink" cable required for "RVF Honda" 2-player link mode?

Note: The Amiga-to-Atari connection is currently untested, no successful first hand experience has been reported yet. (No unsuccessful either.)

To play motorcycle racing game "RVF Honda" in 2-player link mode, a special "Data Link" cable is required, that connects two Amigas' (or Atari STs') parallel ports.

A "Data Link" cable is not a "laplink" cable, not a "parnet" cable, not a "PC2Am" cable - these are all different. (And it's not any type of serial cable, e.g. nullmodem.)

Basically, "RVF Honda"'s "Data Link" cable connects 8 data lines and pin 25 (GND) pin-on-pin, and pins 11 (BUSY) and 12 (POUT) cross-over, between the two machines' parallel ports.

It's probably good practice to not connect unused pins to avoid side-effects (e.g. pin 14 +5V, Amiga 1000 pin 23).

"Data Link" cable wiring/pinout for Amiga and Atari ST computers' parallel/printer port

As can be seen in the picture, on Atari ST computers' printer port, use pin 1 (STROBE) instead of pin 12. 

In addition to the cable, a version of the game is required that supports "Data Link", which is indicated by a menu entry at the bottom of the game's main menu. (Most available Amiga versions should support "Data Link".) 

To establish the link, connect both computers while they're powered off, then power on and load the game on one computer, then power on the other one, and load the game on that one. Click here for more details.

Note: When a nullmodem cable is used to connect the computers, there might be some activity due to a line shared with the parallel port (serial RI, parallel SEL), but it's just a side-effect..

Additional sources:
https://amiga.abime.net/games/view/rvf-honda
https://imgur.com/AGA5aLN (schematics picture)

*

History:
2024-12-21: Amiga-to-Amiga cable wiring confirmed, Note
changed accordingly

Saturday, October 26, 2024

How to view / convert IFF ILBM image files under Linux?

ffmpeg can convert IFF ILBM images and ANIM animations. For example to create a JPEG file from an ILBM:

ffmpeg -i myimage.iff myimage.jpg


ffplay supports all file formats supported by ffmpeg, so it can "play" IFF images and animations:

ffplay myimage.iff


netpbm (netpbm-progs) can convert IFF ILBM to its native image format, and from there to many other formats. For example, to create a JPEG file, use "ilbmtoppm" and "pnmtojpeg":

cat myimage.iff | ilbmtoppm | pnmtojpeg > myimage.jpg


ImageMagick also uses "ilbmtoppm", so you can use its commands to process IFF ILBM picture files. For example "convert":

convert myimage.iff myimage.png


GIMP supports IFF ILBM images with a plugin.

https://github.com/unwind/gimpilbm

 

xiffview can show IFF ILBM images on X screens, and gives some information about them (palette, bitmaps). (Only simple images are currently supported - no HAM, EHB, ...)

https://aminet.net/package/misc/unix/xiffview