|
|
|
|
Would you like to get all the new info from
PSX-Scene in your email each day?
Want to learn more about the team keeping you up to date with the latest scene news?
Read about them now! Check out our Developer bios, too! | ||
|
|
Please, do it!
I think it's time to go back to the main subject of this thread: GS Mode Selector: Development & Feedback!!!
So, here we go... ;-)
SYNCPARAM Table
I made it from syncparam at linux/drivers/video/ps2gs.c (inside package http://playstation2-linux.com/files/....1-xr3.tar.bz2)
It would be nice If any of you could help me finding the relationship dependence between (at least some of) the following fields...!
EDIT on 2009.09.29: The Magic Numbers for the SYNCV GS Register was included on above table.Code:.-----------------------------------+-------+--------+---------+---------+------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------+-------------------------------|-------------|----------------------------------------------------------|-------------------------------------| | | | | | | smode1 | | | synch1 | synch2 | syncv | display | | | | | | |-----.--------.-------.------.--------.------.------.-----.-----.-------.------.------.------.------.------.----.------.------.-------.----.----| | |-----.------.------.-----.-----|------.------|----.------.-----.-----.------.---------------------------+-----.------.------.------.----.-----+ | Mode | width | height | rheight | dvemode | VHP | VCKSEL | SLCK2 | NVCK | CLKSEL | PEVS | PEHS | PVS | PHS | GCONT | SPML | PCK2 | XPCK | SINT | PRST | EX | CMOD | SLCK | T1248 | LC | RC | smode2 | srfsh | HS | HSVS | HSEQ | HBP | HFP | HB | HF |VS | VDP | VBPE | VBP | VFPE | VFP | Magic Number |DH | DW | MAGV | MAGH | DY | DX | |-----------------------------------+-------+--------+---------+---------+-----+--------+-------+------+--------+------+------+-----+-----+-------+------+------+------+------+------+----+------+------+-------+----+----+--------+-------+-----+------+------+-----+-----+------+------+----+------+------+-----+------+-----+--------------------+-----+------+------+------+----+-----+ | 00: NTSC-NI (640x240(224)) | 0640 | 0240 | 224 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 1 | 32 | 4 | 0 | 8 | 254 | 1462 | 124 | 222 | 64 | 1652 | 1240 | 06 | 0480 | 6 | 26 | 6 | 02 | 0x00C7800601A01802 |0239 | 2559 | 0 | 3 | 25 | 632 | | 01: NTSC-I (640x480(448)) | 0640 | 0480 | 448 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 1 | 32 | 4 | 1 | 8 | 254 | 1462 | 124 | 222 | 64 | 1652 | 1240 | 06 | 0480 | 6 | 26 | 6 | 01 | 0x00C7800601A01801 |0479 | 2559 | 0 | 3 | 50 | 632 | | 02: PAL-NI (640x288(256)) | 0640 | 0288 | 256 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 | 1 | 1 | 0 | 3 | 0 | 1 | 32 | 4 | 0 | 8 | 254 | 1474 | 127 | 262 | 48 | 1680 | 1212 | 05 | 0576 | 5 | 33 | 5 | 04 | 0x00A9000502101404 |0287 | 2559 | 0 | 3 | 36 | 652 | | 03: PAL-I (640x576(512)) | 0640 | 0576 | 512 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 | 1 | 1 | 0 | 3 | 0 | 1 | 32 | 4 | 1 | 8 | 254 | 1474 | 127 | 262 | 48 | 1680 | 1212 | 05 | 0576 | 5 | 33 | 5 | 01 | 0x00A9000502101401 |0575 | 2559 | 0 | 3 | 72 | 652 | | 04: VESA-1A (640x480 59.940Hz) | 0640 | 0480 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 15 | 2 | 0 | 4 | 192 | 0608 | 192 | 084 | 32 | 0768 | 0524 | 02 | 0480 | 0 | 33 | 0 | 10 | 0x004780000210000A |0479 | 1279 | 0 | 1 | 34 | 276 | | 05: VESA-1C (640x480 75.000Hz) | 0640 | 0480 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 28 | 3 | 0 | 4 | 128 | 0712 | 128 | 228 | 32 | 0808 | 0484 | 03 | 0480 | 0 | 16 | 0 | 01 | 0x0067800001000001 |0479 | 1279 | 0 | 1 | 18 | 356 | | 06: VESA-2B (800x600 60.317Hz) | 0800 | 0600 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 71 | 6 | 0 | 4 | 256 | 0800 | 256 | 164 | 80 | 0976 | 0636 | 04 | 0600 | 0 | 23 | 0 | 01 | 0x0089600001700001 |0599 | 1599 | 0 | 1 | 26 | 420 | | 07: VESA-2D (800x600 75.000Hz) | 0800 | 0600 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 44 | 3 | 0 | 4 | 160 | 0896 | 160 | 308 | 32 | 1024 | 0588 | 03 | 0600 | 0 | 21 | 0 | 01 | 0x0069600001500001 |0599 | 1599 | 0 | 1 | 23 | 468 | | 08: VESA-3B (1024x768 60.004Hz) | 1024 | 0768 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 58 | 6 | 0 | 4 | 272 | 1072 | 272 | 308 | 48 | 1296 | 0764 | 06 | 0768 | 0 | 29 | 0 | 03 | 0x00CC000001D00003 |0767 | 2047 | 0 | 1 | 34 | 580 | | 09: VESA-3D (1024x768 75.029Hz) | 1024 | 0768 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 35 | 3 | 0 | 2 | 096 | 0560 | 096 | 164 | 16 | 0640 | 0396 | 03 | 0768 | 0 | 28 | 0 | 01 | 0x006C000001C00001 |0767 | 1023 | 0 | 0 | 30 | 260 | | 10: VESA-4A (1280x1024 60.020Hz)| 1280 | 1024 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 08 | 1 | 0 | 2 | 112 | 0732 | 112 | 236 | 16 | 0828 | 0496 | 03 | 1024 | 0 | 38 | 0 | 01 | 0x0070000002600001 |1023 | 1279 | 0 | 0 | 40 | 348 | | 11: VESA-4B (1280x1024 75.025Hz)| 1280 | 1024 | -1 | 2 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 | 1 | 0 | 2 | 144 | 0700 | 144 | 236 | 16 | 0828 | 0464 | 03 | 1024 | 0 | 38 | 0 | 01 | 0x0070000002600001 |1023 | 1279 | 0 | 0 | 40 | 380 | | 12: DTV-480P (720x480) | 0720 | 0480 | -1 | 3 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 32 | 4 | 0 | 4 | 128 | 0730 | 128 | 104 | 32 | 0826 | 0626 | 06 | 0483 | 0 | 30 | 0 | 06 | 0x00C78C0001E00006 |0479 | 1439 | 0 | 1 | 35 | 232 | | 13: DTV-1080I (1920x1080) | 1920 | 1080 | -1 | 4 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 22 | 2 | 1 | 4 | 104 | 1056 | 044 | 134 | 30 | 1064 | 0868 | 10 | 1080 | 2 | 28 | 0 | 05 | 0x0150E00201C00005 |1079 | 1919 | 0 | 0 | 40 | 238 | | 14: DTV-720P (1280x720) | 1280 | 0720 | -1 | 5 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 22 | 2 | 0 | 4 | 104 | 0785 | 040 | 198 | 62 | 0763 | 0529 | 05 | 0720 | 0 | 20 | 0 | 05 | 0x00AB400001400005 |0719 | 1279 | 0 | 0 | 24 | 302 | '-----------------------------------^-------^--------^---------^---------^-----^--------^-------^------^--------^------^------^-----^-----^-------^------^------^------^------^------^----^------^------^-------^----^----^--------^-------^-----^------^------^-----^-----^------^------^----^------^------^-----^------^-----^--------------------^------^-----^------^------^----^-----'
Last edited by doctorxyz; 09-29-2009 at 04:22 PM. Reason: Magic Numbers for SYNCV
I did recently build my own Component-VAG(SOG) adaptor using the same connectivity described here, though differently implemented.
I had an old VGA cable with one end damage, which I cut off to get a short piece of cable with the intact connector for use to make the adaptor. Since the VGA connector was of the 'moulded' variety, opening it was not an option. Instead I split the free cable end to find the proper RGB signal and shield wires to use for the component connections. These I then soldered to corresponding signal and shield leads of three RCA connectors mounted in what had been an old SCART-to-Composite adaptor (1 video + 2 audio connectors, all RCA), so that the SCART housing remained intact, but with all SCART pins removed, and with the outgoing cable to the VGA end securely fastened.
This adaptor works fine for the VGA(SOG) input of my Panasonic HDTV.
I'm attaching two very bad pictures of my adaptor, but the image quality is quite bad since the only camera I had available to make them with is an Eye-Toy (connected as PC Web-Cam).
Best regards: dlanor
Yes, it probably is that same SoG signal, just as for Component cable, but that is not quite its intended usage here.
Instead it is intended for use with a normal TV, using its composite input to get a monochrome image, just to allow setting up the real VGA mode with output to the VGA connector, since a VGA monitor it is connected to will be unable to display anything at all until the VGA software is running. Beats me though, why they didn't use the real composite output instead, to make the cable a little bit more useful... But i guess that's because the colour modulated HF signal would have required more shielding to avoid crosstalk to the RGB signals for the VGA output.
Best regards: dlanor
@doctorxyz:
I've been a bit ill for a while, which is why I haven't posted much lately, but I'm better now and hope to have something more useful (and more on-topic) to post tomorrow.
Best regards: dlanor
I agree ,but I was commenting not on the cables intended use but the use to which he wanted to use it.
Anyway i think that enough has been said about cables in this thread. A separate thread for cables should be started and these posts moved to that thread to stop cluttering up the development thread.
BTW glad to hear you are feeling better.

So, these are good news, and you're correct... First, we must take care of our health!
Yes, I agree... Let's make this on-topic ;-).
I hope you join us again soon because I have a lot of info to improve our code.
You can help me to change our adaptation formulas to match with SYNCV constants. I am inclined to solve the issue for VGA480@60Hz mode first, and right after that go to the HDTV modes!
BR,
EDIT: I got VGA640@Hz mode on my LCD Monitor with some titles (GT4, Black, Flatout, Burnout Revenge). Sorry about not publishing here yet the source and ELF file, but I prefer to do it with more time, with changes.txt, unpacked and packed version, etc. And make some clean up in source code (currently it's too junky).
Despite of I sent to dlanor a version "as is", I do not know if I will publish my release before his one, but it does not matter. What really matter is we are working together with you, and soon all of you have the GSModeSelector working with your VGA monitors!
BR and good weekend!
Last edited by doctorxyz; 09-26-2009 at 06:06 PM.
Here is a brief excerpt of the changes for this version:
GSModeSelector v0.21 (2009.09.28) (Merged changes of doctorxyz and dlanor)
-SYNCV+SMODE2 register patching for improved vmode compatibility (Games in VGA)
-Improved gamepad routines to better initialize hotplugged controllers
-Changed joystick scaling to use L1/R1 combos for step size (more reliable)
-Added GUI command to disable screen adaption (scale and centering)
-Added GUI command to toggle SMODE2 value between 0x01 and 0x02
-Modified asm methods again, to make updates of all asm code easier
-Modified makefile to retain compiler temp files (better debug analysis)
This version cures several old problems, such as the weird magnification that would occur in some lo-rez games when using GSM as a PAL-NTSC switcher, and also the refusal of some games to display anything in progressive or VGA modes.
Apparently this was not due to the reasons we had suspected earlier (at least not for these cases), but was simply due to a conflict between the registers we set up and some that the game patched without our knowledge. The new register patching fixes this to such an extent that some games which previously displayed only in interlaced modes now work well also in VGA and progressive modes (eg: Final Fantasy X)
The current GUI contains a lot of stuff that is intended only for experimentation and feedback by programmers, rather than regular users. But since we are still in an early beta phase of the project I decided to leave it all in for now.
One difference from the last versions that you will notice at once is that the main menu won't open until you have pressed some gamepad button on the initial screen. So those of you who want to boot with VGA connection and work blindly to launch the program (via uLE or FMCB) should be prepared for an extra button press before you can use one of the button combos for a VGA mode.
Best regards: dlanor
i just tested this on my scph-90001 ps2 and took pics with my DSi
so far so good! way to go!!!
FFX Doesn't use my whole screen but is playable
my screen should be set 2 "4:3"
| « Previous Thread | Next Thread » |
| Tags for this Thread |