Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
Universal TV Standard Detector   [2006]

Universal TV Standard Detector Released by :
Soft154i

Release Date :
10 July 2006

Type :
C64 Tool

AKA :
udetect

User rating:awaiting 8 votes (8 left)

Credits :
Code .... The_WOZ of Soft154i

Download :

Look for downloads on external sites:
 Pokefinder.org


User Comment
Submitted by Viktor on 19 September 2009
Does this code the detection of the DTV and the emulated machines too? :)
User Comment
Submitted by Roland on 9 July 2006
I have a routine that checks if the vic is new or old :)
User Comment
Submitted by Durandal on 9 July 2006
Wow! Thx for the comments, I didn't think my little routine would start such a discussion!
User Comment
Submitted by TNT on 9 July 2006
Oooh, the humiliation! I have ridiculed myself!

Checking the $d011 code which caused gfx bugs on my C64c's with new VIC-II revealed that it's actually caused by write to $01 copying current $7fff (shown on the screen at that time) value there. I remember this being called "$de00 compatible" somewhere. Thats feature of board, not chip. I verified that by pulling new VIC from C64c and putting it into old breadbin. You guessed it - no more bug.

Did I at least win "fool of the month" prize or something? :)
User Comment
Submitted by TNT on 9 July 2006
@Krill: see the disclaimer in my first comment :)

Heading home now...
User Comment
Submitted by JackAsser on 9 July 2006
@TNT: I'm eager to see that detection code! Please hurry. :D
User Comment
Submitted by Krill on 9 July 2006
But from my personal experience i can tell that some new VIC chips don't always show that bug. It's just like VSP does not always crash on a VIC chip.
User Comment
Submitted by TNT on 9 July 2006
No, $d020 flicker is visible because of a hardware bug, and that hardware bug is detectable with software (not with $d020). I only brought $d020 up so we can agree what is "old" what is "new" chip. I will dig up some code from a year ago as soon as I get home.
User Comment
Submitted by chatGPZ on 9 July 2006
@tnt: ehrm now this is nonsense (and you still didnt quite understand what JA was talking about :=P). the point is that its not possible to detect programmatically. showing something on screen and then let the user decide based on the output is NOT "detecting" at all.
User Comment
Submitted by TNT on 9 July 2006
@Groepaz: Jackasser didn't limit his question to this routine as far as I can see. Detecting old/new VIC-II is not possible with cycle counting. (defining new VIC-II: flicker when you do POKE 53280,CONSTANT repeatedly)
User Comment
Submitted by chatGPZ on 9 July 2006
@tnt: you _claim_ its possible? so have you actually tried it? all this routine does is count cycles per frame - and since this is directly related to the videostandard i pretty much doubt luma differences which arent related to timing at all make any difference. care to prove me wrong? :)
User Comment
Submitted by Jak T Rip on 9 July 2006
WOW, very well done for a first routine, Pablo!!!!
User Comment
Submitted by TNT on 9 July 2006
I know what he meant, and I still claim it's possible.
User Comment
Submitted by JackAsser on 9 July 2006
I don't think so either. You see, old VIC-chips uses only 5 different luma steps, and new VIC-chips uses 9 different luma steps. This has nothing to do what TV-standard they use. Question is if there are other differences between the chips other than the luma steps which are programatically detectable, such as differences in IRQ timing on line 0 or something similar.
User Comment
Submitted by chatGPZ on 9 July 2006
YES?!? i dont think you understood JA correctly :=D
User Comment
Submitted by TNT on 9 July 2006
@JackAsser: Yes (disclaimer: works with all *my* C64s)
User Comment
Submitted by JackAsser on 9 July 2006
And now for the million dollar question: Is it possible to auto detect old and new VIC (old and new in respect to old and new lumas)? :D
User Comment
Submitted by Skate on 9 July 2006
it worx fine. good job.
User Comment
Submitted by Durandal on 9 July 2006
This is my first released routine for the C64.

It detects which VIC version is in your machine. Not only if it's a PAL or NTSC machine, but also tells you if it's a old NTSC (64*262) or a PAL-N (65*312) machine.
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries
· User Comments (19)
· Production Notes
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.084 sec.