Draw on screen border in Commodore 64

前端 未结 9 2084
花落未央
花落未央 2021-01-30 16:12

I have this curiosity for 25 years and I would love to understand the trick.

In the Commodore 64 the border was not addressable by the 6569 VIC. All you could do was to

9条回答
  •  不思量自难忘°
    2021-01-30 16:41

    Im going to take a stab in the dark here (havent done this myself). I found this on wikipedia.

    The c64demo section explains that:

    Effects thought impossible were achieved in demos, mostly due to undocumented side-effects pertaining to the MOS Technology VIC-II chip. Some examples for VIC-trickery:

    One of the mentioned hacks was:

    Sprite scrollers were placed in the border. By tricking the hardware not to draw the border around the screen, sprites could be moved into this area and displayed.

    Of course, the interesting part of the question is how its done. I would suggest looking in some demo database which includes source code in search for a demo that employs the hack.

提交回复
热议问题