-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.o8
117 lines (97 loc) · 1.64 KB
/
demo.o8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Compile using https://github.com/JohnEarnest/Octo
#
# Character font is https://fontenddev.com/fonts/owre-kynge
:const height 9
:const width_L 9
: char_L
0b01111100
0b10111000
0b00010000
0b01110000
0b10110000
0b00110000
0b00110110
0b00101111
0b01011001
:const width_o 6
: char_o
0b00000000
0b00000000
0b00110000
0b01011000
0b11011000
0b11011000
0b11011000
0b11010000
0b01100000
:const width_v 7
: char_v
0b00000000
0b00000000
0b01001000
0b11101100
0b01101100
0b01101100
0b01101100
0b01111000
0b00010000
:const width_e 6
: char_e
0b00000000
0b00000000
0b00110000
0b11110000
0b11011000
0b11100000
0b11000000
0b11000000
0b01100000
:const width_8 7
: char_8
0b00110000
0b01011000
0b11001100
0b01111000
0b01111000
0b11001100
0b11001100
0b01101000
0b00110000
# position of the logo
:alias x v0
:alias y v1
:alias char_x v2
:alias char_y v3
: sync
vf := 2
delay := vf
loop
vf := delay
if vf != 0 then
again
;
: main
x := 0
y := 10
loop
clear
char_x := x
char_y := y
i := char_L
sprite char_x char_y height
char_x += width_L
i := char_o
sprite char_x char_y height
char_x += width_o
i := char_v
sprite char_x char_y height
char_x += width_v
i := char_e
sprite char_x char_y height
char_x += width_e
i := char_8
sprite char_x char_y height
char_x += width_8
x += -1
sync
again