Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Erik_Bam ! (Registered 2024-05-26) 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: 351
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 19:38
Rastah Bar

Registered: Oct 2012
Posts: 336
Cool. The idle byte seems to be shifted down by 1 line. Where does it get its color from?

Can't you hide it by making the right border broad instead?
2016-10-25 19:55
Monte Carlos

Registered: Jun 2004
Posts: 351
From the lo nibble of the opcode following the st? $d011 (?=a|x|y).
2016-10-25 20:43
Rastah Bar

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: 351
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: 422
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: 351
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: 422
@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: 1381
That's a blue $ff character! The split is between char foreground and $d021
2017-06-05 11:11
Oswald

Registered: Apr 2002
Posts: 5028
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: 422
Right Oswald – well spotted!

@CJ: Ah, haha how could I miss that?!
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
zscs
Harry/Alivers
Fred/Channel 4
Aomeba/Artline Desig..
bexxx
Asthor/Exlusive ON
Xiny6581/Dees Produc..
itch/SoS
DJ Gruby/TRiAD
Sentinel/Excess/TREX
jmin
Scrap/Genesis Project
K-reator/CMS/F4CG
kbs/Pht/Lxt
JackAsser/Booze Design
BroneCk/Samar^BooM!
Guests online: 126
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 Aliens in Wonderland  (9.6)
10 Wonderland XIV  (9.6)
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 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Covert Bitops  (9.4)
2 Nostalgia  (9.4)
3 Oxyron  (9.3)
4 Booze Design  (9.3)
5 Crest  (9.3)
Top Logo Graphicians
1 Sander  (9.9)
2 Facet  (9.6)
3 Mermaid  (9.4)
4 Pal  (9.4)
5 Shine  (9.3)

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