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