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 > Three pixel period pattern on upper/lower border
2010-04-10 16:24
Monte Carlos

Registered: Jun 2004
Posts: 351
Three pixel period pattern on upper/lower border

Any idea, how to create a hires pattern like this:

110110110110110110110110110110110110...

on the upper/lower border over the full width. Every trick allowed.

Btw: $3fff trick does not work, because then the pattern has a period of eight instead of three. Sprites cover only a width of 192 pixels!

Thank you Monte!
 
... 16 posts hidden. Click here to view all posts....
 
2010-04-11 09:49
Mace

Registered: May 2002
Posts: 1799
You are now asking to think about a solution you have already chosen: a pattern in the border.

There might be another solution for your problem.
What exactly is the reason you want this pattern in the first place?
2010-04-11 11:40
Monte Carlos

Registered: Jun 2004
Posts: 351
The pattern mentioned above is part of a two color hires bitmap i want to extend into the upper and lower border.
I was experimenting with sprites over ghostbyte pattern and
didn't find a way to create the pixel combination 1101101100..., because of the three pixel period. I thought, maybe someone comes to another result and finds away to create this pixel combination.
Important is, that the pattern should not be made of double, but single pixels.

Monte
2010-04-11 11:51
Skate

Registered: Jul 2003
Posts: 491
@Monte Carlos: I hate to use that trick but I think it's your last chance.

"It's impossible to do something like that. Even Crossbow cannot do it."

;)
2010-04-11 12:33
Jetboy

Registered: Jul 2006
Posts: 221
Interesting puzzle! I need to go to the tolet so i mihght come up with idea when i get back...
2010-04-11 13:01
Ninja

Registered: Jan 2002
Posts: 406
Tuffi: The 65816 (SCPU) can do this as well. And a C128, too, IIRC.
2010-04-11 13:08
Skate

Registered: Jul 2003
Posts: 491
@Oswald: consider $3fff at ZP. What is your solution for this? Will you be able to change $3fff (at ZP) each cycle? I don't think so. So, what kind of sprite + $3fff combination you planned?
2010-04-11 13:29
Oswald

Registered: Apr 2002
Posts: 5023
yeah, I was hoping no1 will notice I have made a mistake by that statement. I was still sleepy, so no idea how I thought it would work :D
2010-04-11 15:13
WVL

Registered: Mar 2002
Posts: 886
I think you should forget about this, and modify the picture instead :)
2010-04-11 15:16
chatGPZ

Registered: Dec 2001
Posts: 11136
i think skates proposal will work :)
2010-04-11 16:53
assiduous
Account closed

Registered: Jun 2007
Posts: 343
Quote: i think skates proposal will work :)

it wont. there are both 0->1 and 1->0 bit transitions so you need a MC sprite to cover the ghost byte pattern correctly and for this kind of transition pattern(0->1 between 1->0 and 1->1 & 1->0 between 0>1 and 1->1) MC sprites are out of question:

11011011->
01101101->
10110110->
11011011->
...

not even Crossbow will do it unless he can display something else than the ghost byte and sprites in the vertical borders.
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
Steel/SCS&TRC/G★P
Menace/Spaceballs
Higgie/Kraze/Onslaught
Guests online: 100
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 Memento Mori  (9.6)
10 Bromance  (9.5)
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 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Black Beard  (9.7)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Jazzcat  (8.6)

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