fanzyflani / ld33

Frametime - a PS1 game for the LD33 Jam category
http://fanzyflani.itch.io/frametime
MIT License
8 stars 0 forks source link

Textured quads #1

Open gwald opened 8 years ago

gwald commented 8 years ago

Hi, Very impressive coding! Any tips on using Textured quads? I've compiled mld62 also, but that doesn't run at all for me, but I see you use textures there :)

iamgreaser commented 8 years ago

Off the top of my head:

As for mld62, I just built it with gcc 6.1.0 and the text is wrong - I have a fix for that, src/gpu.c, comment out the line that sends 0x000001C0 for the CLUT. If the only thing you're hearing is music, are you sure your toolchain is set up to handle soft floats?

gwald commented 8 years ago

Thanks for the tips. I compiled the flite game and it works fine on PCSXR, I'm using the same toolchain. Only strange thing was sprintf was undefined, so I commented them out

define sprintf //

On No$PSX, I do just get music from mld62 but now I can see the texture on VRAM viewer and it flashes something on the screen and then disappears.

I get nothing on PCSXR tho. Thanks for any help.

edit: toolchain from: https://code.google.com/archive/p/psxsdk/downloads PSXSDK 20120303 installer for Windows May 25, 2012 52.94MB I use a winXP VirtualBox for PSX dev.