Vendor hardware.inc

This commit is contained in:
Pierre Wacrenier
2025-01-14 21:27:55 -06:00
committed by Eldred Habert
parent a74131c1be
commit 1d49826117
4 changed files with 1121 additions and 5 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "src/include/hardware.inc"]
path = include/hardware.inc
url = https://github.com/gbdev/hardware.inc.git

1114
include/hardware.inc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
#!/bin/sh
HARDWARE_INC_URL='https://raw.githubusercontent.com/gbdev/hardware.inc/refs/heads/master/hardware.inc'
GIT_ROOT=$(git rev-parse --show-toplevel)
curl "${HARDWARE_INC_URL}" -o "${GIT_ROOT}/include/hardware.inc"

View File

@@ -1,5 +1,5 @@
INCLUDE "hardware.inc/hardware.inc" INCLUDE "hardware.inc"
rev_Check_hardware_inc 4.0 rev_Check_hardware_inc 4.0
SECTION "Header", ROM0[$100] SECTION "Header", ROM0[$100]