Skip to content

Commit

Permalink
Update bundled rgbds to 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDisk committed Jul 15, 2024
1 parent 0d2ef41 commit 7f52be6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
sudo apt -qq update
sudo apt install -yq libsdl2-dev bison
curl -Lo rgbds.tar.gz 'https://github.com/gbdev/rgbds/releases/download/v0.6.1/rgbds-0.6.1.tar.gz'
curl -Lo rgbds.tar.gz 'https://github.com/gbdev/rgbds/releases/download/v0.8.0/rgbds-0.8.0.tar.gz'
tar xvf rgbds.tar.gz rgbds/{include,src,Makefile}
cd rgbds
make -j4 rgbasm rgblink rgbfix Q=
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
run: |
choco install lazarus zip
curl -Lo 'sdl2.zip' 'https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5-win32-x64.zip'
curl -Lo 'rgbds.zip' 'https://github.com/gbdev/rgbds/releases/download/v0.6.1/rgbds-0.6.1-win64.zip'
curl -Lo 'rgbds.zip' 'https://github.com/gbdev/rgbds/releases/download/v0.8.0/rgbds-0.8.0-win64.zip'
unzip -d rgbds rgbds.zip rgb{asm,link,fix}.exe
- name: Set up MSYS2
Expand Down
10 changes: 5 additions & 5 deletions src/halt.asm
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ run_table4:

init:
ld a, $FF
_addr = _AUD3WAVERAM
DEF _addr = _AUD3WAVERAM
REPT 16
ldh [_addr], a
_addr = _addr + 1
DEF _addr = _addr + 1
ENDR

ld a, $80
Expand All @@ -194,9 +194,9 @@ _addr = _addr + 1
; Set volume
ld a, $77
ldh [rAUDVOL], a
; silence ch3
xor a
ldh [rAUD3LEVEL], a
; silence ch3
xor a
ldh [rAUD3LEVEL], a

;; Enable the HBlank interrupt on scanline 0
ldh a, [rSTAT]
Expand Down

0 comments on commit 7f52be6

Please sign in to comment.