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 > Black background when sideborder open
2018-09-15 00:38
Golara
Account closed

Registered: Jan 2018
Posts: 212
Black background when sideborder open

I've got this effect where I open almost the whole sideborder to show a "raster bar" go by the screen. Everything was working like normal until I replaced my macro loops with proper code generators. The effect is still working, but I've got a black background.


When you look at the normal view it looks like the sideborder is still closed but there's a sprite on top of it.



Any ideas ?
 
... 11 posts hidden. Click here to view all posts....
 
2018-09-15 21:49
Golara
Account closed

Registered: Jan 2018
Posts: 212
All cool tricks posted here which I didn't think of. Another misconception that I had was that the 3fff byte was an index to the current charset, not just a representation of one line of graphics (is it ? I think it is...). Thinking back to the OFFENCE part from their x2010 demo where they seem to have a 3fff scroller and logo (big letters but inside is filled with small characters saying OFFENCE scrolling up and to the side)... I thought they are just ROLing that one char in the charset... so much cooler :D


Or maybe it's just sprites ? I thought it's a sprite mask covering up the 3fff.
2018-09-16 00:09
Raistlin

Registered: Mar 2007
Posts: 680
Judging from the screenshot, that just looks like they're changing $3fff on each rasterline. The value will repeat across the line and then be read again at HSYNC for the next line.
2018-09-16 00:20
Oswald

Registered: Apr 2002
Posts: 5094
krill, cool workaround didnt think of that so far :D what I did sometimes is simply change ffff back and forth sometimes you can have that irq outside the display area.
2018-09-16 06:40
ChristopherJam

Registered: Aug 2004
Posts: 1409
Quoting Compyx
I always thought that was $F9FF ?

It is. EBCM zeros the address lines that would ordinarily select which quarter of a charset VIC is accessing, so in this instance it just shifts the ghost byte down from the end of the bank by 1536 bytes (3/4 of the 2k a charset occupies).
2018-09-16 08:07
Krill

Registered: Apr 2002
Posts: 2980
Yes, $F9FF. Sorry, brainfart. :)
2018-09-16 08:11
Krill

Registered: Apr 2002
Posts: 2980
Quoting Raistlin
Judging from the screenshot, that just looks like they're changing $3fff on each rasterline. The value will repeat across the line and then be read again at HSYNC for the next line.
It's read continually, actually. Changing the visible pattern mid-line is possible, so you can have $3FFF-splits. :)
2018-09-16 09:24
oziphantom

Registered: Oct 2014
Posts: 490
with an REU you can change it per char to make a "picture"
2018-09-17 14:07
Perplex

Registered: Feb 2009
Posts: 255
Quoting Krill
Yes, $F9FF. Sorry, brainfart. :)


A shame it's not $FAFF, that would be the perfect address for the idle byte.
2018-09-17 14:52
Golara
Account closed

Registered: Jan 2018
Posts: 212
Quote: Quoting Krill
Yes, $F9FF. Sorry, brainfart. :)


A shame it's not $FAFF, that would be the perfect address for the idle byte.


why ?
2018-09-17 14:58
Krill

Registered: Apr 2002
Posts: 2980
Wiktionary and Urban Dictionary are your friends. :)
Previous - 1 | 2 | 3 - 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
B.A./QUANTUM
iceout/Avatar/HF
Steffan/BOOM!
E$G/HF ⭐ 7
Holy Moses/Role
Didi/Laxity
lA-sTYLe/Quantum
zscs
Freeze/Blazon
Guests online: 86
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

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