mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-10 20:29:35 +00:00
Fix the rasterbar example
This commit is contained in:
parent
e1b2b7f2c9
commit
7cd1324c4e
@ -15,7 +15,7 @@ void main() {
|
||||
for colour_index, 0, until, colours.length {
|
||||
colour = colours[colour_index]
|
||||
while wait_for != vic_raster { }
|
||||
stabilize(8)
|
||||
stabilize(10)
|
||||
vic_border = colour
|
||||
wait_for += 2
|
||||
}
|
||||
@ -26,11 +26,11 @@ void main() {
|
||||
|
||||
}
|
||||
|
||||
asm void stabilize(byte x){
|
||||
inline asm void stabilize(byte x){
|
||||
burn:
|
||||
DEX
|
||||
BNE burn
|
||||
RTS
|
||||
? RTS
|
||||
}
|
||||
|
||||
const array colours = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user