-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sms): initial (somewhat working) smsplus (SMS/GG) emulator
- Loading branch information
Showing
27 changed files
with
13,634 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
idf_component_register( | ||
INCLUDE_DIRS "include" | ||
SRC_DIRS "src" "smsplus" | ||
PRIV_INCLUDE_DIRS "." | ||
REQUIRES box-emu-hal | ||
) | ||
# target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-char-subscripts -Wno-attributes -Wno-implicit-fallthrough -Wno-unused-function -Wno-unused-variable -Wno-discarded-qualifiers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <string_view> | ||
#include <vector> | ||
|
||
void reset_sms(); | ||
void init_sms(uint8_t *romdata, size_t rom_data_size); | ||
void init_gg(uint8_t *romdata, size_t rom_data_size); | ||
void load_sms(std::string_view save_path); | ||
void save_sms(std::string_view save_path); | ||
void start_sms_tasks(); | ||
void stop_sms_tasks(); | ||
void run_sms_rom(); | ||
void deinit_sms(); | ||
void set_sms_video_original(); | ||
void set_sms_video_fit(); | ||
void set_sms_video_fill(); | ||
std::vector<uint8_t> get_sms_video_buffer(); |
Oops, something went wrong.