aboutsummaryrefslogtreecommitdiff
path: root/include/globals.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-03-19 17:28:36 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-03-19 17:28:36 +0100
commit4c8ed456d990ee99884e9dcd245f665ccb894b50 (patch)
tree7305788a45bffa1ed291c2f65af2dea1f7b8db29 /include/globals.s
parentd38a958f446aac1a6faa79277c140ab8a0ff03f4 (diff)
downloadjetpac.nes-4c8ed456d990ee99884e9dcd245f665ccb894b50.tar.gz
jetpac.nes-4c8ed456d990ee99884e9dcd245f665ccb894b50.zip
Disable the PPU between the title to main screens
During other transitions like game over and such it might also be needed to have something similar, but for now this should cut it. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'include/globals.s')
-rw-r--r--include/globals.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/globals.s b/include/globals.s
index f4e4861..35665f7 100644
--- a/include/globals.s
+++ b/include/globals.s
@@ -1,8 +1,7 @@
;; Global variables used throughout the code base.
.scope Globals
;;;
- ;; Argument values as defined in https://github.com/mssola/style.nes. Note
- ;; that these variables can also be used as temporary variables.
+ ;; Argument values reserved passing arguments to functions in memory.
zp_arg0 = $00
zp_arg1 = $01
zp_arg2 = $02
@@ -30,7 +29,8 @@
;; |-----+------------+-------------------------------------------------------------|
;; | 7 | render | Game logic is over, block main code until NMI code is over. |
;; | 6 | ppu | PPU registers have to be touched |
- ;; | 5-2 | - | Unused |
+ ;; | 5-3 | - | Unused |
+ ;; | 2 | title over | We are transitioning from title to game |
;; | 1-0 | game | 0: title; 1: game; 2: game over, 3: game over (coin) |
zp_flags = $20
.endscope