mirror of https://github.com/falsovsky/z80.git
Remove
This commit is contained in:
parent
01d386733b
commit
ce2745803c
|
@ -1,33 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
import random
|
||||
|
||||
NumStars = 10
|
||||
xlist = []
|
||||
ylist = []
|
||||
|
||||
f = open('starrnd.asm', 'w')
|
||||
|
||||
for x in range(NumStars):
|
||||
random.seed()
|
||||
x = random.randint(0,256 - 1)
|
||||
while(x in xlist):
|
||||
x = random.randint(0,256 - 1)
|
||||
xlist.append(x)
|
||||
|
||||
y = random.randint(0,192 - 1)
|
||||
while(y in ylist):
|
||||
y = random.randint(0,192 - 1)
|
||||
ylist.append(y)
|
||||
|
||||
xlist.sort()
|
||||
ylist.sort()
|
||||
|
||||
f.write("StarRnd\n")
|
||||
|
||||
for idx in range(NumStars):
|
||||
f.write("\t\tdb %i, %i\n" % (xlist[idx], ylist[idx]))
|
||||
|
||||
f.close()
|
|
@ -1,11 +0,0 @@
|
|||
StarRnd
|
||||
db 31, 10
|
||||
db 1, 1
|
||||
db 2, 2
|
||||
db 3, 3
|
||||
db 4, 4
|
||||
db 5, 5
|
||||
db 6, 6
|
||||
db 7, 7
|
||||
db 40, 1
|
||||
db 0, 0
|
Loading…
Reference in New Issue