aboutsummaryrefslogtreecommitdiff
path: root/jumpmanjr.html
diff options
context:
space:
mode:
Diffstat (limited to 'jumpmanjr.html')
-rw-r--r--jumpmanjr.html29
1 files changed, 18 insertions, 11 deletions
diff --git a/jumpmanjr.html b/jumpmanjr.html
index 3bf588a..26b5be4 100644
--- a/jumpmanjr.html
+++ b/jumpmanjr.html
@@ -7,7 +7,7 @@
<body bgcolor="#000000" text="#ffffff">
<pre>
<font color="#8080ff">; da65 V2.15 - Git 104f898</font>
-<font color="#8080ff">; Created: 2016-09-05 16:41:33</font>
+<font color="#8080ff">; Created: 2016-09-05 19:02:35</font>
<font color="#8080ff">; Input file: jumpmanjr.rom</font>
<font color="#8080ff">; Page: 1</font>
@@ -1233,7 +1233,6 @@
.<font color="#00ffff">addr</font> <font color="#00ffff">check_falling_2</font> <font color="#8080ff">; 85F2 00 89 ..</font>
.<font color="#00ffff">addr</font> <font color="#00ffff">sfx_player_entry</font> <font color="#8080ff">; 85F4 57 81 W.</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#8080ff">; probably just filler</font>
<font color="#00ffff">zero_filler_85f6</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 85F6 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 85FE 00 00 ..</font>
@@ -2209,17 +2208,24 @@
<font color="#00ffff">crumble_gameboard</font>:
<font color="#00ff00">jsr</font> <font color="#00ffff">enable_joystick_jv</font> <font color="#8080ff">; 8D00 20 1B 80 ..</font>
<font color="#00ff00">lda</font> <font color="#ff6060">#$86</font> <font color="#8080ff">; 8D03 A9 86 ..</font>
+<font color="#8080ff">; $86 = distortion 8, volume 6</font>
+<font color="#00ffff">cgb_audc</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDC1</font> <font color="#8080ff">; 8D05 8D 01 D2 ...</font>
-<font color="#00ffff">L8D08</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D08 AD 0A D2 ...</font>
+<font color="#8080ff">; store random N-blank-lines instruction at head of display list</font>
+<font color="#00ffff">shake_screen</font>:
+ <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D08 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$70</font> <font color="#8080ff">; 8D0B 29 70 )p</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $0801 </font> <font color="#8080ff">; 8D0D 8D 01 08 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">game_display_list</font> <font color="#8080ff">; 8D10 8D 81 08 ...</font>
<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D13 AD 0A D2 ...</font>
+<font color="#8080ff">; random frequency</font>
+<font color="#00ffff">crumble_sound</font>:
<font color="#00ff00">sta</font> <font color="#ff40ff">AUDF1</font> <font color="#8080ff">; 8D16 8D 00 D2 ...</font>
-<font color="#00ffff">L8D19</font>: <font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D19 AD 0A D2 ...</font>
+<font color="#8080ff">; get random number 0 to 12</font>
+<font color="#00ffff">rand_0c</font>:<font color="#00ff00">lda</font> <font color="#ff40ff">RANDOM</font> <font color="#8080ff">; 8D19 AD 0A D2 ...</font>
<font color="#00ff00">and</font> <font color="#ff6060">#$1F</font> <font color="#8080ff">; 8D1C 29 1F ).</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$0D</font> <font color="#8080ff">; 8D1E C9 0D ..</font>
- <font color="#00ff00">bcs</font> <font color="#00ffff">L8D19</font> <font color="#8080ff">; 8D20 B0 F7 ..</font>
+ <font color="#00ff00">bcs</font> <font color="#00ffff">rand_0c</font> <font color="#8080ff">; 8D20 B0 F7 ..</font>
<font color="#00ff00">sta</font> <font color="#ff40ff"> $AA </font> <font color="#8080ff">; 8D22 85 AA ..</font>
<font color="#00ff00">asl</font> <font color="#00ffff">a</font> <font color="#8080ff">; 8D24 0A .</font>
<font color="#00ff00">clc</font> <font color="#8080ff">; 8D25 18 .</font>
@@ -2243,7 +2249,7 @@
<font color="#00ff00">cpy</font> <font color="#ff6060">#$28</font> <font color="#8080ff">; 8D4A C0 28 .(</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L8D43</font> <font color="#8080ff">; 8D4C D0 F5 ..</font>
<font color="#00ff00">cmp</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8D4E C9 00 ..</font>
- <font color="#00ff00">bne</font> <font color="#00ffff">L8D08</font> <font color="#8080ff">; 8D50 D0 B6 ..</font>
+ <font color="#00ff00">bne</font> <font color="#00ffff">shake_screen</font> <font color="#8080ff">; 8D50 D0 B6 ..</font>
<font color="#8080ff">; well_done_screen jumps here via work_level_sub1</font>
<font color="#00ffff">well_done_scores</font>:
<font color="#00ff00">lda</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 8D52 A9 00 ..</font>
@@ -3346,13 +3352,13 @@
<font color="#00ff00">cmp</font> <font color="#ff6060">#$F2</font> <font color="#8080ff">; 9671 C9 F2 ..</font>
<font color="#00ff00">bne</font> <font color="#00ffff">L966E</font> <font color="#8080ff">; 9673 D0 F9 ..</font>
<font color="#00ffff">L9675</font>: <font color="#00ff00">ldx</font> <font color="#ff6060">#$00</font> <font color="#8080ff">; 9675 A2 00 ..</font>
-<font color="#8080ff">; copy level descriptor to $0780</font>
-<font color="#00ffff">copy_level_desc_2</font>:
+<font color="#8080ff">; copy cur_level_desc to work_level_desc. done in between players, in a multiplayer game (so each player starts out with a fresh level)</font>
+<font color="#00ffff">copy_work_level_desc</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">cur_level_desc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 9677 BD C0 07 ...</font>
<font color="#00ff00">sta</font> <font color="#00ffff">work_level_desc</font>,<font color="#00ffff">x</font> <font color="#8080ff">; 967A 9D 80 07 ...</font>
<font color="#00ff00">inx</font> <font color="#8080ff">; 967D E8 .</font>
<font color="#00ff00">cpx</font> <font color="#ff6060">#$40</font> <font color="#8080ff">; 967E E0 40 .@</font>
- <font color="#00ff00">bne</font> <font color="#00ffff">copy_level_desc_2</font> <font color="#8080ff">; 9680 D0 F5 ..</font>
+ <font color="#00ff00">bne</font> <font color="#00ffff">copy_work_level_desc</font> <font color="#8080ff">; 9680 D0 F5 ..</font>
<font color="#8080ff">; call start subroutine for current level</font>
<font color="#00ffff">init_level</font>:
<font color="#00ff00">lda</font> <font color="#00ffff">work_level_init</font> <font color="#8080ff">; 9682 AD A2 07 ...</font>
@@ -3391,7 +3397,7 @@
<font color="#00ff00">jmp</font> <font color="#00ffff">ask_num_players</font> <font color="#8080ff">; 96CB 4C 00 94 L..</font>
<font color="#8080ff">; ----------------------------------------------------------------------------</font>
-<font color="#8080ff">; copy level descriptor from levelXX_desc at $A000+(level*$40) to $07c0-$07ff</font>
+<font color="#8080ff">; copy level descriptor from levelXX_desc at $A000+(level*$40) to cur_level_desc at $07c0-$07ff</font>
<font color="#00ffff">copy_level_desc</font>:
<font color="#00ff00">lsr</font> <font color="#00ffff">a</font> <font color="#8080ff">; 96CE 4A J</font>
<font color="#00ff00">ror</font> <font color="#ff40ff"> $D7 </font> <font color="#8080ff">; 96CF 66 D7 f.</font>
@@ -3442,8 +3448,10 @@
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$30</font>,<font color="#ff6060">$2C</font>,<font color="#ff6060">$21</font>,<font color="#ff6060">$39</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; 9714 00 30 2C 21 39 25 32 00 .0,!9%2.</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$27</font>,<font color="#ff6060">$25</font>,<font color="#ff6060">$34</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$32</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; 971C 00 00 27 25 34 00 32 25 ..'%4.2%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$21</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$39</font> <font color="#8080ff">; 9724 21 24 39 !$9</font>
+<font color="#8080ff">; 1-indexed</font>
<font color="#00ffff">color0_table_minus_one</font>:
.<font color="#ffff00">byte</font> <font color="#ff40ff"> $00 </font> <font color="#8080ff">; 9727 00 .</font>
+<font color="#8080ff">; background colors for GET READY screen (different for each player)</font>
<font color="#00ffff">color0_table</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$96</font>,<font color="#ff6060">$24</font>,<font color="#ff6060">$C6</font>,<font color="#ff6060">$54</font> <font color="#8080ff">; 9728 96 24 C6 54 .$.T</font>
<font color="#8080ff">; 112 blank scanlines, then one GR.2 line, loaded from $0742</font>
@@ -5670,7 +5678,6 @@
<font color="#00ffff">l01_map_change_3</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$FE</font>,<font color="#ff6060">$49</font>,<font color="#ff6060">$9C</font>,<font color="#ff6060">$FD</font>,<font color="#ff6060">$04</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$60</font>,<font color="#ff6060">$25</font> <font color="#8080ff">; A3CC FE 49 9C FD 04 00 60 25 .I....`%</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$05</font>,<font color="#ff6060">$FF</font> <font color="#8080ff">; A3D4 05 FF ..</font>
-<font color="#8080ff">; probably just filler</font>
<font color="#00ffff">zero_filler_a3d6</font>:
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A3D6 00 00 00 00 00 00 00 00 ........</font>
.<font color="#ffff00">byte</font> <font color="#ff6060">$00</font>,<font color="#ff6060">$00</font> <font color="#8080ff">; A3DE 00 00 ..</font>