unknownbrackets / ps2autotests

A set of test programs run on a PS2, with accompanying results.
ISC License
25 stars 7 forks source link

IOP message box send/recieve tests #24

Closed jpd002 closed 8 years ago

jpd002 commented 8 years ago

Basic tests for SendMbx and ReceiveMbx functions on the IOP. Tests all queuing modes and some invalid parameters.

unknownbrackets commented 8 years ago

Looks good. I noted a few other areas that we could test but if you'd prefer to just merge as is, I'm cool with that. Already a good test.

-[Unknown]

jpd002 commented 8 years ago

Thanks for the review.

I've fixed the various code style issues, added a comment about ReceiveMbx working even though a NULL pointer is passed and added a test to verify how the next pointer in the header is modified by SendMbx.

That's pretty much what I wanted to test for now, I'll add other tests cases if I come across some weird behavior when debugging games in the emulator.