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 > Has ECM been implemented on the VIC chip in the most efficient way?
2016-12-11 17:45
Rastah Bar
Account closed

Registered: Oct 2012
Posts: 336
Has ECM been implemented on the VIC chip in the most efficient way?

In ECM mode bit 6 and 7 are used to select a color register, but they are not used for selection of the character image. It seems to me that this may be inefficient.

To explain what I mean: suppose bits 6 and 7 were also used for the character image (I don't know if that was technically possible when the VIC chip was designed, but let's suppose it was). Let's call this ECM2 mode. This hypothetical mode uses bits 6 and 7 twice: for the character code and for selecting a color register.

Suppose also that a character set is used with 256 distinct characters. Now, if two or more of the color registers contain the same color code, then it is possible in ECM that two different character codes, for example code 65 and 129, are indistinguishable from each other on the screen, if $d022 and $d023 contain the same color.

With the hypothetical ECM2 mode, however, these are distinguishable, since they show a different character, although on the same background color, because all bits are used for the character code.

So I seems ECM is wasting bits compared to ECM2 mode. But probably there is a flaw in my logic and I would appreciate it if someone could point that out.

If this reasoning is correct, then a more efficient multicolor mode could have been implemented by displaying an "10" and "01" exactly like that on the screen (in high resolution, that is), and let the color of the 1 be determined as in MC mode as it exist on the C64 now.
 
... 10 posts hidden. Click here to view all posts....
 
2016-12-12 06:13
oziphantom

Registered: Oct 2014
Posts: 490
I like the sound of the shared upper 2 bits.
64 chars per colour sounds good.
Previous - 1 | 2 - 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
MWR/Visdom
Alakran_64
E$G/HF ⭐ 7
The MeatBall
Guests online: 87
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 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 Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

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