WIP: Starting the build system for the ps1 #28

Draft
alextrevisan wants to merge 439 commits from psx-build into main
Collaborator

Just the starting of the build system for the ps1.
Not much to see here, the only problem that I see for now is that i cannot add the dependency: sm64-gba = { path = "../../" }. It will trigger the compilation of the gba module, that is incompatible, so I need some help here.

Other toughs (as far as I know the code, if it is wrong, please, help me understand):

  • The render pipeline should be platform specific. Today it renders internaly as a framebuffer
  • Transformations needs to be platform specific, as for now on the PS1 it has the GTE (Geometry Transformation Engine) that accelerate all transformations, making it easier on the cpu. So an object that has a position and rotation needs to be calculated to render
Just the starting of the build system for the ps1. Not much to see here, the only problem that I see for now is that i cannot add the dependency: `sm64-gba = { path = "../../" }`. It will trigger the compilation of the gba module, that is incompatible, so I need some help here. Other toughs (as far as I know the code, if it is wrong, please, help me understand): - The render pipeline should be platform specific. Today it renders internaly as a framebuffer - Transformations needs to be platform specific, as for now on the PS1 it has the GTE (Geometry Transformation Engine) that accelerate all transformations, making it easier on the cpu. So an object that has a position and rotation needs to be calculated to render
Author
Collaborator

Can't compile yet because all the assets are linked to the main program on the ewram and iwram:

= note: rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 5296128 bytes
rust-lld: error: section '.ewram' will not fit in region 'RAM': overflowed by 5302960 bytes
rust-lld: error: section '.iwram' will not fit in region 'RAM': overflowed by 5304264 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 5304290 bytes

Can't compile yet because all the assets are linked to the main program on the ewram and iwram: = note: rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 5296128 bytes rust-lld: error: section '.ewram' will not fit in region 'RAM': overflowed by 5302960 bytes rust-lld: error: section '.iwram' will not fit in region 'RAM': overflowed by 5304264 bytes rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 5304290 bytes
This pull request has changes conflicting with the target branch.
  • Cargo.lock
  • Cargo.toml
  • README.md
  • arch/gba/src/main.rs
  • arch/pc/src/main.rs
  • build.rs
  • common/src/lib.rs
  • data/castle_basement/castle_basement.mtl
  • data/castle_basement/castle_basement.obj
  • data/castle_courtyard/castle_courtyard.mtl
  • data/castle_courtyard/castle_courtyard.obj
  • data/castle_exterior/castle_exterior.mtl
  • data/castle_exterior/castle_exterior.obj
  • data/castle_interior/castle_interior.mtl
  • data/castle_interior/castle_interior.obj
  • data/door/door.mtl
  • data/door/door.obj
  • data/mario/mario.blend
  • data/mario/mario0001.mtl
  • data/mario/mario0001.obj
  • data/mario/mario0002.mtl
  • data/mario/mario0002.obj
  • data/mario/mario0003.mtl
  • data/mario/mario0003.obj
  • data/mario/mario0004.mtl
  • data/mario/mario0004.obj
  • data/mario/mario0005.mtl
  • data/mario/mario0005.obj
  • data/mario/mario0006.mtl
  • data/mario/mario0006.obj
  • data/mario/mario0007.mtl
  • data/mario/mario0007.obj
  • data/mario/mario0008.mtl
  • data/mario/mario0008.obj
  • data/mario/mario0009.mtl
  • data/mario/mario0009.obj
  • data/mario/mario0010.mtl
  • data/mario/mario0010.obj
  • data/mario/mario0011.mtl
  • data/mario/mario0011.obj
  • data/mario/mario0012.mtl
  • data/mario/mario0012.obj
  • data/mario/mario0013.mtl
  • data/mario/mario0013.obj
  • data/mario/mario0014.mtl
  • data/mario/mario0014.obj
  • data/mario/mario0015.mtl
  • data/mario/mario0015.obj
  • data/mario/mario0016.mtl
  • data/mario/mario0016.obj
  • data/mario/mario0017.mtl
  • data/mario/mario0017.obj
  • data/mario/mario0018.mtl
  • data/mario/mario0018.obj
  • data/mario/mario0019.mtl
  • data/mario/mario0019.obj
  • data/mario/mario0020.mtl
  • data/mario/mario0020.obj
  • data/mario/mario0021.mtl
  • data/mario/mario0021.obj
  • data/mario/mario0022.mtl
  • data/mario/mario0022.obj
  • data/mario/mario0023.mtl
  • data/mario/mario0023.obj
  • data/mario/mario0024.mtl
  • data/mario/mario0024.obj
  • data/mario/mario0025.mtl
  • data/mario/mario0025.obj
  • data/mario/mario0026.mtl
  • data/mario/mario0026.obj
  • data/mario/mario0027.mtl
  • data/mario/mario0027.obj
  • data/mario/mario0028.mtl
  • data/mario/mario0028.obj
  • data/mario/mario0029.mtl
  • data/mario/mario0029.obj
  • data/mario/mario0030.mtl
  • data/mario/mario0030.obj
  • data/mario/mario0031.mtl
  • data/mario/mario0031.obj
  • data/mario/mario0032.mtl
  • data/mario/mario0032.obj
  • data/mario/mario0033.mtl
  • data/mario/mario0033.obj
  • data/mario/mario0034.mtl
  • data/mario/mario0034.obj
  • data/mario/mario0035.mtl
  • data/mario/mario0035.obj
  • data/mario/mario0036.mtl
  • data/mario/mario0036.obj
  • data/mario/mario0037.mtl
  • data/mario/mario0037.obj
  • data/mario/mario0038.mtl
  • data/mario/mario0038.obj
  • data/mario/mario0039.mtl
  • data/mario/mario0039.obj
  • data/mario/mario0040.mtl
  • data/mario/mario0040.obj
  • data/mario/mario0041.mtl
  • data/mario/mario0041.obj
  • data/mario/mario0042.mtl
  • data/mario/mario0042.obj
  • data/mario/mario0043.mtl
  • data/mario/mario0043.obj
  • data/mario/mario0044.mtl
  • data/mario/mario0044.obj
  • data/mario/mario0045.mtl
  • data/mario/mario0045.obj
  • data/mario/mario0046.mtl
  • data/mario/mario0046.obj
  • data/mario/mario0047.mtl
  • data/mario/mario0047.obj
  • data/mario/mario0048.mtl
  • data/mario/mario0048.obj
  • data/mario/mario0049.mtl
  • data/mario/mario0049.obj
  • data/mario/mario0050.mtl
  • data/mario/mario0050.obj
  • data/mario/mario0051.mtl
  • data/mario/mario0051.obj
  • data/mario/mario0052.mtl
  • data/mario/mario0052.obj
  • data/mario/mario0053.mtl
  • data/mario/mario0053.obj
  • data/mario/mario0054.mtl
  • data/mario/mario0054.obj
  • data/mario/mario0055.mtl
  • data/mario/mario0055.obj
  • data/mario/mario0056.mtl
  • data/mario/mario0056.obj
  • data/mario/mario0057.mtl
  • data/mario/mario0057.obj
  • data/mario/mario0058.mtl
  • data/mario/mario0058.obj
  • data/mario/mario0059.mtl
  • data/mario/mario0059.obj
  • data/mario/mario0060.mtl
  • data/mario/mario0060.obj
  • data/mario/mario0061.mtl
  • data/mario/mario0061.obj
  • data/mario/mario0062.mtl
  • data/mario/mario0062.obj
  • data/mario/mario0063.mtl
  • data/mario/mario0063.obj
  • data/peachs_slide/peachs_slide.mtl
  • data/peachs_slide/peachs_slide.obj
  • meta/stages.ron
  • src/audio.rs
  • src/billboard.rs
  • src/camera.rs
  • src/draw.rs
  • src/ecs.rs
  • src/enemy.rs
  • src/figure.rs
  • src/keys.rs
  • src/lib.rs
  • src/menu.rs
  • src/phys.rs
  • src/player.rs
  • src/scene.rs
  • src/stage.rs
  • src/texture.rs
  • src/util.rs
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin psx-build:psx-build
git switch psx-build
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zesterer/sm64-gba!28
No description provided.