dirkwhoffmann / vAmiga

vAmiga is a user-friendly Amiga 500, 1000, 2000 emulator for macOS
https://dirkwhoffmann.github.io/vAmiga
Other
304 stars 25 forks source link

Test vpos1 fails #174

Closed dirkwhoffmann closed 5 years ago

dirkwhoffmann commented 5 years ago

This test reads VPOSR and converts the bit pattern into color values. This register is of particular interest, because it contains the identification bits of Agnus and Denise.

A500 6A 🥰

vpos1_A500_6A

A500 8A (MMSE) 🥰

vpos1_A500_8A

vAmiga 🙈

Bildschirmfoto 2019-10-04 um 17 13 38

This test reveals the root cause for the World Soccer issue (#173).

Both the 6A and 8A A500 identify themselves with ID 0100000b which corresponds to the 8372 according to the following list:

I0-I6 Chip identification:

8361 (Regular) or 8370 (Fat) (Agnus-NTSC) = 10
8367 (Pal) or 8371 (Fat-Pal) (Agnus-PAL) = 00
8372 (Fat-hr) (agnushr),thru rev4 = 20 PAL, 30 NTSC
8372 (Fat-hr) (agnushr),rev 5 = 22 PAL, 31 NTSC
8374 (Alice) thru rev 2 = 22 PAL, 32 NTSC
8374 (Alice) rev 3 thru rev 4 = 23 PAL, 33 NTSC

vAmiga identifies itself with ID 0 which corresponds to the Agnus 8361. Hence, vAmiga presumably looks like the image @mithrendal would see on his A1000.

TODO: Add a configuration item AgnusRevision and assign different revisions w.r.t. the chosen Amiga model (A1000 -> 8361, A500 / A2000 -> 8372).

mithrendal commented 5 years ago

A1000 Agnus8367R0 draws vpos1 like this

852EA8DA-1994-4763-AFA5-E76D59B4A91C

This is a PAL machine sold in germany (with german keyboard stickers for the umlauts 🙄), why did the developer of 3d world soccer exclude this machine ? Maybe they needed more than 512k chipram? But even then lots of the 8372 machines only had 512k Chipram either ... 😩

The cool thing on the vAmiga adventure is, that it steadily reveals a lot of technical surprises at least to me. 🤓👍🏻

dirkwhoffmann commented 5 years ago

why did the developer of 3d world soccer exclude this machine ?

Unacceptable, they discriminate against all A100 users, let's sue them 😠!!! I'll also sue Atari because I can't use the ST as a left-hander 😤!!! What? Atari is broke 😲? Oh no 🙈.

dirkwhoffmann commented 5 years ago

The cool thing on the vAmiga adventure is, that it steadily reveals a lot of technical surprises

Yes, it does. Unfortunately, I fear that there are a myriad of such problems left in the emulator.

It feels like I am approaching the point which I feared to approach eventually when I started this project: The point where progress slows down, because debugging gets harder. This mainly goes back to the lack of decent test-cases. In the case of VirtualC64, I made huge progress once I discovered the VICE test suite, but there is no such thing for the Amiga. E.g., I have no clue how to debug the various Blitter / CPU timing issues at the moment.

In retrospect, I made good progress by debugging the little hacker intros coming up when loading a cracked game (e.g., the R-Type II intro, the International Karate intro, the CoolDemo 17 intro etc.). Hence, if anybody stumbles across such an intro that doesn't work, please let me know.

mithrendal commented 5 years ago

Hence, if anybody stumbles across such an intro that doesn't work, please let me know.

Hi dirk I found some cool demo scener demos from 2019. These are no hacker intros but maybe also interesting, as these demo scener guys seem always try to get all out of the OCS chips at their code competition parties. Top Number 1 and 2 are pure A500 demos. (Winners don't use ...) some AGA🙄 demos (in which we are not interested in), but in total there 4 pure OCS demos listed. Which may serve as test candidates.

I just tried the number one, the winner demo from 2019 called "eon party version by the black lotus".

And the good news is 🥳!! There are indeed sound problems from the very beginning and some graphic glitches later on when vAmiga runs the Black Lotus Eon Party Version. The sound runs not synchron and not all channels in parallel. I just run it again and there was no sound, but the inspector showed waveforms...👀

You could see the youtube video as reference https://www.youtube.com/watch?v=iD9xk3SDSYc

and compare it when inserting the following two floppies into vAmiga ... tbl_eon_party_version.zip

dirkwhoffmann commented 5 years ago

A1000 Agnus8367R0 draws vpos1 like this

I've uploaded the A1000 reference picture to the repo.