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 > Screen limits
2005-10-26 07:50
HCL

Registered: Feb 2003
Posts: 716
Screen limits

Once when i got myself a C= monitor, I made some tests to see what the actual limits were. Keeping in mind all the bugs i left in Royal Arte, after this i would never have to leave any visual bugs because of not seing them.

But now in EMU-age, the same horrible bugs appear again in many demos. Vice only shows 272 x 384 pixels, and people appearantly start to think that's the way to go. And it suxx big time!

So when i found my old screen tests yesterday, i thought maybe i should put this up here. I also had some info about sprite-limits in the borders. Let's get started.


Screen limits
-------------
Vertically:
First visible line: 8 (d012 = 8)
Last visible line: 12b (d012 = 2b)
That makes 292 visible lines totally.

Transfered to sprite positions we get..
spt-pos 12a: one line visible in lower border.
spt-pos 12b: one line visible in upper border.

Horizontally:
Left border: 48 visible pixels (6 chars).
Right border: 36 visible pixels (4.5 chars).
That makes 404 pixels, right.

Sprite bugs in left border:
All sprites invisible at positions 1f8-1ff.
spt7 invisible at pos <= 1ce.
spt8 invisivle at pos <= 1ee.

Sprite bugs in right border:
spt1 stretch bug at pos >= 14b.
spt2 stretch bug at pos >= 15b.
Bug above first line at pos => 163: spt 3,4,5.
Bug on last line at pos => 164: spt 3,4,5.


Ok. I think that's all. Does anyone have other specs? Please don't post if you have a lowsy TV-set, they always sukk. Did i get those sprite-bugs correctly? Sounds totally wierd :). And finally: DON'T RELEASE before you checked your demo against this spec >:E.
 
... 103 posts hidden. Click here to view all posts....
 
2006-09-09 12:17
MRT
Account closed

Registered: Sep 2005
Posts: 149
True, but...

What I ment was also for the upper/lower border. And I did a workaround by just turning off bitmap mode on line 247 and turn it back on on 50... :-)

BUT, what I was trying to say is that you could do without that workaround by (as you say it so nicely) putting some values on some addresses. :-D

Which can come in very handy when you don't have free rastertime around line 50.
The downside however, is that you need to have a blank (read: $00) value in your bitmap image (bitmap start + $7ff)
2007-03-13 09:23
Krill

Registered: Apr 2002
Posts: 2839
Ok, so i just patched VICE to display as much border as i want. I am planning to submit this fix to the source, so it will be in in one of the future versions. But, what are the real border sizes now?

With my 1084s, PAL display starts at line $0d, but only after some chars in the middle of the screen (the beginning of the line is black), and ends at line $012b inclusive.

What are your measurements?
2007-03-13 09:41
Graham
Account closed

Registered: Dec 2002
Posts: 990
1084S-D1, C64C:

$008-$12B

But the 1084S-D1 is a fucked up model anyway which is non-standard in many ways. For example, it cannot do real interlace, but it CAN do refresh rates like 200 Hz, 500 Hz etc. (Good for VDC programming, hehe)
2007-03-13 09:42
JackAsser

Registered: Jun 2002
Posts: 1989
@Krill: I'll check my three 1084 using both old and new VIC-chip someday soon, however, is it possible to make the values adjustable in runtime or is it tons of static defines?
2007-03-13 10:28
Krill

Registered: Apr 2002
Posts: 2839
Jackasser: Should now be easy to change at run-time, but is it that sensible a thing to do? :)
2007-03-13 11:44
enthusi

Registered: May 2004
Posts: 675
such an option will probably make 90% of border-scrollers impossible to read on the real thing in future productions.
Forgive my whining, I just don't wanna have "hidden part: watch with vice".
2007-03-13 12:03
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: such an option will probably make 90% of border-scrollers impossible to read on the real thing in future productions.
Forgive my whining, I just don't wanna have "hidden part: watch with vice".


@krill, enthusi: On a real setup you can use the dials on your 1084s to adjust amount of visible gfx. I see no reason why this behaviour and usage shouldn't be emulated with VICE. :D Perferably using USB-dials to do the changes if I may feature creap a bit. ;)

2007-03-13 14:22
Krill

Registered: Apr 2002
Posts: 2839
I don't see the point. You want to do fancy border effects, then switch on full borders and do it. Otherwise, resort to normal VICE borders. Anything in between is nonsense, as well as more borders than you see on any C64 setup.
2007-03-13 14:44
WVL

Registered: Mar 2002
Posts: 886
for my real c64 it was $b to and including $12c. But I dont remember what monitor this was..
2007-03-13 18:23
Oswald

Registered: Apr 2002
Posts: 5017
Great job Krill nevertheless, hope it will find its way into the new release.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 - 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
E$G/hOKUtO fOrcE
Tom/TRS
Yodelking/Defiers
Lazycow
Bones99
neoman/titan
CyberBrain/NoName
K-reator/CMS/F4CG
Guests online: 116
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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