Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
Trentacolori   [2021]

Trentacolori Released by :
Wil

Release Date :
30 October 2021

Type :
C64 Basic Demo

AKA :
C64 BASIC demo displaying 30 colors

Released At :
Commodore-Treffen Graz $34

User rating:awaiting 8 votes (6 left)   See votestatistics

Credits :
Code .... Wil of Vintage Computing Carinthia
Graphics .... Neyvivi of Vintage Computing Carinthia
Docs .... Wil of Vintage Computing Carinthia

Download :

Look for downloads on external sites:
 Pokefinder.org


Summary
Submitted by wil on 30 October 2021
Trenta colori means thirty colors in Italian. This is a basic demo that uses a trick to display 30 colors without flickering. Besides this, the basic program also demonstrates fast clearing of the hires screen by shifting the string address pointer and fast writing of subsequent pokes into memory by using print with a shifted screen pointer.
As you might know, the VIC-II chip of the commodore 64 has 4-bit color registers, thus allowing to display up to 16 different colors. There is, however, an interesting behavior when a CRT screen has to display two colors of the same luminance in subsequent rows - the two colors blend into each other, forming a new color. Most VIC chips have 7 color pairs with the same luminance. Thus we can, for example, blend blue and brown by alternating between both colors in each line. This gives us 7 more colors. Interestingly, it makes a difference which color is in an odd rasterline and which is an even one.
Seven luminance pairs in even/odd or odd/even numbers give use 14 more colors to display. A disadvantage is that it only works on CRTs or CRT emulations. So if you use original hardware with an HDMI upscaler, the effect might not work. For the same reason, the screenshot for this release had to be made as a manual screenshot from the VICE emulator. Second, to use the new colors, we need always to consider two pixels above each other, effectively reducing vertical resolution. Furthermore, we need to reserve two-color outputs to show one blended color. That is why I used the hires mode and a simple pattern in this program. Using multicolor mode and/or overlay sprites might help here, though. Finally, be aware that putting two blended color areas above each other might make one of the blended colors visible. The program is a poor man's graphic editor, however, it is not meant to be used productively. But it should help you get a feeling for the extra colors. note that you can use these even in a standard Koala image.
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (2)
· Production Notes
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.088 sec.