Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Abynx ! (Registered 2024-06-09) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > NTSC Raster Positions
2023-09-26 15:46
TWW

Registered: Jul 2009
Posts: 541
NTSC Raster Positions

Good afternoon gents.

Is Rasterline #$00 to #$13 located in the lower border on NTSC machines when bit 7 of $d011 is cleared?

Tried to do a vsync (bit $d011 + bpl/bmi) and turned to debug borders and had to wait for rasterline #$14 before it was in the top border.

On PAL it works as expected though.
 
... 2 posts hidden. Click here to view all posts....
 
2023-09-27 21:57
chatGPZ

Registered: Dec 2001
Posts: 11154
Quote:
just try it in VICE
2023-09-28 08:46
Krill

Registered: Apr 2002
Posts: 2856
What GPZ said. The NTSC peculiarity to have the top visible line not be 0 while line 0 is visible somewhere in the lower border has long been implemented in VICE, and properly.

This kind of basic stuff is never an emulation error, just like uninitialised memory in user programs is the culprit in 99% of reported problems. =)
2023-09-28 09:21
TWW

Registered: Jul 2009
Posts: 541
@ chatGPZ: Yepp, was trying it on Vice (Hence the debug borders), but never knew about this NTSC Bahaviour so figgure'd I'd ask.

@ Monte Carlos: Nah, bit 7 was cleared, but also tried the other way just to see what happened, ond it only moved the line to 256 instead of 262/263

@Krill: Yeah, I figgured as much, but it has been stated that one should never trust an emulator :D

Either way, thanks for confirming. At least line #$0032 is still in the same place :)
2023-09-28 09:36
tlr

Registered: Sep 2003
Posts: 1730
Quoting TWW
@ chatGPZ: Yepp, was trying it on Vice (Hence the debug borders), but never knew about this NTSC Bahaviour so figgure'd I'd ask.

Quoting TWW
@Krill: Yeah, I figgured as much, but it has been stated that one should never trust an emulator :D

Agreed, you shouldn't trust it blindly. Always good to ask.
2023-09-28 14:16
chatGPZ

Registered: Dec 2001
Posts: 11154
Not trust blindly indeed. But for basic stuff like this there is a 99,999% chance VICE is doing the right thing :)
2023-09-28 23:18
Fungus

Registered: Sep 2002
Posts: 630
I recall bugging groepaz ages ago to fix the vertical blanking area to be on the correct lines. So they should be correct at least for NTSC 64, I never had an old (5 lum) VIC to test so if it's correct or not I have no idea. Same for R56A VIC, could be correct might not be, but those are rare and who cares.
2023-09-29 00:18
chatGPZ

Registered: Dec 2001
Posts: 11154
In the meantime i ported a bunch of the test programs to NTSC too (regular 65 cycle) and verified they work on the real thing as well as in VICE - so it should be quite ok :)
2023-09-29 07:36
Fungus

Registered: Sep 2002
Posts: 630
Right on.

Did you ever got those other VIC variants yourself? Or maybe C0?
2023-09-29 11:14
tlr

Registered: Sep 2003
Posts: 1730
Back when x64sc was written we asked for people to run test programs, often via IRC, and got loads of test data back. If there were surprising results (like the first encounters with PAL-N) we would do updated test programs and re-ask for testing. Most of these machines weren't in our direct possession.
2023-09-29 14:08
chatGPZ

Registered: Dec 2001
Posts: 11154
6567R8 is in mine...rather boring :)
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Airwolf/F4CG
Inge/HVSC
Sentinel/Excess/TREX
Guests online: 130
Top Demos
1 Next Level  (9.7)
2 Mojo  (9.7)
3 13:37  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.7)
6 Aliens in Wonderland  (9.6)
7 Comaland 100%  (9.6)
8 Uncensored  (9.6)
9 No Bounds  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 It's More Fun to Com..  (9.5)
8 Dawnfall V1.1  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.057 sec.