Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SG-1000 PAL CPU Clock #99

Open
siriokds opened this issue Apr 6, 2024 · 3 comments
Open

SG-1000 PAL CPU Clock #99

siriokds opened this issue Apr 6, 2024 · 3 comments
Labels

Comments

@siriokds
Copy link

siriokds commented Apr 6, 2024

Hi, SG-1000 PAL machines uses TMS9929 VDP (instead of TMS9918) which doesn't have any clock out pin connected to the CPU.
The cpu clock is external and its freq isn't 3546893Hz but 3580000Hz (3.58MHz).

@drhelius
Copy link
Owner

drhelius commented Apr 6, 2024

Thanks for reporting.
Do you know any title where there is a noticiable difference?

@drhelius drhelius added the bug label Apr 6, 2024
@drhelius
Copy link
Owner

drhelius commented Apr 6, 2024

It's quite odd that PAL SG-1000 runs at 3.58 MHz, the same freq that NTSC. I need to understand this better.

@siriokds
Copy link
Author

siriokds commented Apr 7, 2024

SG-1000 had different revisions:

  1. SG-1000 (Mark I) is only NTSC, VDP is TMS9918. CPU Clock signal is derived/generated by the VDP clock and outputs from the VDP. Its frequency is 3.579545 MHz (same as NTSC color burst).

  2. SG-1000 (Mark II rev 1) is both NTSC and PAL.
    NTSC version works like Mark I.
    PAL version (vdp is TMS9929) cannot generate CPU Clock. VDP composite signal is generated by a small daughterboard.
    The clock is external and it is 3.58MHz (not 3.579545 MHz and not 3.546893 MHz).

  3. SG-1000 (Mark II rev 2) is both NTSC and probably PAL. The VDP and PSG are now replaced by a custom chip Sega 315-5066/Yamaha YM2217. The CPU Clock is generated by this custom chip and it's 3.579545MHz for the NTSC but I don't have any info about the PAL version.

@drhelius drhelius added this to Backlog Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants