xboxscene.org forums

Pages: 1 [2]

Author Topic: Openxdk  (Read 381 times)

mokda

  • Archived User
  • Newbie
  • *
  • Posts: 10
Openxdk
« Reply #15 on: August 17, 2006, 05:37:00 PM »

QUOTE(openxdkman @ Aug 16 2006, 10:47 PM) View Post


Can you tell me if the sdlVideo sample I compiled myself (third archive I've put online) is crashing on your xbox?



Your compiled sdlVideo sample crashed me xbox as well...
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Openxdk
« Reply #16 on: August 17, 2006, 10:17:00 PM »

Ok.
I will try to PM you so we can continue to debug together through private emails.
I don't think we need to annoy forum readers anymore.
Logged

friedgold

  • Archived User
  • Sr. Member
  • *
  • Posts: 266
Openxdk
« Reply #17 on: August 18, 2006, 11:18:00 AM »

QUOTE(mokda @ Aug 17 2006, 05:57 AM) View Post

It returns 4194563.  Turned to hex is 0x400103.  Does this make sense at all?

QUOTE(openxdkman @ Aug 17 2006, 06:47 AM) View Post

It reveals you are using a scart cable (peritel) on a 60 Hz NTSC US TV
So you are not belonging to a rare untested group of user...

Actually I think that is the problem. There is no entry for RGB Scart + NTSC in the video modes table (see here). This should be dead easy to fix. I'll try to update CVS tonight.
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Openxdk
« Reply #18 on: August 18, 2006, 01:25:00 PM »

I think the missing ones are these (mokda will confirm if it works)

 {0x20010101,640,480,60,VIDEO_REGION_NTSCM,VIDEO_ADAPTER_RGBSCART}, //640x480 NTSCM 60Hz RGB
 {0x20020202,720,480,60,VIDEO_REGION_NTSCM,VIDEO_ADAPTER_RGBSCART}, //720x480 NTSCM 60Hz RGB
 {0x20010103,640,480,60,VIDEO_REGION_NTSCJ,VIDEO_ADAPTER_RGBSCART}, //640x480 NTSCJ 60Hz RGB
 {0x20020204,720,480,60,VIDEO_REGION_NTSCJ,VIDEO_ADAPTER_RGBSCART}, //720x480 NTSCJ 60Hz RGB
Logged

friedgold

  • Archived User
  • Sr. Member
  • *
  • Posts: 266
Openxdk
« Reply #19 on: August 18, 2006, 03:31:00 PM »

QUOTE(openxdkman @ Aug 18 2006, 08:32 PM) View Post

I think the missing ones are these (mokda will confirm if it works)

 {0x20010101,640,480,60,VIDEO_REGION_NTSCM,VIDEO_ADAPTER_RGBSCART}, //640x480 NTSCM 60Hz RGB
 {0x20020202,720,480,60,VIDEO_REGION_NTSCM,VIDEO_ADAPTER_RGBSCART}, //720x480 NTSCM 60Hz RGB
 {0x20010103,640,480,60,VIDEO_REGION_NTSCJ,VIDEO_ADAPTER_RGBSCART}, //640x480 NTSCJ 60Hz RGB
 {0x20020204,720,480,60,VIDEO_REGION_NTSCJ,VIDEO_ADAPTER_RGBSCART}, //720x480 NTSCJ 60Hz RGB
I've just added those to CVS.
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Openxdk
« Reply #20 on: August 18, 2006, 04:43:00 PM »

thx
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Openxdk
« Reply #21 on: August 18, 2006, 11:38:00 PM »

Mokda confirmed through PM the fix worked great.
Now the only combination we don't cover is hdtv cable + PAL, but I'm sure it doesn't exist for xbox.
It's probably what is called 540p. All component to vga devices are mainly set to convert 60 hz progressive signals (active only if xbox is set to ntsc)  into VGA signals and they expect 480 lines, not 540.
We could allow it, but since standard xbox doesn't, let's forget it... until a beta tester shows up...
Logged

dus

  • Archived User
  • Newbie
  • *
  • Posts: 16
Openxdk
« Reply #22 on: August 19, 2006, 02:55:00 AM »

This is nice, thanks!

Todays openXDK from CVS finally works with my setup. Now I have some text and graphics on screen with openXDK.
Logged

friedgold

  • Archived User
  • Sr. Member
  • *
  • Posts: 266
Openxdk
« Reply #23 on: August 19, 2006, 05:24:00 AM »

QUOTE(openxdkman @ Aug 19 2006, 06:45 AM) View Post

Now the only combination we don't cover is hdtv cable + PAL, but I'm sure it doesn't exist for xbox.
We're also missing 480i when using the HDTV cable.
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Openxdk
« Reply #24 on: August 19, 2006, 08:24:00 AM »

Ok then... find a beta tester (my component to vga box won't accept 480i)
Several modes to test (no parameter in our api to ask for interlaced though, you have to put them at top of table so they are chosen instead of non interlaced modes or just replace code in non interlaced mode... so this is for test only, or change api... I rather like inviting developpers to make nice things in 480p, a vga box is cheap nowadays) :
hdtv+ntscm
0801010D 640x480 60Hz hdtv ntscm interlaced
0802020E 720x480 60Hz hdtv ntscm interlaced
hdtv+ntscj
(the same ones)
0801010D 640x480 60Hz hdtv ntscj interlaced
0802020E 720x480 60Hz hdtv ntscj interlaced
hdtv+pal (useful?)
08010119 640x480 60Hz hdtv pal interlaced
0802021A 720x480 60Hz hdtv pal interlaced
There are maybe 50 hz pal modes, but don't tell me people use them?!?


There are also all the alternative modes where number of lines is halved and each pixel counts double...
I think we must focus on getting nice quality stuff in 640x480 first... I would avoid even 720x480 and higher since VGA_SOG cables users will never have it. For 720p, not a lots of people will see it... my vga box and tv may show it but with a bad excessive left offset and only in a zoom mode... I probably don't have the good tv for that.
Logged
Pages: 1 [2]