castleraider
changeset 334:eaf2149855f7
Moved more routines into the ROUTINES file to free up space in the main game.
| author | David Boddie <david@boddie.org.uk> |
|---|---|
| date | Fri Oct 10 00:22:36 2014 +0200 |
| parents | abe1e2a3e703 |
| children | a58a3d4023de |
| files | TODO.txt build.py plotting.oph routines/clear_bank1.oph routines/clear_bank2.oph |
| diffstat | 5 files changed, 48 insertions(+), 19 deletions(-) [+] |
line diff
1.1 --- a/TODO.txt Fri Oct 10 00:11:08 2014 +0200 1.2 +++ b/TODO.txt Fri Oct 10 00:22:36 2014 +0200 1.3 @@ -1,6 +1,5 @@ 1.4 To Do 1.5 1.6 -Fix clearing of the right hand side of the treasure chest on restart. 1.7 -Game over screen. 1.8 -Finishing screens. 1.9 +Add joystick support on the game over screen and perhaps also a jingle. 1.10 +Finishing screens 1.11 Music?
2.1 --- a/build.py Fri Oct 10 00:11:08 2014 +0200 2.2 +++ b/build.py Fri Oct 10 00:22:36 2014 +0200 2.3 @@ -103,6 +103,8 @@ 2.4 "check_key", 2.5 "wait_for_key", 2.6 "clear_bank", 2.7 + "clear_bank1", 2.8 + "clear_bank2", 2.9 "read_joystick_axis", 2.10 "read_joystick_fire" 2.11 ]
3.1 --- a/plotting.oph Fri Oct 10 00:11:08 2014 +0200 3.2 +++ b/plotting.oph Fri Oct 10 00:22:36 2014 +0200 3.3 @@ -20,22 +20,6 @@ 3.4 jsr clear_bank2 3.5 jmp show_bank1 3.6 3.7 -clear_bank1: 3.8 - 3.9 - lda #$35 3.10 - sta $71 3.11 - lda #$58 3.12 - sta $72 3.13 - jmp clear_bank 3.14 - 3.15 -clear_bank2: 3.16 - 3.17 - lda #$5d 3.18 - sta $71 3.19 - lda #$80 3.20 - sta $72 3.21 - jmp clear_bank 3.22 - 3.23 read_screen_address_bank1: ; X=row, A=column offset 3.24 ; sets $72,$73 3.25
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/routines/clear_bank1.oph Fri Oct 10 00:22:36 2014 +0200 4.3 @@ -0,0 +1,22 @@ 4.4 +; Copyright (C) 2013 David Boddie <david@boddie.org.uk> 4.5 +; 4.6 +; This program is free software: you can redistribute it and/or modify 4.7 +; it under the terms of the GNU General Public License as published by 4.8 +; the Free Software Foundation, either version 3 of the License, or 4.9 +; (at your option) any later version. 4.10 +; 4.11 +; This program is distributed in the hope that it will be useful, 4.12 +; but WITHOUT ANY WARRANTY; without even the implied warranty of 4.13 +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 4.14 +; GNU General Public License for more details. 4.15 +; 4.16 +; You should have received a copy of the GNU General Public License 4.17 +; along with this program. If not, see <http://www.gnu.org/licenses/>. 4.18 + 4.19 +; clear_bank1: 4.20 + 4.21 + lda #$35 4.22 + sta $71 4.23 + lda #$58 4.24 + sta $72 4.25 + jmp clear_bank
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/routines/clear_bank2.oph Fri Oct 10 00:22:36 2014 +0200 5.3 @@ -0,0 +1,22 @@ 5.4 +; Copyright (C) 2013 David Boddie <david@boddie.org.uk> 5.5 +; 5.6 +; This program is free software: you can redistribute it and/or modify 5.7 +; it under the terms of the GNU General Public License as published by 5.8 +; the Free Software Foundation, either version 3 of the License, or 5.9 +; (at your option) any later version. 5.10 +; 5.11 +; This program is distributed in the hope that it will be useful, 5.12 +; but WITHOUT ANY WARRANTY; without even the implied warranty of 5.13 +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5.14 +; GNU General Public License for more details. 5.15 +; 5.16 +; You should have received a copy of the GNU General Public License 5.17 +; along with this program. If not, see <http://www.gnu.org/licenses/>. 5.18 + 5.19 +; clear_bank2: 5.20 + 5.21 + lda #$5d 5.22 + sta $71 5.23 + lda #$80 5.24 + sta $72 5.25 + jmp clear_bank
