Results 1 to 10 of 10

Thread: PAL60 under KOS.

                  
   
  1. #1
    4ALLs coder chui's Avatar
    Join Date
    Aug 2004
    Location
    Madrid
    Posts
    414
    Rep Power
    78

    Default PAL60 under KOS.

    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.

  2. #2
    DCEmu Newbie Pavlik's Avatar
    Join Date
    Sep 2004
    Location
    POLAND
    Posts
    93
    Rep Power
    0

    Default

    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

  3. #3

    Talking

    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,

  4. #4
    4ALLs coder chui's Avatar
    Join Date
    Aug 2004
    Location
    Madrid
    Posts
    414
    Rep Power
    78

    Default

    But these default DM_XXXxXXX values are NTSC screen modes, not PAL60.

  5. #5
    DCEmu Coder
    Join Date
    Apr 2004
    Location
    The Netherlands
    Posts
    43
    Rep Power
    0

    Default

    Quote Originally Posted by chui
    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.

  6. #6
    4ALLs coder chui's Avatar
    Join Date
    Aug 2004
    Location
    Madrid
    Posts
    414
    Rep Power
    78

    Default

    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.

  7. #7
    DCEmu Coder
    Join Date
    Apr 2004
    Location
    The Netherlands
    Posts
    43
    Rep Power
    0

    Default

    Quote Originally Posted by chui
    Are you sure?
    I was sure... but after your last post I'm not anymore. If your TV shows "PAL60" for commercial games and "NTSC" for KOS then there must be a difference in the signal.

  8. #8

    Default

    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....

  9. #9
    4ALLs coder chui's Avatar
    Join Date
    Aug 2004
    Location
    Madrid
    Posts
    414
    Rep Power
    78

    Default

    Thanks. I will try it.

  10. #10

    Default

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •