| |
Universal TV Standard Detector [2006] |
AKA :
udetect
User rating: | awaiting 8 votes (8 left) |
Credits :
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 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 |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs · Hidden Parts · Trivia
|
|
| Forum | |
|
| Support CSDb | |
|
| |
|