Any love on Mastodon for #RustLang? Tonight, cracking on with a simple MIPS #PSX emu written in #Rust. I know there's another (unfinished) Rusty #PlayStation emu out there - my one started out as a MIPS CPU emulator that got out of hand. I also want to get sound + GPU working so I can play the iconic PS1 boot intro in full.

Here's the serial debug output when it starts up... https://mastodon.cloud/media/UpKBBJt_JDCop8f3fxA

@diodesign Mmmm, PSX emus in #rustlang. I totally support this :)

I've done some emu work, like a NES emu: https://github.com/jonathandturner/rustynes

Part of me keeps hoping I'll have time to go back to it and make it more accurate.

@jntrnr Cool :) For me, it's a way to sharpen up my Rust. Also, given that people found remote-code execution vulns in emulators last year, seems important to use a safer language than C.

Right now I'm doing timers. I don't think I'll have time to make it cycle accurate due to MIPS/PSX oddness. I'll take a look at your code :)

@diodesign heh, cool. forewarning, that code is from when I was just learning Rust. There are probably better ways to do it.

@jntrnr No worries :) I just found this in my code...

io.registers.insert(MMIO_REG_DMA_CTRL, 0x07654321);

...and no explanation of that magic number so now I want to hurt last-year me.