Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
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: 554
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: 11507
Quote:
just try it in VICE
2023-09-28 08:46
Krill

Registered: Apr 2002
Posts: 3079
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: 554
@ 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: 1807
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: 11507
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: 742
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: 11507
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: 742
Right on.

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

Registered: Sep 2003
Posts: 1807
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: 11507
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
Guests online: 149
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Codeboys & Endians  (9.6)
5 Edge of Disgrace  (9.6)
6 Coma Light 13  (9.6)
7 Signal Carnival  (9.6)
8 What Is The Matrix 2  (9.6)
9 Uncensored  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Nine  (9.7)
2 Scan and Spin  (9.7)
3 Layers  (9.6)
4 Two 4 One  (9.6)
5 Cubic Dream  (9.6)
6 Party Elk 2  (9.6)
7 Copper Booze  (9.5)
8 Onscreen 5k  (9.5)
9 Libertongo  (9.5)
10 Dawnfall V1.1  (9.5)
Top Groups
1 Artline Designs  (9.4)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Acidchild  (9.7)
4 Cash  (9.6)
5 Violator  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.073 sec.