Search found 385 matches

by LameGuy64
December 10th, 2018, 12:57 am
Forum: General Chat & Messaging
Topic: Making a PlayStation Link cable
Replies: 8
Views: 11707

Re: Making a PlayStation Link cable

Well, the best advice I can give you by this point is to double check your wiring and make sure they are all correct.
by LameGuy64
December 9th, 2018, 1:05 pm
Forum: General Chat & Messaging
Topic: Making a PlayStation Link cable
Replies: 8
Views: 11707

Re: Making a PlayStation Link cable

You're missing a few handshake lines. I think you need all handshake lines for it to work properly as some games likely need it.

Here's a reference to wiring a null modem cable with full handshaking: https://www.lammertbies.nl/comm/info/RS ... .html#full
by LameGuy64
December 9th, 2018, 11:21 am
Forum: General Chat & Messaging
Topic: Making a PlayStation Link cable
Replies: 8
Views: 11707

Re: Making a PlayStation Link cable

No, don't connect the 3.3v line as that would likely fry something on the console.

Have you followed the standard null modem cable wiring when making the serial cable? (ie. tx -> rx, rx ->tx)
by LameGuy64
December 9th, 2018, 11:13 am
Forum: Members Downloads
Topic: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)
Replies: 29
Views: 61493

Re: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)

I never had any issues working with code compiled using GCC 7.2.0 on the PS1 so I don't exactly know what you're talking about. The compiler's register usage adheres to the R3000 specification and I've had no issue interacting with hardware registers (though it might be because I do such operations ...
by LameGuy64
December 9th, 2018, 12:30 am
Forum: Members Downloads
Topic: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)
Replies: 29
Views: 61493

Re: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)

These are intended to be used with open source libraries. I haven't bothered compiling any of the existing ones with these builds of the GNU toolchain since I write my own libraries instead (yeah, I'm that hardcore) as the existing ones don't really fit my standards very well but I occasionally use ...
by LameGuy64
December 8th, 2018, 11:11 pm
Forum: Members Downloads
Topic: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)
Replies: 29
Views: 61493

Re: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)

Just added downloads of the toolchain compiled for various hosts including linux-arm (Raspberry Pi). I also added a download of the libgcc library since it is apparently mandatory for things like int64 emulation and for whatever reason it will never compile under Windows.
by LameGuy64
December 7th, 2018, 1:28 pm
Forum: General Chat & Messaging
Topic: Making a PlayStation Link cable
Replies: 8
Views: 11707

Re: Making a PlayStation Link cable

You can find the pinout right here: http://hitmen.c02.at/html/psx_siocable.html I built my own link cable by using the same wiring as a standard null modem cable but adjusted to go in line with the PlayStation's serial pinout. Handshake lines must be wired accordingly in case of games that use hands...
by LameGuy64
December 3rd, 2018, 3:58 pm
Forum: Graphics/GPU
Topic: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?
Replies: 10
Views: 15661

Re: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?

Ah, you need to Z sort your primitives using the OTz result. DivideF4( &vp[0], &vp[1], &vp[3], &vp[2], color[i], obj, (u_long *)myOT[ActiveBuffer].org+OTc, &div); and... AddPrim((u_long *)myOT[ActiveBuffer].org+OTc, obj); That should fix your Z sorting issues. Also, you may want ...
by LameGuy64
December 1st, 2018, 7:07 pm
Forum: Graphics/GPU
Topic: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?
Replies: 10
Views: 15661

Re: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?

Ah, looks like things aren't z-sorting right. Nothing to do with matrices at least.

How do you sort TMDs into the ordering table? Also, I see my old lightbulb model :).
by LameGuy64
November 22nd, 2018, 1:06 pm
Forum: Graphics/GPU
Topic: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?
Replies: 10
Views: 15661

Re: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?

That should do it for the first person camera. I'm not sure how libgs would treat it though as I haven't used that library in a long time as I usually use plain libgte+libgpu for graphics.
by LameGuy64
November 21st, 2018, 9:58 pm
Forum: Members Downloads
Topic: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)
Replies: 29
Views: 61493

Re: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)

I recently figured out the right parameters to compile the toolchain with absolutely no errors. I replaced the download with a new version of the archive containing an error free build of the toolchain along with being configured with --with-gnu-as and --with-gnu-ld options which fixes include paths...
by LameGuy64
November 21st, 2018, 9:36 pm
Forum: Graphics/GPU
Topic: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?
Replies: 10
Views: 15661

Re: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?

That's just my preferred naming convention. You can name it whatever you want really.
by LameGuy64
November 21st, 2018, 12:26 pm
Forum: Graphics/GPU
Topic: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?
Replies: 10
Views: 15661

Re: Is it possible to use SetRotMatrix/SetTransMatrix for geometry and camera at the same time?

I usually just have a pair of vectors for both the camera position and angle and then applying it to a matrix using the first person view matrix logic from my examples featuring a first person style camera. Putting the relevant code here for easy reference: VECTOR cam_pos; // Camera position SVECTOR...
by LameGuy64
November 17th, 2018, 1:18 pm
Forum: Members Downloads
Topic: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)
Replies: 29
Views: 61493

Re: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)

I did try to build GCC to output ECOFF (using mipsel-unknown-ecoff) a few days ago but sadly, the toolchain no longer supports it anymore. To those who want to try to build a toolchain yourself, make sure you have MinGW and msys installed and referenced in your PATH environment variable. Create a bu...
by LameGuy64
November 15th, 2018, 11:01 am
Forum: Examples (Psy-Q)
Topic: 3D FPS Example
Replies: 43
Views: 141303

Re: 3D FPS Example

You may want to take a look at this example I made a long time ago that demonstrates how to do 3D transformations with the GTE directly using macros. It is much faster than RotTransPersp3() and gives you more control on how the GTE is being utilized. You'll need to use dmpsx to convert the weird wor...
by LameGuy64
November 13th, 2018, 4:13 pm
Forum: Members Downloads
Topic: MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)
Replies: 29
Views: 61493

MinGW32 compiled GCC 7.2.0 Toolchain (mipsel-unknown-elf)

Here's a download of the GNU GCC 7.2.0 Toolchain and Binutils 2.29.1 compiled using MinGW32 for 32-bit Windows hosts. I decided to put this up when I managed to compile the toolchain under Windows some time ago which took me quite awhile to figure out even with msys and cygwin64 environments for con...
by LameGuy64
November 7th, 2018, 2:20 pm
Forum: Examples (Psy-Q)
Topic: 3D FPS Example
Replies: 43
Views: 141303

Re: 3D FPS Example

Yeah, TMD is not exactly suitable for rendering large 3D environments so a serious developer would often make their own rendering system. More sophisticated renderers have stuff like mipmaps and geometry LOD as seen in the Spyro games. The TMD rendering functions are also pretty bloat and have some ...
by LameGuy64
October 12th, 2018, 1:29 pm
Forum: Members Downloads
Topic: MKPSXISO - A PlayStation ISO Maker to Replace BUILDCD
Replies: 65
Views: 148599

Re: MKPSXISO - A PlayStation ISO Maker to Replace BUILDCD

MKPSXISO should be outputting error messages if the license file specified is either not found or does not match a specific file size. Mednafen's likely doing some checks in some really obscure parts of the ISO file system header which my tool isn't replicating. Have you tested the ISO on ePSXe, pSX...
by LameGuy64
September 27th, 2018, 10:04 am
Forum: Members Downloads
Topic: elf2x - A proper GCC ELF to PS-EXE converter
Replies: 3
Views: 11247

Re: elf2x - A proper GCC ELF to PS-EXE converter

That's sadly where tech seems to be heading... Bloat is the future.

I could've used malloc and realloc instead of std::vector but I made this as a quick little tool mostly.
by LameGuy64
September 26th, 2018, 5:29 pm
Forum: Members Downloads
Topic: elf2x - A proper GCC ELF to PS-EXE converter
Replies: 3
Views: 11247

elf2x - A proper GCC ELF to PS-EXE converter

I wrote this little tool when I experimented with creating my own SDK (called PSn00bSDK) using the latest GCC toolchain to produce PlayStation executables as PSXSDK's elf2exe never seemed to work for me. Plus it didn't really look like a good converter to me judging by its source code which simply r...