Stefan.Waidele.info

Linksammlung C64

Mac64erIch hab‘ meinem Macbook pro ein ordentliches OS verpasst 😉

Hier die Links zu den Seiten, die ich Momentan im Browser offen habe:

#include <stdio.h>
#include <peekpoke.h>

void color(int r, int h, int z) {
 POKE(0xd020, r);
 POKE(0xd021, h);
 POKE(646,z);
}

void main(void)
{
 int screen;

 int i;
 for(i=0; i<16; i++) {
 for(screen=1024; screen<2024; screen++) {
 // *(unsigned *) screen = i;
 __asm__("LDA $d020");
 __asm__("LDX $d021");
 __asm__("STA $d021");
 __asm__("STX $d020");
 }
 color(i,255-i,1);
 }
 color(0,2,7)
}

 

This entry was posted in Kinderweb, MyBlog, Offene Tabs, Overhyped Plastic Gadgets, Tech-Stuff. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Both comments and trackbacks are currently closed.