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 > Interview VIC II chip designer - Albert Charpentier
2022-05-17 12:46
Voltage
Account closed

Registered: Jul 2008
Posts: 14
Interview VIC II chip designer - Albert Charpentier

https://www.youtube.com/watch?v=rs6J_PP7O7k
2022-05-17 14:16
The Syndrom

Registered: Aug 2005
Posts: 56
great find, thanks for mentioning...
2022-05-17 14:55
The Syndrom

Registered: Aug 2005
Posts: 56
at 47 mins they are chatting about Vic demo effects. they seemed very impressed... ;-)
2022-05-17 15:39
oziphantom

Registered: Oct 2014
Posts: 478
Bil did a video with him as well a while back https://www.youtube.com/watch?v=JeGCC2Kgqik
2022-05-17 18:33
Oswald

Registered: Apr 2002
Posts: 5017
Quote: at 47 mins they are chatting about Vic demo effects. they seemed very impressed... ;-)

I think they are talking about Xbow's sprite record at some point, their numbers are off but the interviewer mention sprite crunching in a way :)

I think if there's any questions left about VICII inner workings Albert is aproachable now ? He even showed up in some American c= retro events.
2022-05-17 20:47
hedning

Registered: Mar 2009
Posts: 4595
Interesting video.
2022-05-18 21:45
Digger

Registered: Mar 2005
Posts: 421
Great material! He needs to see the top 10 demos.
2022-05-19 06:47
Voltage
Account closed

Registered: Jul 2008
Posts: 14
We should organize that.
2022-05-19 15:05
Digger

Registered: Mar 2005
Posts: 421
He also mentioned badlines (although not that word).

It would be interesting to update him with recent VIC-II advancements 😅 The father should be aware of what his child became.

Seems like he was aware of the possibility of sprite multiplexing at the design stage.
2022-05-19 16:45
Oswald

Registered: Apr 2002
Posts: 5017
aware? I'm sure that was intentional. not that it needs anything extra on the chip, but the way it works makes it possible.
2022-05-19 17:52
GeirS

Registered: Jan 2014
Posts: 4
Another video with Bil Herd and Albert Charpentier, from Vintage Computer Festival East 2022 in late April:
https://www.youtube.com/watch?v=FwYb1sXqylI
(There's some discussion about the internal clock speed of the VIC-II at 41:15.)

And here's part 1 and 2 of a "panel discussion" at the same event, featuring other Commodore engineers as well:
https://www.youtube.com/watch?v=aQRz1MxB5jY
https://www.youtube.com/watch?v=Xqds6pLAbt0
2022-05-20 10:33
Claus_2015

Registered: Oct 2012
Posts: 53
Quote: aware? I'm sure that was intentional. not that it needs anything extra on the chip, but the way it works makes it possible.

Indeed, what sense would an IRQ triggered by a given raster line have otherwise (except changing the background color or the screen mode).
2022-05-20 12:30
Frantic

Registered: Mar 2003
Posts: 1627
Quote:
Indeed, what sense would an IRQ triggered by a given raster line have otherwise (except changing the background color or the screen mode).


Couldn't it also simply be things like to avoid updating the screen contents at the wrong time? At least in principle, I mean. On the other hand, of course it may have been intentional.
2022-05-20 13:57
Oswald

Registered: Apr 2002
Posts: 5017
I think simply the fact that Y coo of sprite is watched again for a match after a sprite has been finished drawing gives it away. could have been a flip flop which is never turned back after sprite was drawn, etc. Also sprite multiplexing wasnt such a black magic to a chip designer engineer as we kids thought back in the 80s imho. Al mentions in the video above he was aware of what programming needed.
2022-05-20 14:13
chatGPZ

Registered: Dec 2001
Posts: 11108
"Split screen" wasn't an unknown technique when the VICII was designed at all, used for colors, gfx modes, scrolling... and sprites - all common. So its more than unlikely it was just a happy accident :)
2022-05-20 16:10
Raistlin

Registered: Mar 2007
Posts: 552
Quote: at 47 mins they are chatting about Vic demo effects. they seemed very impressed... ;-)

Dave (the interviewer) was apparently talking about my part in Memento Mori with the rotating Genesis Project sprite logo thing... from an email I received from him:-

---
It was your post I was thinking of though!
https://www.c64demo.com/big-animating-sprite-logo/
---

Big sprite arrays like that have been done since the 80s of course so I'm not sure why that part was noticed. I guess probably just because of the blog. I have no idea whether he and Albert were thinking of the same thing - I'd be very honoured of course if Albert had seen my blog... but I doubt it.

Dave also mentioned that we had some slight career overlap - he'd coded the scrolling odometer used in Test Drive 2 (I would later work on Test Drive 4 and beyond..).
2022-05-20 16:23
Rastah Bar

