From 9ff2033e936689135210989a5fee057a4a13527e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 13 Mar 2025 22:52:49 +0100 Subject: Add a title and a main screens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds the skeleton for having a title and a main screen. For now the title menu doesn't do much, as the selection is simply ignored, but at least it already knows how to cycle between these two states. Signed-off-by: Miquel Sabaté Solà --- include/globals.s | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/globals.s') diff --git a/include/globals.s b/include/globals.s index d22b217..f4e4861 100644 --- a/include/globals.s +++ b/include/globals.s @@ -29,6 +29,8 @@ ;; | Bit | Short name | Meaning when set | ;; |-----+------------+-------------------------------------------------------------| ;; | 7 | render | Game logic is over, block main code until NMI code is over. | - ;; | 6-0 | - | Unused | + ;; | 6 | ppu | PPU registers have to be touched | + ;; | 5-2 | - | Unused | + ;; | 1-0 | game | 0: title; 1: game; 2: game over, 3: game over (coin) | zp_flags = $20 .endscope -- cgit v1.2.3