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 > Left/Right Border switching in middle of rasterline
2016-10-22 19:58
Monte Carlos

Registered: Jun 2004
Posts: 358
Left/Right Border switching in middle of rasterline

The last days i experimented a little with bit 3 of $d016. I had the brainfart to broaden the border on the left and keep it normal on the right. Disappointingly, this seems to work only in every non badline. If i try to switch bit 3 of $d016 during a badline i either get both left and right borders equal or i turn off the border completely for the next rasterline. Does somebody have an explanation in terms of internal VIC timing? I also tried modifying the timing with sprites or HSP to be able to write to $d016 in the correct cycle.
 
... 42 posts hidden. Click here to view all posts....
 
2016-10-25 20:43
Rastah Bar
Account closed

Registered: Oct 2012
Posts: 336
Quoting Color Bar
Can't you hide it by making the right border broad instead?

I guess that's not very handy for a text scroller.
2016-10-26 10:07
Monte Carlos

Registered: Jun 2004
Posts: 358
Not even in arabic language, because a major bug would appear on the left side independent on scroll direction.
2017-06-04 19:29
Digger

Registered: Mar 2005
Posts: 427
Looks like you've done the impossible MonteCarlos! – changed the color in the middle of the char – second row at the very right ;-D)

I guess one could use bitmap mode without badlines to create 39 column wide scroll using VSP?
2017-06-04 20:48
Monte Carlos

Registered: Jun 2004
Posts: 358
Where do you see a split in the middle of a char?
Did you use VICE or real machine?
I'm not aware of that what you want to tell me at the moment.
2017-06-04 20:51
Digger

Registered: Mar 2005
Posts: 427
@MC: Haha, in your screenshot! Second row, the very last char. I am not sure what's going on there but it looks like you've split the atom ;-)
2017-06-05 05:10
ChristopherJam

Registered: Aug 2004
Posts: 1408
That's a blue $ff character! The split is between char foreground and $d021
2017-06-05 11:11
Oswald

Registered: Apr 2002
Posts: 5086
the latest shape demo uses sprites to achieve a 41 char wide screen for 40 column scroll.
2017-06-05 14:56
Digger

Registered: Mar 2005
Posts: 427
Right Oswald – well spotted!

@CJ: Ah, haha how could I miss that?!
2017-06-05 22:58
Compyx

Registered: Jan 2005
Posts: 631
isn't that like a normal scroll with sprites to solve the colum -1 thing? Ie. not really splitting anything?
2017-06-06 20:36
Rastah Bar
Account closed

Registered: Oct 2012
Posts: 336
I noticed that if you change from hires to character screen during a line, that the graphics change 16 pixels / 2 chars later than the colors (for 8565 at least, for 6569 the colors change 2 pixels earlier). In other words, you can see 2 hires characters with the colors of a normal text screen (and vice versa when you change back). I guess if you switch 1 character into the left border, and fill the leftmost column of the hires screen, you can also fake a wider left border. The badlines are again a problem, though, and soft scrolling would be difficult. When the lower 3 bits of $d016 are changed, the position where color changes doesn't move, only the graphics shift.
Previous - 1 | 2 | 3 | 4 | 5 | 6 - 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
LDX#40
MaD ][/Starship
4gentE/ΤRIΛD
Linus/MSL
Røly/Mayday!
Dr.Science/Atlantis
zscs
MWR/Visdom
AMB/Level 64
Epyx/TSA
Barfly/Extend
Electric/Extend
TBH
Sulevi/Virtual Dreams
Soya/Fairlight
mutetus/Ald ^ Ons
Unlock/Padua/Albion
Guests online: 169
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Fishbomb  (9.6)
7 Halloweed 4 - Blow Y..  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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