mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-26 12:29:26 +00:00
23 lines
385 B
Plaintext
23 lines
385 B
Plaintext
void main(){
|
|
array(byte) stars[256] align(fast)
|
|
array(byte) speed[256] align(fast)
|
|
byte i
|
|
|
|
os_PCOLR0 = $e
|
|
gtia_grafm = $e
|
|
|
|
for i:stars {
|
|
stars[i] = pokey_random
|
|
speed[i] = (pokey_random & 3) + 1
|
|
}
|
|
|
|
while true {
|
|
if antic_vcount == 0 {
|
|
for i:stars {
|
|
antic_wsync = 1
|
|
gtia_hposm0 = stars[i]
|
|
stars[i] += speed[i]
|
|
}
|
|
}
|
|
}
|
|
} |