Jump to content

Xuel's Photo

Xuel

Member Since 21 Aug 2008
OFFLINE Last Active Today, 4:23 PM

Posts I've Made

In Topic: Altirra 3.00 released

Mon Jul 2, 2018 3:26 PM

Never mind, found it -- compiler bug. (MSVC team, please fix your constexpr pointer arithmetic....)
 
http://www.virtualdu...3.10-test32.zip
http://www.virtualdu...-test32-src.zip


That works! Direct3D 9 works fine. 32-bit works fine. With and w/o VBXE works. Thanks!

In Topic: Altirra 3.00 released

Mon Jul 2, 2018 3:12 PM

No, the fix was solely in the VBXE scanline rendering code. That code doesn't activate unless VBXE is enabled.
 
I take it 3.10-test30 works, and toggling vsync doesn't make a difference? Can you enable the HOSTDISP channel in the debugger (lfe hostdisp) and see what it is saying when DX9 tries to init?

 
I ran the following tests, removing Altirra.ini before each run:
  • 3.10-test30 Altirra64.exe /portable works.
  • 3.10-test30 Altirra.exe /portable works.
  • 3.10-test31 Altirra64.exe /portable works.
  • 3.10-test31 Altirra.exe /portable does *not* work.
Here's what HOSTDISP says for #1:
 
HOSTDISP: VideoDisplay/DX9: Successfully created Direct3D 9 device.
HOSTDISP: Device: aticfx32.dll (Radeon RX 580 Series)
HOSTDISP: DeviceCaps: VS3.0, PS3.0, MaxTex 16384x16384, ReadScanline Yes, HWVP
HOSTDISP: VideoDisplay/DX9: Init successful on adapter 0 (\\.\DISPLAY1 / aticfx32.dll), monitor 00010001.
HOSTDISP: VideoDisplay/DX9: Init successful for 376x240 source image (Pal8 -> XRGB8888); monitor=00010001
 
Here's what HOSTDISP says for #2:
 
HOSTDISP: VideoDisplay/DX9: Successfully created Direct3D 9 device.
HOSTDISP: Device: aticfx64.dll (Radeon RX 580 Series)
HOSTDISP: DeviceCaps: VS3.0, PS3.0, MaxTex 16384x16384, ReadScanline Yes, HWVP
HOSTDISP: VideoDisplay/DX9: Init successful on adapter 0 (\\.\DISPLAY1 / aticfx64.dll), monitor 0000000000010001.
HOSTDISP: VideoDisplay/DX9: Init successful for 376x240 source image (Pal8 -> XRGB8888); monitor=0000000000010001

Here's what HOSTDISP says for #3:
 
HOSTDISP: VideoDisplay/DX9: Successfully created Direct3D 9 device.
HOSTDISP: Device: aticfx32.dll (Radeon RX 580 Series)
HOSTDISP: DeviceCaps: VS3.0, PS3.0, MaxTex 16384x16384, ReadScanline Yes, HWVP
HOSTDISP: VideoDisplay/DX9: Init successful on adapter 0 (\\.\DISPLAY1 / aticfx32.dll), monitor 00010001.
HOSTDISP: VideoDisplay/DX9: Init successful for 376x240 source image (Pal8 -> XRGB8888); monitor=00010001
 
Here's what HOSTDISP says for #4:
 
HOSTDISP: VideoDisplay/DX9: Successfully created Direct3D 9 device.
HOSTDISP: Device: aticfx64.dll (Radeon RX 580 Series)
HOSTDISP: DeviceCaps: VS3.0, PS3.0, MaxTex 16384x16384, ReadScanline Yes, HWVP
HOSTDISP: VideoDisplay/DX9: Init successful on adapter 0 (\\.\DISPLAY1 / aticfx64.dll), monitor 0000000000010001.
HOSTDISP: VideoDisplay/DX9: Init successful for 376x240 source image (Pal8 -> XRGB8888); monitor=0000000000010001

It looks like my registry might be polluted as I can't get it to work at all with test30 or test31 without /portable. Maybe it's time for me to just run /resetall?

In Topic: Altirra 3.00 released

Mon Jul 2, 2018 11:25 AM

Same here - looks like the emu is hanging during boot process, it displays "option" in the lower right.  When I enabled VBXE, I got a fps counter in the main emu window, locked at an odd 31.6.

 

I found it works if I go to Tools -> Options -> Display and uncheck Direct3D 9. Does that work for you? I'm on Windows 10.


In Topic: Altirra 3.00 released

Mon Jul 2, 2018 1:31 AM

  • Fixed VBXE handling of ANTIC hires pixel priority. Priority is now always PF2/PF3 for XCOLOR=0 and <FX1.26 core and PF1/PF2/PF3 for XCOLOR=1 with FX1.26.

 

I'm not getting any display with 3.10-test31 unless I have VBXE enabled. Could this be a regression related to this change?


In Topic: FujiConvert 0.1

Sat Jun 23, 2018 5:14 PM

Thanks for the tip , trimmed down the MP3 to 2 minutes and now I'm able to playback the PDM.
 
Still trying to accomplish the same with sox but using these parameters

sox --no-dither --norm Wanderlust_trimmed.mp3 --type raw --encoding un --channels 1 --rate 44000 --bits 8 Wanderlust_44000.pdmpv 
 
I get a very loud , way too fast (Chipmunk style) PDM.
 
Anybody has a clue how to convert to IDE PDM format using sox ?


You need to interleave the pcm samples in a specific way.

Mono:

http://atariage.com/...-5#entry4032449

Stereo:

http://atariage.com/...-1#entry4037039