diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-02-17 22:17:56 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-02-17 22:17:56 +0300 |
commit | 75920b63bab409e3d83597486436c65b66660054 (patch) | |
tree | 16751850b1c46f5959e91700e278751b3bebf963 | |
parent | 023705bbecb21ff77a260adac00ae2319eab9a13 (diff) |
Minor refactoring
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | buttons.asm | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -316,9 +316,6 @@ $(TEXT_0_BIN) $(TEXT_1_BIN) $(TEXT_2_BIN) $(TEXT_3_BIN) $(SYMBOLS_PATTERN_BIN) $ -C symbols_pattern_bin=$(SYMBOLS_PATTERN_BIN) -C symbols_palette_bin=$(SYMBOLS_PALETTE_BIN) \ -C music_bin=$(MUSIC_BIN) -C music_asm=$(MUSIC_ASM) -$(MUSIC_BIN): - dd if=$(MUSIC) of=music.bin bs=1 skip=128 - build: $(EXECUTABLE) clean: @@ -405,6 +402,9 @@ $(SYMBOLS_PATTERN_BIN) $(SYMBOLS_PALETTE_BIN): $(SYMBOLS_IMAGE) $(MUSIC_ASM): $(MUSIC) printf "NSF_LOAD_ADDR .equ `hexdump $(MUSIC) --skip 8 --length 2 --format '"$$%X"'`\nNSF_INIT_ADDR .equ `hexdump $(MUSIC) --skip 10 --length 2 --format '"$$%X"'`\nNSF_PLAY_ADDR .equ `hexdump $(MUSIC) --skip 12 --length 2 --format '"$$%X"'`" > music.asm +$(MUSIC_BIN): + dd if=$(MUSIC) of=music.bin bs=1 skip=128 + write: $(EXECUTABLE) tools\FamicomDumper.exe script --csfile WriteWarface.cs --sound diff --git a/buttons.asm b/buttons.asm index a8bda2c..c132fa7 100644 --- a/buttons.asm +++ b/buttons.asm @@ -43,7 +43,7 @@ konami_code_check: jmp .end
.check_fail:
ldy #0
- lda konami_code ; in case when newpressed button is first button of code
+ lda konami_code ; на случай, если нажатая кнопка - начало новой последовательности
cmp <BUTTONS
bne .end
iny
|