Graphics bug in Hybris
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Graphics bug in Hybris
It works correctly in WinUAE. ROM is from Amiga forever. Config is Amiga 500.
Can anyone here confirm the same problem?
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Re: Graphics bug in Hybris
I've just found a clue in an interview:
EDIT: Ooh, I think I have figured it out, IIRC the clock frequency of the Minimig core isn't exactly the same as that of a real Amiga. That would cause a timing error when racing the beam.
Seems like the score in Hybris serves as a nice CPU timing test.The biggest effort on the sprites was the score sprites "on top of everything". The rest of the sprites are grouped in such a way that no problems occur in practice.
The score panel at the top of the screen uses a nice trick where sprites 0 and 1 have their sprite data set and are repositioned horizontally across the screen "racing the beam". Did you come up with that effect or had you seen it in another game?
Good description of what actually goes on technically
This was Torben's idea and was not seen on the Amiga before. There was an immense amount of fiddling to make this fit. It is essentially timed down to the exact processor cycle
EDIT: Ooh, I think I have figured it out, IIRC the clock frequency of the Minimig core isn't exactly the same as that of a real Amiga. That would cause a timing error when racing the beam.
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
- limi
- Top Contributor
- Posts: 776
- Joined: Sun May 24, 2020 6:53 pm
- Has thanked: 180 times
- Been thanked: 570 times
Re: Graphics bug in Hybris
For those wondering about which interview it was from:
https://codetapper.com/amiga/interviews ... -pedersen/
He was 16 years old at the time he wrote the game.
https://codetapper.com/amiga/interviews ... -pedersen/
He was 16 years old at the time he wrote the game.
- LamerDeluxe
- Top Contributor
- Posts: 1239
- Joined: Sun May 24, 2020 10:25 pm
- Has thanked: 887 times
- Been thanked: 284 times
Re: Graphics bug in Hybris
Yes, that is correct. Isn't it amazing that they made one of the most professional, polished, arcade-like games on the Amiga, in their spare time, at that age?limi wrote: ↑Mon Jul 06, 2020 7:17 am For those wondering about which interview it was from:
https://codetapper.com/amiga/interviews ... -pedersen/
He was 16 years old at the time he wrote the game.
EDIT: I've just added an issue for this here: https://github.com/MiSTer-devel/Minimig ... /issues/73