Skip to content

Commit

Permalink
Add support for Super Game Boy border
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantleee committed Feb 13, 2024
1 parent e4c627c commit 56deb35
Show file tree
Hide file tree
Showing 12 changed files with 3,946 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LCC = $(GBDK_HOME)bin/lcc
TARGETS=gb pocket

# Configure platform specific LCC flags here:
LCCFLAGS_gb = -Wl-yt0x1B # Set an MBC for banking (1B-ROM+MBC5+RAM+BATT)
LCCFLAGS_gb = -Wl-yt0x1B -Wm-ys # Set an MBC for banking (1B-ROM+MBC5+RAM+BATT)
LCCFLAGS_pocket = -Wl-yt0x1B # Usually the same as required for .gb
LCCFLAGS_duck = -Wl-yt0x1B # Usually the same as required for .gb
LCCFLAGS_gbc = -Wl-yt0x1B -Wm-yc # Same as .gb with: -Wm-yc (gb & gbc) or Wm-yC (gbc exclusive)
Expand Down
8 changes: 4 additions & 4 deletions Makefile.targets
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ clean-target:
gb-clean:
${MAKE} clean-target EXT=gb
gb:
${MAKE} build-target PORT=gbz80 PLAT=gb EXT=gb
${MAKE} build-target PORT=sm83 PLAT=gb EXT=gb


gbc-clean:
${MAKE} clean-target EXT=gbc
gbc:
${MAKE} build-target PORT=gbz80 PLAT=gb EXT=gbc
${MAKE} build-target PORT=sm83 PLAT=gb EXT=gbc


pocket-clean:
${MAKE} clean-target EXT=pocket
pocket:
${MAKE} build-target PORT=gbz80 PLAT=ap EXT=pocket
${MAKE} build-target PORT=sm83 PLAT=ap EXT=pocket


megaduck-clean:
${MAKE} clean-target EXT=duck
megaduck:
${MAKE} build-target PORT=gbz80 PLAT=duck EXT=duck
${MAKE} build-target PORT=sm83 PLAT=duck EXT=duck


sms-clean:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Download this repository and [GBDK 2020](https://github.com/gbdk-2020). Add this
```
make
```
Compilation last verified with GBDK 4.0.6.
Compilation last verified with GBDK 4.1.1.

## Credits
* Graphics and code developed by Bryant Lee
Expand Down
Loading

0 comments on commit 56deb35

Please sign in to comment.