MIPS R3000 Instruction Set and Advanced Machine Documents

Confidential documents, images and information by Sony and miscellaneous hackers for the PlayStation 1
Post Reply
User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

MIPS R3000 Instruction Set and Advanced Machine Documents

Post by Shadow » May 18th, 2012, 11:06 pm

Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » December 5th, 2012, 2:50 pm

Here are some more useful documents.
They have CPU Register Assignments that are similar to the PSX's.

https://www.box.com/s/q1tl8yuufsftosvxqyce
https://www.box.com/s/lmr4nw30cvdhdk5ng7ex
https://www.box.com/s/q8h8cullxt794qy3jy4y
https://www.box.com/s/mxq2x2int6ti7nah89ux

(Thanks goes out to Cameron ;) )
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
sickle
Verified
C Programming Expert
C Programming Expert
Posts: 257
Joined: Jul 17, 2013
I am a: Chocolate-fueled pug fetish robot.
Location: Scotland

Post by sickle » July 30th, 2013, 5:07 am

Thanks man, nice list - here are a few I found pretty useful:
http://www.cs.umd.edu/class/sum2003/cmsc311/Notes/ (Scroll to mips section, there's a pretty good introduction)
http://en.wikipedia.org/wiki/MIPS_architecture (seems kinda obvious, but the assembly section is invaluable)

Someone
Curious PSXDEV User
Curious PSXDEV User
Posts: 20
Joined: Aug 07, 2016

Post by Someone » March 2nd, 2017, 1:18 pm

Very nice pdf presentation for newbies:
http://www.cs.columbia.edu/~sedwards/cl ... ps-isa.pdf

And some very useful tools for learning and practicing:
MARS
http://courses.missouristate.edu/KenVollmar/mars/
SPIM
http://spimsimulator.sourceforge.net/

EmuChris
What is PSXDEV?
What is PSXDEV?
Posts: 1
Joined: Mar 23, 2017
I am a: Gamer
Motto: Its all about gaming
Location: Stockholm/Phuket
Contact:

Post by EmuChris » March 23rd, 2017, 10:47 pm

Thnx for the links Someone. Ill have a look at it :)

Spela casino här. Ha roligt och spela Netent spel och mycket mer. Gå in på casinosidorna.com för de bästa casino sidorna som finns i Sverige.
Last edited by EmuChris on September 11th, 2021, 2:50 am, edited 1 time in total.
All about the game

User avatar
MrQuetch
Active PSXDEV User
Active PSXDEV User
Posts: 42
Joined: Apr 01, 2018
I am a: Programmer and artist.
Motto: You can accomplish anything.
Location: United States

Post by MrQuetch » February 16th, 2020, 11:52 am

A bit different, and a bit late to the topic... But, in one of Lameguy64's ASM examples, he writes this:

Code: Select all

opt	m+,l.,c+

    section data            ; Store the array in the data section

    global tim_my_image     ; Define label as global
tim_my_image:
    incbin 'my_image.tim'   ; Include file data (your TIM)
Where may I find the keywords he uses for ASM? I would like to try writing other things rather than including binary files.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » February 16th, 2020, 3:32 pm

Just run "ASMPSX.EXE" and it will list the switches.
  • m+/- enable/disable macro instructions
  • l<char> make <char> the local label character (not + or -)
  • c-/+ case sensitivity
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
MrQuetch
Active PSXDEV User
Active PSXDEV User
Posts: 42
Joined: Apr 01, 2018
I am a: Programmer and artist.
Motto: You can accomplish anything.
Location: United States

Post by MrQuetch » February 16th, 2020, 4:01 pm

Shadow wrote: February 16th, 2020, 3:32 pm Just run "ASMPSX.EXE" and it will list the switches.
  • m+/- enable/disable macro instructions
  • l<char> make <char> the local label character (not + or -)
  • c-/+ case sensitivity
Oh... I wasn't clear enough - I'm sorry. I meant other words like 'section', 'incbin', etc,. I just want to know what else I can do.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » February 16th, 2020, 4:37 pm

Check the documentation for the assembler.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests