News for hackers. Stuff that matters.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by a-dub on Thursday July 01, 2021 @02:55AM (#27696935)
there was also custom firmware that someone had written for one of the cheat devices (i think maybe the "gameshark"?) with that, and a $40 mail order ISA board, and some time building a MIPS cross compiling gnu toolchain, you could write programs in C and run them on the consumer/production PS1 as a hobbyist.

i'm trying to remember what the OS situation was though. i remember some really thin libc that made syscalls into some rom maybe? or maybe it was just a thin libc. i do remember being able to access the audio device without doing anything super low level...

edit: here we go! the firmware was called caetla and here's a nice 22yr old webpage that describes it: http://hitmen.c02.at/html/psx_faq.html

Re:Official Playstation 1 Development Kit (Hardware) (2020) by a-dub on Thursday July 01, 2021 @03:24AM (#27697058)
one thing i do remember clearly. the r3k cpu was quite slow and there was no fpu! it did have a gpu though, perhaps an early case calling for gpgpu and perhaps i wasn't that smart...
Re:Official Playstation 1 Development Kit (Hardware) (2020) by marcan_42 on Thursday July 01, 2021 @08:40AM (#27698516)
The PS1 didn't really have a GPU in the modern sense. It had a rasterizer. That's it. A thing that draws triangles or quads, with primitive texturing. It doesn't have any vertex processing. It doesn't even understand the Z dimension. Nothing even remotely resembling shaders, of course. At its core, all it does is draw 2D triangles and quads at integer pixel coordinates.

Instead, the CPU had specific instructions (a coprocessor, in MIPS parlance) to accelerate fixed-point geometry processing. That's where the math happens. So it did have an "FPU" - a fixed-point unit, not a floating-point unit :-)

Re:Official Playstation 1 Development Kit (Hardware) (2020) by kevingadd on Thursday July 01, 2021 @05:13AM (#27697491)
The GPU didn't really have the kind of muscle you'd need to do gpgpu, since a lot of the rendering workload was handled by dedicated instructions on the CPU instead of special-purpose or general-purpose GPU hardware like we have today. The PS2 inched closer but the PS3 was probably the first time Sony hardware could do anything resembling GPGPU. I don't think you were missing anything obvious :-)

AFAIK some other console vendors' audio DSPs were used for compute by specific games, though - I recall reading about a console game for one of Sony's competitors using the console's DSP to decompress game data during loads instead of synthesize audio.

Re:Official Playstation 1 Development Kit (Hardware) (2020) by Lammy on Thursday July 01, 2021 @03:12PM (#27703225)
> I recall reading about a console game for one of Sony's competitors using the console's DSP to decompress game data during loads instead of synthesize audio.

Maybe Burning Rangers for SEGA Saturn? That game uses alpha transparency for rendering fire instead of the usual (for the time) SEGA-style mosaic transparency, but it uses the sound processor to do it and has very sparse audio as a result: http://segabits.com/blog/2011/06/05/retro-review-burning-ran...

Re:Official Playstation 1 Development Kit (Hardware) (2020) by eru on Thursday July 01, 2021 @06:37AM (#27697870)
Might have been the Sega Saturn. That one had lots of chips?
Re:Official Playstation 1 Development Kit (Hardware) (2020) by inDigiNeous on Thursday July 01, 2021 @07:34AM (#27698118)
At least the Nintendo 64 had a GPU that you could control with microcode, maybe that could be called a GPGPU ?
Re:Official Playstation 1 Development Kit (Hardware) (2020) by monocasa on Thursday July 01, 2021 @10:31AM (#27699393)
Eh, that "GPU microcode engine" was a fairly general MIPS with a vector unit like the CPU of the PS1. The GPU itself was just a rasterizer too like the PS1's (albeit more complex, understanding the Z dimensions, antialiasing, and subpixel coordinates). I wouldn't really call it GPGPU.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by softwarebouwer on Thursday July 01, 2021 @04:52AM (#27697402)
I did have that and the Yaroze (Sony's official homebrew development). I can't recall exactly how or why, but I do remember that compiling/running stuff with the Gameshark was easier than with the Yaroze.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by a-dub on Thursday July 01, 2021 @04:57AM (#27697422)
i wanted a yaroze but they were $$$. like $600 or something in 1997 dollars iirc. a few years later i learned of this thing.

they also had some weird limitation. it might have just been that your program could only ever run on your yaroze... where the caetla hack meant you could "ship" stuff that would run on chipped playstations.

Re:Official Playstation 1 Development Kit (Hardware) (2020) by sumtechguy on Thursday July 01, 2021 @08:48AM (#27698559)
I have a yaroze. The kit was rather limited and the tooling was buged out. I also got the codewarrior dev kit which helped a lot. I never got further than some simple demo hello world style applications. I was more interested in my PC at the time. I mostly used it to just play PS1 games. I basically wasted my money on it and should have just bought a normal PS.

If I remember right the thing was region free though so I could play imports. I think you could precompile apps and upload them to the yaroze web board and download them but only to other yaroze kits. I think a couple of devs actually managed to get a real shipped game out of it.

Luckily since I kept the whole lot in nice condition they are going for a decent amount on ebay. It is funny keeping the cardboard boxes makes it worth more...

I also had the PS2 kit. Which was in my opinion was more limiting than the yaroze one.

Re:Official Playstation 1 Development Kit (Hardware) (2020) by phreeza on Thursday July 01, 2021 @02:29PM (#27702625)
I seem to remember some later demo disc came with some yaroze games that were playable on normal PlayStations.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by stordoff on Thursday July 01, 2021 @03:28PM (#27703439)
PlayStation Underground: Volume 1 Issue 4 came with "Gasgar vs. Gasgar" and "Super Mansion", and were behind this wonderful warning screen: https://i.imgur.com/xntzcFk.png

Some other issues of PlayStation Underground and Official PlayStation Magazine (UK) came with other Yaroze games.

Re:Official Playstation 1 Development Kit (Hardware) (2020) by gambiting on Thursday July 01, 2021 @05:18AM (#27697521)
Correct. Yaroze programs could only run on other Yarozes, plus the worst restriction was that games had to fit entirely in Ram as Yaroze couldn't run burned discs.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by a-dub on Thursday July 01, 2021 @05:30AM (#27697570)
that's right! or access the drive at all. that made it a nonstarter for me as i was trying to build a player for fat32 formatted cd-roms full of mp3s.

of course the bigger problem was that the r3k was too slow. (i ported mpg123 over to run in fixed point, but it still was many times realtime to decode a frame). i wish i'd known about this gte vector unit thing, that may have been a way to make it work... but ah well,

Re:Official Playstation 1 Development Kit (Hardware) (2020) by corysama on Thursday July 01, 2021 @11:13AM (#27699899)
One thing the PS1 did have going for it was a MDEC jpeg decoder chip. Pretty much all of the FMV in PS1 games were MJPEG (a stream of independent jpegs). Between that and using the rasterizer to apply motion vectors and color interpolation, the machine was pretty well set up to do MPEG1.

The PS2 had an MDEC too. We used it in one game to do the pop-up talking head dialog between characters mid-gameplay with tiny RAM and CPU use.

Re:Official Playstation 1 Development Kit (Hardware) (2020) by anthk on Thursday July 01, 2021 @01:26PM (#27701730)
Playing Mpeg Layer 2 files would be fast enough for the PS1 then.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by anthk on Thursday July 01, 2021 @01:25PM (#27701725)
You could play MP2 files just fine.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by a-dub on Thursday July 01, 2021 @05:51PM (#27705345)
layer 2 was significantly lower quality at lower bitrates, significantly less computationally expensive to encode or decode and significantly less popular as a format for storing music.

i wanted to be able to play mp3 collections from psx units attached to home entertainment systems. there really weren't many other options back then.

Re:Official Playstation 1 Development Kit (Hardware) (2020) by BBC-vs-neolibs on Thursday July 01, 2021 @07:22AM (#27698060)
One of my biggest regrets always was that I as a young student bought an Amiga 4000 (computer of my dreams then) instead of a Yaroze.
Re:Official Playstation 1 Development Kit (Hardware) (2020) by djmips on Friday July 02, 2021 @05:02AM (#27709329)
There was another ROM called Ez-o-Ray which was similar. It took me many years later, how embarrassing, to realize that Ez-o-Ray was Yaroze backwards!

"Ez-O-Ray had some cool features like support for the psyq dos debugger (using a TSR to emulate the psx plugin ISA boards)."

http://spin.quequero.org/psx/tute/faq.html

Re:Official Playstation 1 Development Kit (Hardware) (2020) by gxqoz on Thursday July 01, 2021 @12:32PM (#27700952)
Sounds similar to Doctor V64. Although mainly used for piracy, it was also a much cheaper dev machine than Nintendo's official Silicon Graphics workstations.