Commit 7f52be6

Nick Faro committed on
Update bundled rgbds to 0.8.0
commit 7f52be60e5783b493153e9a7dcec3969df751655 parent 0d2ef41
2 changed files +7−7
Modified.github/workflows/build.yml +2−2
@@ -34,7 +34,7 @@ jobs:
34 run: | 34 run: |
35 sudo apt -qq update 35 sudo apt -qq update
36 sudo apt install -yq libsdl2-dev bison 36 sudo apt install -yq libsdl2-dev bison
37 curl -Lo rgbds.tar.gz 'https://github.com/gbdev/rgbds/releases/download/v0.6.1/rgbds-0.6.1.tar.gz' 37 curl -Lo rgbds.tar.gz 'https://github.com/gbdev/rgbds/releases/download/v0.8.0/rgbds-0.8.0.tar.gz'
38 tar xvf rgbds.tar.gz rgbds/{include,src,Makefile} 38 tar xvf rgbds.tar.gz rgbds/{include,src,Makefile}
39 cd rgbds 39 cd rgbds
40 make -j4 rgbasm rgblink rgbfix Q= 40 make -j4 rgbasm rgblink rgbfix Q=
@@ -75,7 +75,7 @@ jobs:
75 run: | 75 run: |
76 choco install lazarus zip 76 choco install lazarus zip
77 curl -Lo 'sdl2.zip' 'https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5-win32-x64.zip' 77 curl -Lo 'sdl2.zip' 'https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5-win32-x64.zip'
78 curl -Lo 'rgbds.zip' 'https://github.com/gbdev/rgbds/releases/download/v0.6.1/rgbds-0.6.1-win64.zip' 78 curl -Lo 'rgbds.zip' 'https://github.com/gbdev/rgbds/releases/download/v0.8.0/rgbds-0.8.0-win64.zip'
79 unzip -d rgbds rgbds.zip rgb{asm,link,fix}.exe 79 unzip -d rgbds rgbds.zip rgb{asm,link,fix}.exe
80 80
81 - name: Set up MSYS2 81 - name: Set up MSYS2
Modifiedsrc/halt.asm +5−5
@@ -180,10 +180,10 @@ run_table4:
180 180
181 init: 181 init:
182 ld a, $FF 182 ld a, $FF
183 _addr = _AUD3WAVERAM 183 DEF _addr = _AUD3WAVERAM
184 REPT 16 184 REPT 16
185 ldh [_addr], a 185 ldh [_addr], a
186 _addr = _addr + 1 186 DEF _addr = _addr + 1
187 ENDR 187 ENDR
188 188
189 ld a, $80 189 ld a, $80
@@ -194,9 +194,9 @@ _addr = _addr + 1
194 ; Set volume 194 ; Set volume
195 ld a, $77 195 ld a, $77
196 ldh [rAUDVOL], a 196 ldh [rAUDVOL], a
197 ; silence ch3 197 ; silence ch3
198 xor a 198 xor a
199 ldh [rAUD3LEVEL], a 199 ldh [rAUD3LEVEL], a
200 200
201 ;; Enable the HBlank interrupt on scanline 0 201 ;; Enable the HBlank interrupt on scanline 0
202 ldh a, [rSTAT] 202 ldh a, [rSTAT]