Skip to content

Commit

Permalink
tetris-PRG.info: Define some variables from the sound engine
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Apr 20, 2020
1 parent fb00de1 commit 00eab0a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tetris-PRG.info
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ LABEL { ADDR $00E2; NAME "AUDIOTMP3"; };
LABEL { ADDR $00E3; NAME "AUDIOTMP4"; };
LABEL { ADDR $00E4; NAME "AUDIOTMP5"; };
LABEL { ADDR $00E6; NAME "musicChanTmpAddr"; SIZE 2; };
LABEL { ADDR $00EB; NAME "soundRngSeed"; SIZE 2; COMMENT "Set, but not read"; };
LABEL { ADDR $00ED; NAME "currentSoundEffectSlot"; COMMENT "Temporary"; };
LABEL { ADDR $00EE; NAME "musicChannelOffset"; COMMENT "Temporary. Added to $4000-3 for MMIO"; };
LABEL { ADDR $00EF; NAME "currentAudioSlot"; COMMENT "Temporary"; };
Expand Down Expand Up @@ -178,6 +179,7 @@ LABEL { ADDR $06B4; NAME "musicChanNoteDurationRemaining"; SIZE $04; };
LABEL { ADDR $06B8; NAME "musicChanNoteDuration"; SIZE $04; };
LABEL { ADDR $06BC; NAME "musicChanProgLoopCounter"; SIZE $04; COMMENT "As driven by bytecode instructions"; };
LABEL { ADDR $06C0; NAME "musicStagingSq1Sweep"; SIZE $02; COMMENT "Used as if size 4, but since Tri/Noise does nothing when written for sweep, the other two entries can have any value without changing behavior"; };
LABEL { ADDR $06C3; NAME "musicChanNote"; SIZE $04; };
LABEL { ADDR $06C8; NAME "musicChanInhibit"; SIZE $03; COMMENT "Always zero"; };
LABEL { ADDR $06CC; NAME "musicTrack_dec"; COMMENT "$00-$09"; };
LABEL { ADDR $06CD; NAME "musicChanVolFrameCounter"; SIZE $04; COMMENT "Pos 0/1 are unused"; };
Expand Down Expand Up @@ -208,6 +210,7 @@ LABEL { ADDR $06FA; NAME "soundEffectSlot2Playing"; };
LABEL { ADDR $06FB; NAME "soundEffectSlot3Playing"; };
LABEL { ADDR $06FC; NAME "soundEffectSlot4Playing"; };
LABEL { ADDR $06FD; NAME "currentlyPlayingMusicTrack"; COMMENT "Copied from musicTrack"; };
LABEL { ADDR $06FF; NAME "unreferenced_soundRngTmp"; };
LABEL { ADDR $0700; NAME "highScoreNames"; SIZE $30; };
LABEL { ADDR $0730; NAME "highScoreScoresA"; SIZE $C; };
LABEL { ADDR $073C; NAME "highScoreScoresB"; SIZE $C; };
Expand Down Expand Up @@ -929,7 +932,7 @@ LABEL { ADDR $AA8A; NAME "copyCurrentScrollAndCtrlToPPU"; };
LABEL { ADDR $AA98; NAME "bulkCopyToPpu"; };
LABEL { ADDR $AAF2; NAME "copyToPpu"; COMMENT "Address to read from stored in tmp1/2"; };
LABEL { ADDR $AB21; NAME "copyAddrAtReturnAddressToTmp_incrReturnAddrBy2"; };
LABEL { ADDR $AB47; NAME "generateNextPseudorandomNumber"; }; # canon
LABEL { ADDR $AB47; NAME "generateNextPseudorandomNumber"; COMMENT "reg x: zeropage addr of seed; reg y: size of seed"; }; # canon
LABEL { ADDR $AB57; NAME "@updateNextByteInSeed"; };
LABEL { ADDR $AB5E; NAME "copyOamStagingToOam"; COMMENT "canon is initializeOAM"; };
LABEL { ADDR $AB69; NAME "pollController_actualRead"; };
Expand Down Expand Up @@ -963,7 +966,8 @@ LABEL { ADDR $E072; NAME "computeSoundEffMethod"; COMMENT "input a: index-1 into
LABEL { ADDR $E07B; NAME "@whileYNot2TimesA"; };
LABEL { ADDR $E08E; NAME "@ret"; };
LABEL { ADDR $E092; NAME "@copyAddr"; };
LABEL { ADDR $E09E; NAME "unreferenced_code1"; };
LABEL { ADDR $E09E; NAME "unreferenced_soundRng"; };
LABEL { ADDR $E0B0; NAME "@insertRandomBit"; };
LABEL { ADDR $E0B5; NAME "advanceAudioSlotFrame"; COMMENT "Z=0 when returned means disabled"; };
LABEL { ADDR $E0C7; NAME "@ret"; };
LABEL { ADDR $E194; NAME "updateSoundEffectSlot2"; };
Expand Down

0 comments on commit 00eab0a

Please sign in to comment.