Meine virtuelle Presse

Linksammlung C64




Mac64er

Ich 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, Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>