For Katana value you can ask Nachbrenner from XploderFreaX.de Maybe he know also value for KOS... He is a good code hacker and my teacher. He makeing PAL 50/60Hz and NTSC codes for PSX/DC/PS2
Anybody knows 'vid_set_mode_ex(vid_mode_t *mode)' values for PAL60 screen modes?
I need it for my SDL driver, now i use NTSC screen modes for 60Hz.
For Katana value you can ask Nachbrenner from XploderFreaX.de Maybe he know also value for KOS... He is a good code hacker and my teacher. He makeing PAL 50/60Hz and NTSC codes for PSX/DC/PS2
Hi
60 hz:
DM_320x240 ,
DM_640x480,
DM_800x608,
DM_256x256,
DM_768x480,
DM_768x576
other:
(PAL=50hz)
DM_320x240_VGA ,
DM_320x240_NTSC,
DM_640x480_VGA,
DM_640x480_NTSC_IL,
DM_800x608_VGA,
DM_640x480_PAL_IL,
DM_256x256_PAL_IL,
DM_768x480_NTSC_IL,
DM_768x576_PAL_IL,
DM_768x480_PAL_IL,
DM_320x240_PAL,
But these default DM_XXXxXXX values are NTSC screen modes, not PAL60.
If you use DM_640x480 (etc..) on a PAL Dreamcast it will still use PAL colour encoding. So the result is PAL60.Originally Posted by chui
Are you sure? When i use DM_640x480, KOS stdout show NTSC mode and TV info too (when i play european game with 60Hz option TV info show PAL60).
Also, i can't find at 'kos/kernel/arch/dreamcast/hardware/video.c' PAL60 timmings, only NTSC and PAL50.
I was sure... but after your last post I'm not anymore.Originally Posted by chui
If your TV shows "PAL60" for commercial games and "NTSC" for KOS then there must be a difference in the signal.
If you absolutely want to output PAL, read up on hardware register 0xa05f80d0, specifically bits 6 and 7: bit 7 is set for PAL output and bit 6 for NTSC. However, this doesn't seem to work for Japanese dreamcasts.
So, I don't know anything about KOS, but if you initialize a standard NTSC display and then clear bit 6 and set bit 7 of that register, you might have a PAL60 output signal....
Thanks. I will try it.
I have a question a related to this subject.
A couple of people have given me the impression that the DC can do just about any mode you can fathom, as long as you give vid_set_mode_ex a properly formulated struct. Some people could probably guess that I'm looking for an NTSC mode of 256x224, roughly. This would be for a true NES mode in NesterDC SE.
I've already tried playing with vid_set_mode_ex. I used the builtin 320x240 NTSC as a base and tried tweaking that. It actually shows up but it is not positioned correctly, and no amount of tweaking various values produces what I want.
Any ideas?
It's time to chew ass and kick bubble gum... and I'm all out of ass!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks