Extracted STGTRAIN_data

This commit is contained in:
Filipe Rodrigues 2023-08-30 16:42:06 +01:00
parent d0ab97ead6
commit bc5c2438ab
8 changed files with 1125 additions and 1082 deletions

View File

@ -80,6 +80,7 @@
"srav",
"srlv",
"STFGTREP",
"STGTRAIN",
"Stingmon",
"submode",
"Taomon",

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,11 @@ start_addr: 0x0
objs:
- /build/asm/dw2003/pro/STGTRAIN.o
- /build/asm/dw2003/pro/STGTRAIN/f0.o
- /build/rust/dw2003_pro_STGTRAIN_data.o # TODO: Change to `.a` once it doesn't ignore the data
sections:
- section_STGTRAIN_0
- section_STGTRAIN_f0
- section_STGTRAIN_1
- dw2003_pro_STGTRAIN_data
link_with:
- build/elf/dw2003/exe.elf

7
rust/Cargo.lock generated
View File

@ -23,6 +23,13 @@ dependencies = [
"util",
]
[[package]]
name = "dw2003_pro_STGTRAIN_data"
version = "0.1.0"
dependencies = [
"util",
]
[[package]]
name = "util"
version = "0.1.0"

View File

@ -6,6 +6,7 @@ members = [
"dw2003_exe_data",
"dw2003_exe_digimon_profiles",
"dw2003_pro_STFGTREP_data",
"dw2003_pro_STGTRAIN_data",
"util",
]
@ -15,4 +16,5 @@ members = [
dw2003_exe_data = { path = "dw2003_exe_data" }
dw2003_exe_digimon_profiles = { path = "dw2003_exe_digimon_profiles" }
dw2003_pro_STFGTREP_data = { path = "dw2003_pro_STFGTREP_data" }
dw2003_pro_STGTRAIN_data = { path = "dw2003_pro_STGTRAIN_data" }
util = { path = "util" }

View File

@ -0,0 +1,11 @@
[package]
edition = "2021"
name = "dw2003_pro_STGTRAIN_data"
version = "0.1.0"
[lib]
crate-type = ["staticlib"]
[dependencies]
util = { workspace = true }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
//! `ddw3` `STGTRAIN.PRO` data
// Features
#![feature(decl_macro)]
#![no_std]
// Lints
#![allow(non_snake_case)]
// Modules
mod data;
// Export
pub use util::panic_handler;