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 > CSDb Discussions > a little question..
2002-04-18 12:54
btuck
Account closed

Registered: Apr 2002
Posts: 5
a little question..

Not quite sure this is the place to ask but since there should be coders here I'll give it a try.. :)
I'm new to the coding part of the c64 scene and I've been browsing the net for information regarding different Graphic modes. I found this HiRes mode wich used multiplex sprites allowing the coder to use 2 constant colors and 2 individual colors per 8*8 char. I was wondering if there's any other way to use let's say 4 colors in hires mode.. mebe ploting the pixels one by one into location.. is that possible? if not, I don't exactly know how multiplexing works but could I change the resolution of the HiRes mode? from 96*200 to like 144*120 something? thanks..
2002-04-18 14:10
Dwangi

Registered: Dec 2001
Posts: 129
Hello btuck...

read this page... its about different gfx modes on teh c64...

http://www.studiostyle.sk/dmagic/gallery/gfxmodes.htm
2002-04-18 16:30
btuck
Account closed

Registered: Apr 2002
Posts: 5
Oh, great page :) now..
Let's take a look at the "Super Hires" mode, the res is 96*200 pixels/16 colors Using a hires background and several multiplexed hires sprites.
I'm wondering since I don't know that much about multiplexing (like how many sprites can be displayed on the same scanline and whatever) if the resulotion could be changed in an other way.

SHires = 96*200 (actually 96*167 if I'm not mistaking)
sprites are 24*21 pixels so 24 x 4 = 96 that would mean that there are four sprites in a horizontal line, while 21 x 8 = 168 so we got 8 sprites in a vertical line.

Now if we could move the sprites around to make a more "square" like image.. let's take 24 x 6 = 144 and 21 x 6 = 126 that would make a res of 144*126

the only problem I can come to think about is the "rules" of multiplexing.. could this be done? or can't I show more than 4 sprites per horizontal line or something like that?
thnks
2002-04-18 18:49
Dwangi

Registered: Dec 2001
Posts: 129
You can have maximum 8 sprites per line. That means that you can have 6 sprites side by side like you wanted, but in SHI mode they use 2 sprite-layers (4 sprites side by side overlapping another 4 sprites) so if you want 6 sprites side by side you can only have ONE sprite layer.

you can as many sprites you want in y-direction though... just set new sprites every 21th rasterline ...
2002-04-18 20:48
btuck
Account closed

Registered: Apr 2002
Posts: 5
that was exactly what I needed to know.. Thanks a bunch :)
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
Sentinel/Excess/TREX
csabanw
Eryk/Chrome
McMeatLoaf
Guests online: 299
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (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 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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