Registered: Oct 2012
Posts: 336
Sprite multiplexing is mentioned on page 152 of the Commodore 64 Programmer's Reference Guide (1st Edition, 4th Printing, 1983):

"You can also display more than 8 sprites in the same way."

This is in Chapter 3, Section "Other Graphic Features", subsection "Interrupt Status Register"
2022-05-22 09:53
TheRyk

Registered: Mar 2009
Posts: 2062
Not sure if my memory's playing tricks on me, but I remember commercials in magazines in 80s in which C= even advertised sth like "up to 256 sprites" without going into any more detail or mentioning the term multiplexing. Just like Atari used to boast with so-and-so-many colors without really explaining that it was in fact way-less colors from a palette of so-and-so-many (depending on 8 bit/16 bit/mode)
2022-05-22 10:54
MagerValp

Registered: Dec 2001
Posts: 1055
Quoting TheRyk
Not sure if my memory's playing tricks on me, but I remember commercials in magazines in 80s in which C= even advertised sth like "up to 256 sprites" without going into any more detail or mentioning the term multiplexing


Well you have 256 possible sprite definitions in a VIC bank, so that’s technically correct.
2022-05-24 10:28
Copyfault

Registered: Dec 2001
Posts: 466
Quoting MagerValp
Quoting TheRyk
...sth like "up to 256 sprites"...


Well you have 256 possible sprite definitions in a VIC bank, so that’s technically correct.
Hmm, that made me think "Could be even more with bank-switching...", but the very next thought was that the maximal number of sprites on a screen is limited anyway.

So, for PAL with its 312 lines, using normal uncrunched and unexpanded sprites, the max is 312/21 = 14 + 18/21 -> 14 * 8 = 112; for NTSC-VICs it'll be even less. This ofcourse can be extended by sprite-crunching, but I seriously doubt that the engineers at C= were aware of such a trick, not even Mr. Charpentier himself. But I'd be more than happy to be proven wrong;)

Back to the actual topic and the interview: I think Albert Charpentier should get to know all of the dirty VIC-tricks used nowadays, so please someone make it happen he materialises at the next X-party!!!
2022-05-24 12:14
dyme

Registered: Nov 2018
Posts: 14
I don't really get the obsession with sprite crunching. I mean, theoretically you could reuse the sprite and even change the y-coordinate, but it's too timing critical for games anyway.

The massive sprite demos with fix y-distances could just as easily reuse the same sprite and just change the bitmap, e.g to display 7 pixel height sprites-parts. Am I missing something? Not really new sprites as the vic is concerned, but there would still be like more than 200 seemingly independent moving objects.
2022-05-24 15:12
Oswald

Registered: Apr 2002
Posts: 5017
Quote: I don't really get the obsession with sprite crunching. I mean, theoretically you could reuse the sprite and even change the y-coordinate, but it's too timing critical for games anyway.

The massive sprite demos with fix y-distances could just as easily reuse the same sprite and just change the bitmap, e.g to display 7 pixel height sprites-parts. Am I missing something? Not really new sprites as the vic is concerned, but there would still be like more than 200 seemingly independent moving objects.


sprite crunching can achieve things thats not possible with other means, for example FLI and sprites, you can make a sprite 3 times taller with sprite crunching (not meeting exit criteria before displayed 3x), but you change screens anyway with d018 for FLI, so you get different gfx line for each of the sprites lines displayed. and you dont have time to write Y coord. or you can avoid bad lines when multiplexing sprites with having a sprite different height, etc. I havent used it myself though, you need to code yourself into a very very very tight corner to have to use it :)
2022-05-24 22:36
Copyfault

Registered: Dec 2001
Posts: 466
Oswald pretty much broke it down to the core benefit: you do not have to care for the "multiplexing" of the sprites for ~160 rasterlines when applied the right way. Ofcourse, multiplexing in this sense does not involve any sorting routines etc.pp., just the sprite-reuse trick.

IIrc Xbow used this in his routines with sprites over FLI, especially the 5 sprites over FLI in Demus Interruptus. To some extent, this technique could also be applied to Ninja's 6 sprites over FLI, but I faintly remember that his routines needed quite some vic bank hopping and that -in its current form- it would not allow for 160 lines of completely different sprite data. Maybe I'm wrong, age is eating my brain...
2022-05-25 13:30
dyme

Registered: Nov 2018
Posts: 14
Oh, right... I guess y'all moved on from the maximum sprite count obsession long ago... I'm apparently still stuck there. FLI and other extremely time constrained stuff totally justify all means of course.
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
Grue/Extend
MCM/ONSLAUGHT
GeirS
HOL2001/Quantum
Ko-Ko
Guests online: 143
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 Crackers
1 Mr. Z  (9.9)
2 S!R  (9.9)
3 Mr Zero Page  (9.8)
4 Antitrack  (9.8)
5 OTD  (9.8)

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