Skip to content

Commit

Permalink
Fix turbo button bug on real hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertymodo committed Aug 16, 2022
1 parent 3ca6e92 commit d7b6e92
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2,030 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ SRCFILES:= ladx-msu1.asm \
sgb/patches.asm \
sgb/sgb_user_palette.asm \
sgb/sgb_user_commands.asm \
sgb/sgb_user_frame.asm \
sgb/sgb_code_loading_screen.asm

BINFILES:= sgb/loadingtiles.bin \
Expand All @@ -30,10 +29,12 @@ REVISIONS:= j10 j11 j12 u10 u11 u12 f10 f11 g10 g11
all: ${REVISIONS}

dist: ${REVISIONS}
tar -zcvf "${INPUT}-msu1_$$(date '+%Y%m%d').tar.gz" ${INPUT}_*-msu1.bps
# @tar -zcvf "${INPUT}-msu1_$$(date '+%Y%m%d').tar.gz" ${INPUT}_*-msu1.bps CHANGELOG.txt
@zip "${INPUT}-msu1_$$(date '+%Y%m%d').zip" ${INPUT}_*-msu1.bps CHANGELOG.txt

dist-src: ${SRCFILES} ${BINFILES} ${SCRIPTS}
tar -zcvf "${INPUT}-msu1_$$(date '+%Y%m%d')-src.tar.gz" Makefile $^
# @tar -zcvf "${INPUT}-msu1_$$(date '+%Y%m%d')-src.tar.gz" Makefile $^
@zip "${INPUT}-msu1_$$(date '+%Y%m%d')-src.zip" Makefile $^

j10:
make -B patch REV=JP_1_0 INPUT=ladx_j1.0
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This ROM hack adds MSU-1 audio support to Link's Awakening DX. MSU-1 support for Game Boy games requires the use of the Super Game Boy, so a fully compatible Super Game Boy emulator or flash cart must be used.

## Patching The Game

This patch is meant to be applied to the .gbc ROM file for Link's Awakening DX. Patch files are provided for all known official revisions of the game. Use Floating IPS (FlIPS) or beat to apply the appropriate .bps patch to the corresponding version of the game. BPS patch files include checksums to ensure that the patch is applied to the correct base ROM. Note that sometimes revisions of this game are labeled as "Rev A" or "Rev B". In this case, "A" is version 1.1, and "B" is version 1.2. Files with no revision listed are 1.0.

## Running The Game

### PC Emulators
Expand Down
2 changes: 2 additions & 0 deletions ladx-msu1.asm
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ define USE_CUSTOM_SGB_CODE
include "sgb/sgb.asm"

function TransferMSU1Code {
insert "{input}", Offset_Hook_SGBTransfer, $03

// Display MSU-1 splash screen
ld hl,SGB.MSU1SplashScreenPalette
call SendUploadCommand
Expand Down
Loading

0 comments on commit d7b6e92

Please sign in to comment.