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 with no Badlines
2004-06-14 08:49
Oswald

Registered: Apr 2002
Posts: 5017
Screen with no Badlines

Hello there!

I know it's possible to have a screenmode with no bad lines at all, graphics are not displayable, but sprites are visible in this one. Once I've coded it but now I totally forgot how it was done.. some d011 fiddling at the start of the bottom border.

Can anyone tell me how to achive this ? Whats the theory ?
 
... 6 posts hidden. Click here to view all posts....
 
2004-06-23 18:07
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Interresting stuff!

I'd sure like to see that EGMOS thing
2004-07-07 17:17
Barfly

Registered: Jan 2002
Posts: 4
Actually you can do this trick even without opening the upper/lower borders...

.Barfly
2004-07-09 11:12
bOOZElEE

Registered: Dec 2002
Posts: 34
@ rambones: scpu owner?
2004-07-09 12:11
WVL

Registered: Mar 2002
Posts: 886
Quote: Actually you can do this trick even without opening the upper/lower borders...

.Barfly


how? you have to avoid the VIC starting drawing the border, else the whole screen will flush!
2004-07-09 13:00
Krill

Registered: Apr 2002
Posts: 2839
yeah. maybe barfly meant just a full-screen fld to scroll out all badlines =) but that would mean d011 writes at least every 6 lines.
2004-07-10 11:57
VIC

Registered: Aug 2003
Posts: 73
Quote: how? you have to avoid the VIC starting drawing the border, else the whole screen will flush!


*draw, draw, draw*
2004-07-11 18:11
Ninja

Registered: Jan 2002
Posts: 404
I hope I am not spoiling Barfly's fun, but sharing knowledge rules ;)

Badlines can just occur if "Display Enable" was set in line $30 for at least one cycle. So, make sure that it is cleared during line $30, and the it is set before $33, so that the border-flip-flops will behave like having a "normal" screen.
2004-07-11 18:23
Ninja

Registered: Jan 2002
Posts: 404
Example code:

SEI
loop3:
LDA #$2F
loop1:
CMP $D012
BNE loop1
BIT $D011
BMI loop1
LDA #$0B
STA $D011
LDA #$31
loop2:
CMP $D012
BNE loop2
LDA #$1B
STA $D011
BNE loop3
2004-07-13 11:49
WVL

Registered: Mar 2002
Posts: 886
hmmm..... okay, this should work too :) but basically the problem is the same. Whether you enable the screen before line $33 or open the border around $fa, it does not matter...

timing-wise they are both equally simple [or hard if you want a flexible irq over it], plus you get a free open upper+lower border :)
2004-07-13 15:44
Ninja

Registered: Jan 2002
Posts: 404
Of course, they are pretty similar. It was just the answer to the question "how?" :)
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
Alakran_64
kbs/Pht/Lxt
DJ Gruby/TRiAD
Bieno/Commodore Plus
Acidchild/Padua
Mason/Unicess
iceout/Avatar/HF
Guests online: 156
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 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (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 Original Suppliers
1 Derbyshire Ram  (9.5)
2 Black Beard  (9.4)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

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