Update README.md

This commit is contained in:
alpine9000
2016-03-05 20:23:42 +11:00
parent dcb4335091
commit 6a75d7a352
+8 -8
View File
@@ -11,20 +11,20 @@ Then in the main loop I now:
* wait for the vertical blank
* set the greyscale palette
* do 4 blits
* do some blits
* set the color palette
```
.mainLoop:
bsr waitVerticalBlank
bsr installGreyscalePalette
move.l #4,d0 ; blit the object 4 times each frame
bsr.s waitVerticalBlank
bsr.s installGreyscalePalette
move.l #4,d0 ; blit the object 4 times each frame
.blitLoop:
bsr moveBlitterObject
dbra d0,.blitLoop
bsr.s installColorPalette
bra.s .mainLoop
bsr.s moveBlitterObject
dbra d0,.blitLoop
bsr.s installColorPalette
bra.s .mainLoop
```
So when the screen changes to color, that's how many scan lines we have used blitting stuff.