DotAttack by NOP

Página 4/5
1 | 2 | 3 | | 5

Por SjaaQ

Champion (375)

Imagen del SjaaQ

24-03-2020, 07:53

Thanks Manuel. Should not cause it to crash anyway. Everything is done within 1 frame. Faster Z80 just makes it run more in idle (halt).

Por Manuel

Ascended (19465)

Imagen del Manuel

24-03-2020, 14:25

Can the game handle the situation that processing takes longer than 1 frame? Note that the turboR interrupt routine is quite heavy (but not sure whether you still call it).

Por Wlcracks

Hero (565)

Imagen del Wlcracks

24-03-2020, 16:29

the game runs in IM2.

Por SjaaQ

Champion (375)

Imagen del SjaaQ

24-03-2020, 19:56

If it would take more than an interrupt, there will be some flickering at the top of the screen. The only time this might occur is when the score is display (or the game over text).

I've run it on a emulated Turbo-R at full speed for some time, but did not experience crashes.

I wonder if somebody else can do testing on real hardware. Could be this particular Turbo-R has some hardware problem.

Por carlosemandrade

Rookie (22)

Imagen del carlosemandrade

25-03-2020, 01:21

In 60Hz i experience this flickering at top of screen during PSG selection in main menu, in 50 Hz no flicker and no crashes during gameplay.

Por SjaaQ

Champion (375)

Imagen del SjaaQ

25-03-2020, 10:19

Is this flickering occuring when running from EPROM, Megaflashrom or from ram with Sofarun?

Por SjaaQ

Champion (375)

Imagen del SjaaQ

25-03-2020, 10:33

See: https://youtu.be/Ho87PbmYNis

This is openMSX running a GT, which shows timing by changing the border color:
yellow: idle
green: game logic/drawing
red: music/sfx
purple: screen buffer dump

There is no way flickering should occur. I have more than enough "idle" time. I am guessing you are running from a slow rom somehow and it messes with timing of the Turbo-R.

Since it is not reproducible on OpenMSX, there is nothing I can do. I can send you the debug version, maybe you can make a video of the timing?

Por Sylvester

Hero (589)

Imagen del Sylvester

25-03-2020, 19:37

I did some tests on my TR ST with a GR8NET and SofaRun, and it detects the ROM as Linear. But after starting it I see the nop logo in the top of the screen and it resets. This was in Z80 mode, when I run it in R800 ROM mode, the game works but i'm missing the top of the screen (let say first 40 lines), it's just black (intro) or yellow (in the game). This was with 60Hz, with 50Hz game still resets in Z80 mode, but in R800 ROM mode it works and also the top of the screen is working.

Por SjaaQ

Champion (375)

Imagen del SjaaQ

25-03-2020, 20:14

Did some testing with OpenMSX and sofarun (ram mode):

Turbo-R in Z80 mode: https://ibb.co/4JkzGkg
Turbo-R in R800 mode: https://ibb.co/vkkWBxb

Seems the R800 mode slows down VRAM write with factor 2-3?

Por Grauw

Ascended (10768)

Imagen del Grauw

25-03-2020, 20:27

Yes the turboR has a heavy penalty on VDP access in R800 mode. It enforces I/O to ports 98H-9BH to be spaced 54 cycles (@ 7.16 MHz) apart by inserting waits. This seems a bit more than strictly necessary; I guess they had their reasons. The wait is adaptive; if you do something else between the I/O, the wait is reduced accordingly, so use that to your benefit.

Página 4/5
1 | 2 | 3 | | 5