Strange issue on real HW

صفحة 2/20
1 | | 3 | 4 | 5 | 6 | 7

بواسطة Rataplan

Champion (287)

صورة Rataplan

13-04-2015, 16:05

I tested with a fresh download, but the same happened. Indeed I know it's not recommended, but I I prefer the system to run at 60Hz, while I usually run a plain MSX2 config, not 2+ / TR, and so far I haven't had any issues with that setting for years now. I'll remember it though for future reference.
By the way on all my systems, with either fresh copy of BlueMSX or not, the FPS counter always shows 60 even when I am clearly running at 50Hz. Maybe that's also in the manual but it's just something I notice.

However, maybe Artrag can reproduce this by setting BlueMSX at 60Hz and get a clue of what's happening is the same as on real hardware (I haven't got real MSX hardware anymore to compare what happens on that).

بواسطة mars2000you

Enlighted (6428)

صورة mars2000you

13-04-2015, 16:24

You are probably using the 'Sync on PC Vertical Blank" feature in Options/Performance. In this case, the VDP frequency remains aligned on the PC monitor frequency (generally 60 Hz). If you use the Auto mode in the Performance menu, then you'll see the FPS counter change when you switch to 50 Hz, for example with VDP(10)=2, or 60 Hz with VDP(10)=0.

بواسطة Rataplan

Champion (287)

صورة Rataplan

13-04-2015, 16:42

Ah indeed, that's it. While that was offtopic, I now see when I'm running a 60Hz config like 2+, TR, or japanese, that Artrags rom switches to 50Hz. So forcing from emulator perspective to 60 I could understand the crashing when doing timing specific stuff (if that's the case, I'm not a programmer at all). While it seems native 60Hz machines can still run at 50 (or atleast BlueMSX allows it) that might be a clue why it crashes.

Very impressive engine by the way!

بواسطة ARTRAG

Enlighted (6923)

صورة ARTRAG

14-04-2015, 07:45

The engine is for 50th only.
I am trying to disable all functions in the isr one at time and all together but the black screen is still there. ..

بواسطة Manuel

Ascended (19273)

صورة Manuel

14-04-2015, 13:54

Well, keep on going... we'll get there!

بواسطة Daemos

Paragon (2044)

صورة Daemos

14-04-2015, 19:55

Are you sure it is happening in the ISR? Have you allready trown in a simple aknowledge vblank set R0 to 0 then ret? to see if your engine will at least start?

بواسطة ARTRAG

Enlighted (6923)

صورة ARTRAG

15-04-2015, 07:11

For those willing to investigate (or contribute) the engine is on git here https://github.com/Maneldemo/shooter_scr8_asm

بواسطة Daemos

Paragon (2044)

صورة Daemos

15-04-2015, 22:53

I will check it out tomorrow.

بواسطة hit9918

Prophet (2927)

صورة hit9918

16-04-2015, 01:24

there are a couple of frames where the screen is not black but bluemsx shows things (in 60hz setting), I've been playing with this.
with breakpoint at 4BF8, this out (c),e instruction behind the call,
at some point the cpu state is EI instead DI as usual (after ~30 times of running that breakpoint).
no idea how it happens.
but things smelled like some out 99 pair cut to pieces by interrupt and in the end garbage in vdp registers.

بواسطة ARTRAG

Enlighted (6923)

صورة ARTRAG

16-04-2015, 06:28

It works only at 50 he due to exact timing of some actions
no point in testing at 60hz

صفحة 2/20
1 | | 3 | 4 | 5 | 6 | 7