You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
how do i get the right combinations
2008-10-01
23:12
Testa
Account closed
Registered: Oct 2004
Posts: 197
how do i get the right combinations
hi,
i have 4 different bit paterns..
00
11
01
10
we can pack them in one byte.. #%00110110
how to code a neat routine that calculates al the different combinations and store them into a table...
bye
Testa
... 10 posts hidden. Click
here
to view all posts....
2008-10-03
09:31
JackAsser
Registered: Jun 2002
Posts: 2014
Quote:
i think 255 different sprites is not a problem at all,
256 sprites takes one complete bank, the only problem now is that i need some memory for the sprites parameters
($07F8-$07FF) i think i go for 254 sprites ...
for example. i dont use sprite pointer $ef ($7bc0) and $ff ($7fc0) so i can use $7bf8-$7bff and $7ff8-$7fff as sprite parameters... and switch $d018 right before the 4th rasterline...
this way i can not use any other graphics like a bitmap picture or something else.. so i think i go for a screen without badlines and use sprites only.. and swing
the 4x4 effect in all directions and all borders..
thanks for the help,
Testa
than
Hmms, it's an alternative of course. I don't know if it's any help but you might wanna check out my
S:T Lars Meeting III - Invite
. Source included. It's also a 4x4 effect done using sprites and runs in all borders. I had a completly different implementation though. I simply stretched the sprites every 2nd line to get 4x4 resolution and in between I mixed in the 4x4-math code with the raster code.
2008-10-03
10:06
Testa
Account closed
Registered: Oct 2004
Posts: 197
yeah... nice atuff jack.. this is what i,ve got in mind,
i think 4x4 in the border is a nice effect...
thanks for the info...
Previous
-
1
| 2 - Next
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
E$G/HF ⭐ 7
Guests online: 126
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
No Listen
(9.6)
2
Layers
(9.6)
3
Cubic Dream
(9.6)
4
Party Elk 2
(9.6)
5
Copper Booze
(9.6)
6
X-Mas Demo 2024
(9.5)
7
Dawnfall V1.1
(9.5)
8
Rainbow Connection
(9.5)
9
Onscreen 5k
(9.5)
10
Morph
(9.5)
Top Groups
1
Performers
(9.3)
2
Booze Design
(9.3)
3
Oxyron
(9.3)
4
Censor Design
(9.3)
5
Triad
(9.3)
Top Swappers
1
Derbyshire Ram
(10)
2
Jerry
(9.8)
3
Violator
(9.7)
4
Acidchild
(9.7)
5
Cash
(9.6)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.034 sec.