Skip to content

Commit b2a19e9

Browse files
committed
Initial commit of locally developed project to prepare release.
1 parent 9c1c5ed commit b2a19e9

File tree

72 files changed

+86018
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+86018
-0
lines changed

case/LICENSE

Lines changed: 395 additions & 0 deletions
Large diffs are not rendered by default.

case/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# GB Interceptor Case
2+
3+
These are the design files for the 3d printed case for the GB Interceptor. See the build guide in the main Readme for details.
4+
5+
# License
6+
7+
The design files are licensed under the Creative Commons Attribution License (CC-BY 4.0).

case/case.blend

1.51 MB
Binary file not shown.

case/case_bottom.stl

347 KB
Binary file not shown.

case/case_button.stl

12.4 KB
Binary file not shown.

case/case_top.stl

100 KB
Binary file not shown.

firmware/CMakeLists.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
cmake_minimum_required(VERSION 3.13)
2+
3+
include(pico_sdk_import.cmake)
4+
5+
project(gb_interceptor C CXX ASM)
6+
set(CMAKE_C_STANDARD 11)
7+
set(CMAKE_CXX_STANDARD 17)
8+
9+
pico_sdk_init()
10+
11+
add_executable(gb_interceptor)
12+
13+
target_sources(gb_interceptor PUBLIC
14+
${CMAKE_CURRENT_LIST_DIR}/main.c
15+
${CMAKE_CURRENT_LIST_DIR}/cpubus.c
16+
${CMAKE_CURRENT_LIST_DIR}/opcodes.c
17+
${CMAKE_CURRENT_LIST_DIR}/ppu.c
18+
${CMAKE_CURRENT_LIST_DIR}/debug.c
19+
${CMAKE_CURRENT_LIST_DIR}/usb_descriptors.c
20+
)
21+
22+
target_link_libraries(gb_interceptor PUBLIC pico_stdlib hardware_pio pico_multicore hardware_interp hardware_dma tinyusb_device tinyusb_board)
23+
24+
target_include_directories(gb_interceptor PUBLIC ${CMAKE_CURRENT_LIST_DIR})
25+
26+
pico_add_extra_outputs(gb_interceptor)
27+
28+
pico_enable_stdio_usb(gb_interceptor 1)
29+
pico_enable_stdio_uart(gb_interceptor 0)
30+
31+
pico_set_binary_type(gb_interceptor copy_to_ram)
32+
33+
pico_generate_pio_header(gb_interceptor
34+
${CMAKE_CURRENT_LIST_DIR}/memory-bus.pio
35+
)
File renamed without changes.

firmware/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GB Interceptor Firmware
2+
3+
This folder contains the source code for the firmware of the GB Interceptor. It requires the Raspberry Pi Pico SDK as well as TinyUSB (which is usually a submodule of the Pico SDK repository). If you want to build the firmware yourself, remember to set `PICO_SDK_PATH` correctly.
4+
5+
The subfolder screens contains the info screens shown when no game is running. The `sh` script in the same folder can be used to convert new images to header files.
6+
7+
# License
8+
9+
This code is licensed under GNU General Public License v3.

0 commit comments

Comments
 (0)