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


Forums > C64 Coding > why not 39 column mode ?
2006-10-30 11:24
Oswald

Registered: Apr 2002
Posts: 5028
why not 39 column mode ?

if hiding 1 row is enough for doing vertical scrolling why do we have 38 column mode for horizontal scrollin, why not 39 ?

(and besides anyone can give me a simple random generator ? register readouts doesnt count)
 
... 40 posts hidden. Click here to view all posts....
 
2006-10-30 13:54
enthusi

Registered: May 2004
Posts: 675
Its probably 'safe' to feed the seed with rasterposition or some other less random value - I guess.
On the other hand this asl/eor-method annoys the crap out of me when it comes to shuffles in mp3/cd-players. I'm pretty certain they use something alike, and the resulting sequence (rather than random series) is all BUT well well distributed.
2006-10-30 14:02
WVL

Registered: Mar 2002
Posts: 886
Quote: about 39 column mode... ;-)

I guess you can't have 39 column mode, because of the length of a clockcycle...

One cc takes as long as the width of one character. To enable 39 column mode (to draw the borders in place) you would have the VIC interrupt inside of one cc (half cc timing) to turn on and off the border...

I guess that wouldn't go well with the timing of the 6510.
:)

Or am I just stoned again? :-D


I guess you're stoned again ;) because you could simply don't expand the borders on either left or right side.. And why does the VIC care about clock-cycles anyway? it has a higher frequency than the cpu, how else can it draw nice pixels? :)
2006-10-30 14:38
Oswald

Registered: Apr 2002
Posts: 5028
ok so back to topic guys, anyone has a good guess why is it NOT 39 column mode ? :)
2006-10-30 14:41
MRT
Account closed

Registered: Sep 2005
Posts: 149
Quote: I guess you're stoned again ;) because you could simply don't expand the borders on either left or right side.. And why does the VIC care about clock-cycles anyway? it has a higher frequency than the cpu, how else can it draw nice pixels? :)

About the stoned... you could be right ;-D

But about the rest... :)

If you don't split a CC halfways, the screen won't be centered anymore... You have one border smaller than the other one.

And the VIC must care, coz the CPU must be halted. And I don't think that would go well in the middle of a CC.
2006-10-30 14:46
Devia

Registered: Oct 2004
Posts: 401
The border is already one and a half char wider on the left side as it is?!
2006-10-30 15:09
Oswald

Registered: Apr 2002
Posts: 5028
Quote: The border is already one and a half char wider on the left side as it is?!

2006-10-30 15:17
MRT
Account closed

Registered: Sep 2005
Posts: 149
Quote: The border is already one and a half char wider on the left side as it is?!

oi?
2006-10-30 18:30
H.O
Account closed

Registered: Oct 2002
Posts: 70
Ok. I'll admit to not having coded much for the c64 in 20 years, and it's been over a year since I last wrote a single line of 6510 code.

But, isnt the 38 (rather then 39) columns based on the idea that you dont know whether the user wants to scroll things in from the left or the right?

Or am I missing something here?
2006-10-30 18:45
cadaver

Registered: Feb 2002
Posts: 1154
But same could be said that you don't know whether the user wants to scroll in things from the top or the bottom, still it works fine as it is :)
2006-10-30 23:04
Devia

Registered: Oct 2004
Posts: 401
@MRT & Oswald: Have you been in emu-land for too long? You have 6 chars on the left and about 4½ chars on the right (404 pixels in total from left to right).

When setting 38 column mode, the border ends 7 pixels further in on the left side and it starts 9 pixels before on the right. So if we had a 39 column mode we probably wouldn't be able to open the side border >8-O
Previous - 1 | 2 | 3 | 4 | 5 - 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
algorithm
Malmix/Fatzone
Knut Clausen/SHAPE/F..
Guests online: 81
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 No Bounds  (9.6)
7 Comaland 100%  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Covert Bitops  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Crest  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 S!R  (9.7)
5 Faayd  (9.7)

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