hornc / psx-asm-cargo Goto Github PK
View Code? Open in Web Editor NEWPlayStation 1 (PSX) MIPS assembly programming ... with Cargo builds.
PlayStation 1 (PSX) MIPS assembly programming ... with Cargo builds.
Write up this conversion process in a readme, explain some of the more complicated conversions.
Compare the original Greentro release EXE with this generated EXE,
0x80010000
vs
0x80100000 with decrunch (not included in the official source release)
Confirming only psexe.ld
is required from Rust psx
:
cd hit-greensrc
clang --target=mipsel-sony-psx -c intro.asm
ld.lld -o intro.exe -T psexe.ld --oformat=binary intro.o
mednafen intro.exe
Convert the classic 1998 Greentro asm intro from spASM into the form that compiles with this toolchain.
I've made the conversion and know what's involved, but it's a bit messy. I'd like to show how to convert step-by-step.
Method:
subiu
pseudo ops to addiu
-bnez
odering where it has a detrimental effect (remove extra nop
s after jumps?).set noreorder
and keep the original delay slot instructions and nop
s.I think that's everything.
Bonus:
NTSC compile option? I'm having trouble using Mednafen with NTSC modes -- the vsync is busted on all examples I make and try, and I can't see any config setting to fix the issue. I thought it might have been something else which needs changing in the asm, but now I'm beginning to suspect the emulator.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.