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 Pixeling > HCB - what is it and what can we do with it?
2008-10-30 10:11
null
Account closed

Registered: Jun 2006
Posts: 645
HCB - what is it and what can we do with it?

okay, so.. I was (and possibly others are) wondering what HCB is exactly? what are the possibilities and limitations of this new GFX mode? and where can I get an editor for it? :_)

------------------------------------
http://zomgwtfbbq.info
 
... 32 posts hidden. Click here to view all posts....
 
2008-10-30 19:57
algorithm

Registered: May 2002
Posts: 702
There is not much of a dramatic increase in color/image quality when splitting $d800, nonetheless it is something which has not seem to have been done before. May as well just do fli per 4 lines and get an additional 2 colors per 4x4 block. and leave the $d800 twiddling. Nonetheless the restrictions have been reduced even if it does not make much of a visual difference (and smoother 4x4 defading/fading in multicolor in comparison to 4x8
2008-10-30 20:06
ptoing

Registered: Sep 2005
Posts: 271
I don't get it? How do we get 2 more colours per 4x4 with fli every 4 lines?

As I understand in full FLI you can change the bg colour every line, have 2 unique colours per 4x1 and have a 3rd colour which is fixed to the 4x8 still. Am I wrong here?

And in the HCB editor you get a new bgcolour every 4 lines, and 3 extra colours per 4x4. And also it seemed as if you can use all 40 chars.

But yeh, I do not have a lot of clue about the coding details at all, just a bit confused about this.
2008-10-30 20:24
Wile Coyote

Registered: Mar 2004
Posts: 637
From the demo of HCB that appears during EoD, HCB appears to be the same as multi colour bitmap, only each char is 8x4, opposed to the normal 8x8.

/I once had an idea for new graphics mode. I called it Multi Colour Bimtap +1. The idea was to have the usual Multi Colour Bitmap screen, with an extra possible colour (provided by 1 layer of expanded hired sprites). I had this idea pre 1990.
2008-10-30 20:25
Cruzer

Registered: Dec 2001
Posts: 1048
ptoing: Aren't you mixing up HCB and the 4x4 dither plasma?

HCB means FLI every 4th line as well as "splitting" the d800-colors by replacing them on the fly with the excess cycles in the displayer.

Dithered 4x4 is, as far as I remember from the note, done like Xbow did the 16 color 2x2 plasma in the bonus part of DEM. This means both splitting d800, plus having a layer of sprites where the colors of each sprite and the 2 multicolors (adds up to 10 colors) are updated too. This gives each char a 4th color, but limits the width of the effect to 10 chars, or if the bg color was also used it could be 11, and you could even put half an extra char on each side to make it 12.

I might have an idea of how to make it wider though, so yes, EoD CAN be beaten! ;)
2008-11-01 10:16
MagerValp

Registered: Dec 2001
Posts: 1055
I don't understand HCB. I mean, I understand how it's implemented (the code at $2000 and up is easy to follow), but I don't see the advantage over plain FLI. It only uses two screens instead of eight, but the d800 speedcode eats up the difference. 3+1 colors per 8x4 pixels doesn't sound more flexible than 1+1+2 colors per 8x1. It still uses 100% rastertime.

What gives?
2008-11-01 13:56
Tao

Registered: Aug 2002
Posts: 115
Quote: I don't understand HCB. I mean, I understand how it's implemented (the code at $2000 and up is easy to follow), but I don't see the advantage over plain FLI. It only uses two screens instead of eight, but the d800 speedcode eats up the difference. 3+1 colors per 8x4 pixels doesn't sound more flexible than 1+1+2 colors per 8x1. It still uses 100% rastertime.

What gives?


Hey, it's possible to do. What nobler reason could there possibly be to implement it? Actually being useful? Bah. It's not like the 9 sprites in the lower border in Krestology 3 was particularly useful either. It's still cool :-)
2008-11-01 17:18
tlr

Registered: Sep 2003
Posts: 1714
Quote: I don't understand HCB. I mean, I understand how it's implemented (the code at $2000 and up is easy to follow), but I don't see the advantage over plain FLI. It only uses two screens instead of eight, but the d800 speedcode eats up the difference. 3+1 colors per 8x4 pixels doesn't sound more flexible than 1+1+2 colors per 8x1. It still uses 100% rastertime.

What gives?


You can free raster time (if only a little) by optimizing the picture/displayer.
First you can save two cycles for each color value that isn't used on that particular line. Secondly you can omit updating colors that are the same on this line too, saving 4 cycles for each occurance.
2008-11-02 09:58
JackAsser

Registered: Jun 2002
Posts:
Quote: I don't understand HCB. I mean, I understand how it's implemented (the code at $2000 and up is easy to follow), but I don't see the advantage over plain FLI. It only uses two screens instead of eight, but the d800 speedcode eats up the difference. 3+1 colors per 8x4 pixels doesn't sound more flexible than 1+1+2 colors per 8x1. It still uses 100% rastertime.

What gives?


The gain is obviously 8x4 fades instead of 8x8 fades. :)
2008-11-02 12:29
Twoflower

Registered: Jan 2002
Posts: 434
Not only that - mind that this is quite a flexible mode from a graphicians point of view. Ok - it's hard to tell since I haven't drawn an entire pic in this editor, but it feels like a quite nice format to work with. Limits within the 8X8 (=d800) is actually one of the things which really has irritated me while working with FLI. Unless you really want the pic to show off as FLI, you don't need the fast vertical changes in color that FLI enables.
2008-11-02 14:53
MagerValp

Registered: Dec 2001
Posts: 1055
Quote: The gain is obviously 8x4 fades instead of 8x8 fades. :)

Hah, yeah, that's a good one :) And you only have to change the lda's, so fading d800 is "cheap".
Previous - 1 | 2 | 3 | 4 | 5 - 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
jmin
Viti/Hokuto Force
Apollyon/ALD
JEZ
Jucke
icon/The Silents, Sp..
Visage/Lethargy
MightyAxle
curtcool
Guests online: 116
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 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
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 Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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