Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import "c64"
- import "bitmap2"
- const byte* SCREEN = $400;
- const byte* BITMAP = $2000;
- void main() {
- *BORDERCOL = LIGHT_GREY;
- *D011 = VIC_BMM|VIC_DEN|VIC_RSEL|3;
- vicSelectGfxBank(SCREEN);
- *D016 = VIC_CSEL;
- *D018 = toD018(SCREEN, BITMAP);
- bitmap_init(BITMAP,SCREEN);
- bitmap_clear(LIGHT_GREY,BLACK);
- for (word j = 0; j <= 200; j +=8) {
- bitmap_line(260,199,60,199-j);
- bitmap_line(60,0,j+60,199);
- bitmap_line(60,0,260,199-j);
- bitmap_line(260,199,j+60,0);
- }
- do {} while (true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement