Skip to content

Instantly share code, notes, and snippets.

msx80 msx80

View GitHub Profile
View Advent of code 2019 day 16
package aoc;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Date;
public class AOC16xOPT {
View Advent of code 2019 day 3 part 1
package aoc;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Date;
import java.util.TreeSet;
import java.util.function.Consumer;
public class Aoc3 {
@msx80
msx80 / notworking.mfk
Created Sep 26, 2019
non working irq thingie
View notworking.mfk
// the emulator supports only 16 sprites:
const byte SPRITE_COUNT = 16
array(vera_sprite_data) sprites[SPRITE_COUNT]
array(sbyte) vx[SPRITE_COUNT]
array(sbyte) vy[SPRITE_COUNT]
import random
import joy
import x16_joy
View Aoc16.java
package aoc;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.time.Duration;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
You can’t perform that action at this time.