Comments, problems, suggestions about Oric emulators (Euphoric, Mess, Amoric, etc...) it's the right place to ask. And don't hesitate to give your tips and tricks that help using these emulations in the best possible way on your favorite operating system.
- Emulation expert
- Posts: 382
- Joined: Sat Mar 07, 2009 5:18 pm
It has been reported that the game STAR does not work in Oricutron 0.9 (see bug report and grab the tape image from here
I have investigated the problem, but I'm really confused! Here is the description of my findings that I posted to the bug report:
Hmm this one is interesting. Once STAR has loaded, the CPU jumps to RAM containing complete nonsense. Lots and lots of BRKs and illegal instructions. It executes from $0501 to around $ff4.
Because Euphoric doesn't emulate illegal operations, it just skips 1 byte when it reaches them, which means it ends up executing the instruction at address $ff4, which is a jump to $6400.
Oricutron, however, executes illegal instructions. Right before the jump to $6400 is a bunch of $FF bytes, and $FF is a 3-byte illegal opcode. This means that at the end of the $FF byte region, Oricutron ends up at address $ff5 (the JMP opcode at $ff4 is interpreted as part of the last $FF instruction @ $ff2). This means instead of jumping to $6400, Oricutron executes a BRK followed by an RTS and ends up back at the BASIC prompt.
Indeed, if I disable illegal opcode handling in Oricutron, STAR works perfectly.
Now, apparently $FF is a DIFFERENT illegal opcode on 65c02, and may even be 2 bytes instead of 3. But the Oric usually has a 6502, not 65c02!
What I can't understand is why this works on your real Oric. Does your Oric have a 65c02 by any chance?
So... could someone with real hardware convert the exact .tap file linked to in that bug report and load it on a real oric with a 6502 and a 65c02 and tell me if it works on both machines?
- Site Admin
- Posts: 2357
- Joined: Fri Jan 06, 2006 10:00 pm
- Location: Oslo, Norway
I tried yesterday - and this morning again, could not manage to load it on my Pravetz, but I regularly have the reliability problem when loading tapes...
- Flying Officer
- Posts: 179
- Joined: Fri Nov 26, 2010 9:11 pm
- Location: France PdD
with ORICUTRON when I write:
STAR runs correctly, but it's not the answer of the problem...
however some illegal instruction makes good result with a real ORIC (mine works with a 6502A processor)
Initially there may be a little program before the main one and the missing bootstrap doesn't disturb the process of a real ORIC.
- Game master
- Posts: 2029
- Joined: Tue Jan 17, 2006 10:55 am
- Location: Gijón, SPAIN
I've been on vacation with no regular access to the Internet, and now I have tons of emails and things to put up-to-date, but could not resist to attend this one as soon as I saw it.
I converted the game to wav and cloaded it into my Atmos. It loaded, auto-started and worked perfectly. My oric is an Oric-1 converted to an Atmos.
Just in case this helps...
- Squad Leader
- Posts: 861
- Joined: Fri Apr 03, 2009 8:56 am
Works for me on both Oric-1 and Atmos machines. Strange!
- Posts: 1159
- Joined: Sat Jan 14, 2006 12:44 am
- Location: Paris, France
I tested with Oricutron 0.9 and my own tape transfer, and it seems to work fine
This probably simply illustrates how many bad TAP files are around on the Internet!
The simple fact that the loading name is "STAR.TAP
" on the crashing version proves that the transfer is suspicious, being not directly done (and thus not checked) from the tape content.
EDIT: now it still can be interesting to understand why something apparently working on real hadware doesn't work on an emulator, would it be bugged or not. But if the goal is to play Star, then there you are.
- Symoon's transfer of Star
- (9.93 KiB) Downloaded 314 times
Who is online
Users browsing this forum: No registered users and 1 guest