Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

wait for PPU power up

  • Loading branch information...
commit 650676c262620e77bf2b73d9580c5741b12073ea 1 parent f2dc849
@hcs64 authored
Showing with 9 additions and 3 deletions.
  1. +9 −3 test/test.as
View
12 test/test.as
@@ -167,15 +167,21 @@ inline system_initialize_custom()
lda #0xC0
sta joystick.cnt1
+
+ // wait for PPU to turn on
+ bit PPU.STATUS
+vwait1:
+ bit PPU.STATUS
+ bpl vwait1
+vwait2:
+ bit PPU.STATUS
+ bpl vwait2
}
interrupt.start noreturn main()
{
system_initialize_custom()
- vblank_wait_full()
- vblank_wait()
-
clear_vram()
init_ingame_vram()
init_playfield()
Please sign in to comment.
Something went wrong with that request. Please try again.