OpenMSX too perfect?

Pagina 2/3
1 | | 3

Van Manuel

Ascended (18238)

afbeelding van Manuel

10-12-2011, 20:14

When I try to run it with emulated Nowind on openMSX, I get a Disk I/O error in 220 when I select Magazine. The Nowind emulation might be a bit outdated though...

Van Hydragon

Paladin (717)

afbeelding van Hydragon

10-12-2011, 20:38

I have my Nowind updated to 4.2. so latest stable release.

Van Sky_hawk

Champion (267)

afbeelding van Sky_hawk

10-12-2011, 23:45

manuel, it certainly not nowind specific, since its also seen with real disks. i'll create a real disk tomorrow and so what effect I see on several msx's here

Van The_Engineer

Master (177)

afbeelding van The_Engineer

11-12-2011, 00:02

The problem is that the loader.bin code is inside the work area used by Nowind.
(to be honest, even on a basic MSX2 that code is inside the work area used by the disk rom for drive B).

On a basic MSX2 and above setup this works as drive B is not accessed by the FutureDisk software.

Starting with CTRL pushed minimizes the work area and shows the following:

Start with CTRL pushed on an emulated MSX2 -> MSX2 hangs while loading the magazine.
Start with CTRL pushed on FSA1ST MSX Turbo R -> Magazine loading ends with a "Bad file mode in 140" error.

Hydragon found a real error.

The Futuredisk used loader.bin on multiple FDs so you should see the same error on any MSX that has a different work area layout than the default one.

The correct solution is to update loader.bin on all FDs it was used on, such that it respects the MSX standard.

Let me see what can be done here as I did write that software ages ago.

Van Manuel

Ascended (18238)

afbeelding van Manuel

11-12-2011, 13:26

Wait a sec. So, you say it works fine on a basic MSX2? But Hydragon said it crashed for him on a plain 8245... Does this mean that FD just didn't work on many real MSXes back in those days?? Why didn't anyone complain?

In other words: your statement "On a basic MSX2 and above setup this works as drive B is not accessed by the FutureDisk software." does not match with Hydragon's "on real system even without nowind music module and original disk. It hangs/crashes at same point." (He later told me the same happens on a plain 8245...)

So, does it or does it not work on a (real) plain MSX2?

Van Manuel

Ascended (18238)

afbeelding van Manuel

11-12-2011, 13:52

OK, Hydragon just retested and it works fine (on real machine) if he does NOT press CTRL (he did that before), and the same behaviour is seen in openMSX. So, problem is completely in that loader.bin and not in openMSX. Pfew Smile

Van Hydragon

Paladin (717)

afbeelding van Hydragon

11-12-2011, 13:56

Affirmative. With the real Disk on a realmachine ( NMS8250 ), with and without Philips Music Module and without CTRL pressed.

With NoWind + Philips Music Module inserted and booted ( without CTRL pressed ):
- something causes a humming sound during playback of the tunes.
- hang on loading 'magazines'

Van The_Engineer

Master (177)

afbeelding van The_Engineer

11-12-2011, 19:26

Manuel and Hydragon, thanks for testing.

As said, the real issue is that the music loading code is inside the work area of the MSX.
Without CTRL pressed, the FD has been lucky as this memory area is used by drive B, which is not used by the FD software.
With CTRL pressed, the music loading code is inside the stack. Anything can happen from there.

Conclusion: Nobody started his MSX in the 1990s with CTRL pressed. If they had, the problem would have been caught a long time ago.

If you are interested, I can send Hydragon/Manuel the updated FD11 disk image for testing.
If it all works fine, MRC can update the images in the download section.

My research shows that FD7, FD7.5, FD10 and FD11 suffer from this issue.
Before FD7 MSX-Engine's Studio FM was used, which didn't require a loader.
From FD12 onward the music loader was changed: The loader is outside of the work area and the problem is gone.

Van Hydragon

Paladin (717)

afbeelding van Hydragon

11-12-2011, 19:38

@The_Engineer: Try FD14 to switch music. on TurboR. instead of song switch you get the gfx of the guy jumping on screendump.

and you can send them if you want to info ( aapie ) cheatmsx.com

Van The_Engineer

Master (177)

afbeelding van The_Engineer

11-12-2011, 20:18

@Hydragon - Repeated use of the F1 key on FD14 leads to all kinds of cool effects which eventually will hang your MSX.
Problem is that this is inside the magazine code, which was written by Kubie (Jeroen Smael).
Jeroen has fixed this bug on FD15, as pressing F1 on FD15 works without issues.

Pagina 2/3
1 | | 3