Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oric-1 fails to read from (some?) tapes #133

Open
rzumer opened this issue Jan 28, 2019 · 10 comments
Open

Oric-1 fails to read from (some?) tapes #133

rzumer opened this issue Jan 28, 2019 · 10 comments

Comments

@rzumer
Copy link
Contributor

rzumer commented Jan 28, 2019

I have reproduced this with tape images for the title "Le Diamant de l'île maudite". Both sides of the tape ("demo" and first part of the program) fail to load, despite the program being compatible with Oric-1.

I reproduced it in the Win32 (x86) MSVC build, and from my brief testing this also seems present in the Win32 version of the 1.2 release.

To reproduce:

  • Launch using default settings (Atmos)
  • From hardware settings, pick Oric-1 or Oric-1 (16K)
  • Optionally disable turbo tape (it does not change the result as far as I could see)
  • Load a tape image such as the one I mentioned above
  • Enter CLOAD ""

The program seems to load normally at first, but eventually the program crashes to the debugger and becomes hard-locked.

I got Opcode 22 executed at 2C5F as the first instruction that caused the program to enter the debugger, but prior to that I could see graphics being corrupted and overwritten with garbage. See this screenshot:

image

@rzumer
Copy link
Contributor Author

rzumer commented Feb 4, 2019

Does anyone have a sample that will work correctly on all machines?

@Godzil
Copy link
Collaborator

Godzil commented Feb 4, 2019

Are you loading from a tap file or wave file?

As far as I know turbo tape is only for .tap file not wave.
It really sounds like there are undetected loading error.

Where does the tape wave/tap file come from?

@rzumer
Copy link
Contributor Author

rzumer commented Feb 4, 2019

Both samples are in TAP format and come from oric.org.

@Godzil
Copy link
Collaborator

Godzil commented Feb 4, 2019

The same file work without any issue on an Atmos?

@rzumer
Copy link
Contributor Author

rzumer commented Feb 4, 2019

On Atmos in Oricutron, yes, both files seem to boot without an issue.

I do not have real hardware so I cannot test if the rip would run correctly on it.

@Godzil
Copy link
Collaborator

Godzil commented Feb 4, 2019

Well there is the possibility that they do some ROM CALL, and can end badly if it jump to an incorrect address.

So if the tap file work with an atmos rom, that may mean either the version is not universal and there is a specific Oric 1 version, or just that they Goofed with the 1 jumps, or the dump is invalid there,or oricutron is patching the exact function they are calling (don’t know if oricutron patch the rom) and it is not what the game is expecting and that just do some random memory jump leading to the crash or there are more than one version of the oric 1 rom? (And incompatible)

Hard to tell, I don’t have access to oricutron right now but can have a look later to see what the game is doing.

Do you know exactly when this happen in the loading process? Does the game look finished to load or it is in the middle of loading? (If I do remember the game show a loading page while loading from the tape)

Edit:
Looking here: http://www.le-grenier-informatique.fr/pages/la-collection-jeux/le-diamant-de-l-ile-maudite-oric.html
I wonder if there were universal tape, the tape photo clearly show “Oric Atmos” even if the box state for both. I wonder if there were to tape or not.

Symoon probably knows about that if he is the one who dumped the game.

@rzumer
Copy link
Contributor Author

rzumer commented Feb 4, 2019

The crashes occur in the middle of loading, but the splash screens load successfully before that. It is when loading a large amount of data that it finally fails.

The tape label has a slash in the middle, so maybe "Oric/Atmos" implies compatibility with "regular" Oric, but you could be right.

@polluks
Copy link
Collaborator

polluks commented Feb 5, 2019

@rzumer Maybe you can try another emulator, for example Euphoric?

@rzumer
Copy link
Contributor Author

rzumer commented Feb 5, 2019

I am travelling now and away from my PC, but if no one else is able to test by next week I will give it a try.

@rzumer
Copy link
Contributor Author

rzumer commented Feb 19, 2019

With Euphoric I can go as far as the part that asks to stop the tape player, after that I get an undef'd statement error. However no corrupted text or crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants