Next Gen Boards
 

Sponsored Links
Arcade YouTube vbBux / vbPlaza Calendar FAQ

Reply
 
Thread Tools Display Modes  
got questions
Apprentice Grade 1
 
Join Date: Dec 2007
Posts: 4
Rep Power: 0 got questions is on a distinguished road Reputation: 10
Points: 12,190.14
Bank: 1,000.00
Total Points: 13,190.14
got questions is offline
 
 
#1
01-09-2008, 12:22 AM   #1
Reply With Quote
ps2 memory

Is there a chart anywhere of how the mips memory is divided up?Like 00000000-00080000 ???,00080000-000d00000,kernal...and so on.And how high does it go,can i store a subroutine at 05000000?
Report Post
JohnnyHax
Gunnery Sergeant Grade 1
 
Join Date: Jul 2007
Posts: 117
Rep Power: 2 JohnnyHax is on a distinguished road Reputation: 10
Points: 75,268.28
Bank: 3,844.25
Total Points: 79,112.53
JohnnyHax is offline
 
Send a message via AIM to JohnnyHax
 
#2
01-09-2008, 02:10 AM   #2
Reply With Quote
lol i got question, why you make your name "got questions"? no one knows who you are.. besides like a leech.. It's better when it's not a one way street..
Report Post
got questions
Apprentice Grade 1
 
Join Date: Dec 2007
Posts: 4
Rep Power: 0 got questions is on a distinguished road Reputation: 10
Points: 12,190.14
Bank: 1,000.00
Total Points: 13,190.14
got questions is offline
 
 
#3
01-09-2008, 02:42 PM   #3
Reply With Quote
im just a noob with a bunch of questions and this is the only place with answers...lol
Report Post
Robby23
=P
 
Robby23's Avatar
 
Join Date: Jan 2007
Posts: 255
Rep Power: 2 Robby23 is on a distinguished road Reputation: 12
Points: 221,613.56
Bank: 0.00
Total Points: 221,613.56
Robby23 is offline
 
 
#4
01-10-2008, 07:06 PM   #4
Reply With Quote
If you look at pcsx2 alot of the memory is mapped out in debugger plus download from cmp the memory map file ;)
__________________
Easiest Money I've ever made
Referal link:
http://www.swatcash.com/Robby23
Report Post
freddyftbll
Private Grade 1
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 freddyftbll is on a distinguished road Reputation: 10
Points: 27,758.25
Bank: 1,515.67
Total Points: 29,273.92
freddyftbll is offline
 
 
#5
01-11-2008, 03:34 AM   #5
Reply With Quote
good point..

PS2 MEMORY & HARDWARE MAPPED REGISTERS LAYOUT, by Minmei (minemei2002@yahoo.com)

Please, feel free to distribute this document as well as make modifications or or corrections on it.
The purpose of this document is to through a little light to those unmmaped areas of PS2 that Iエve find very diffucult to find information about on the web.
Iエm also very interested on learn more on how PS2 handleエs its Interruptions and Exceptions hardware related flags (VSyncs, HSyncs, Counters, DMAs, etc...).
If you know how to complete or enhance this little document, please contact me (minemei2002@yahoo.com).


GENERAL MEMORY
--------------

0x00100000-0x01ffffff RAM Mirror Address. (cached)
0x20100000-0x21ffffff RAM Mirror Adress. (not cached)
0x30100000-0x31ffffff RAM Mirror Adress. (not cached & accelerated)

0x70000000-0x70003fff Scratch Pad RAM Adress.

0x1FC00000 - 0x1FFFFFFF ROM BIOS Mirror Adress. (not cached)
0x9FC00000 - 0x9FFFFFFF ROM BIOS Mirror Adress. (cached)
0xBFC00000 - 0xBFFFFFFF ROM BIOS Mirror Adress. (not cached)

0x80000000-0x9fffffff KSEG0.
0xA0000000-0xbfffffff KSEG1.


COUNTERS' REGISTERS
-------------------

10000000 T0_COUNT Timer Count
10000010 T0_MODE Timer Mode
10000020 T0_COMP Timer Compare value
10000030 T0_HOLD Timer Pause

10000800 T1_COUNT Timer Count
10000810 T1_MODE Timer Mode
10000820 T1_COMP Timer Compare value
10000830 T1_HOLD Timer Pause

10001000 T2_COUNT Timer Count
10001010 T2_MODE Timer Mode
10001020 T2_COMP Timer Compare value

10001810 T3_COUNT Timer Count
10001820 T3_MODE Timer Mode
10001830 T3_COMP Timer Compare value

IPU REGISTERS (MPEG2 DECODER)
-----------------------------

10002000 IPU_CMD
10002010 IPU_CTRL
10002020 IPU_BP
10002030 IPU_TOP

GIF REGISTERS
-------------

10003000 GIF_CTRL
10003010 GIF_MODE
10003020 GIF_STAT
10003040 GIF_TAG0
10003050 GIF_TAG1
10003060 GIF_TAG2
10003070 GIF_TAG3
10003080 GIF_CNT
10003090 GIF_P3CNT
100030a0 GIF_P3TAG

VIF0 REGISTERS
--------------

10003800 VIF0_STAT VIF0 Status
10003810 VIF0_FBRST
10003820 VIF0_ERR
10003830 VIF0_MARK
10003840 VIF0_CYCLE
10003850 VIF0_MODE
10003860 VIF0_NUM
10003870 VIF0_MASK
10003880 VIF0_CODE
10003890 VIF0_ITOPS
100038d0 VIF0_ITOP
10003900 VIF0_R0
10003910 VIF0_R1
10003920 VIF0_R2
10003930 VIF0_R3
10003940 VIF0_C0
10003950 VIF0_C1
10003960 VIF0_C2
10003970 VIF0_C3

VIF1 REGISTERS
--------------

10003c00 VIF1_STAT
10003c10 VIF1_FBRST
10003c20 VIF1_ERR
10003c30 VIF1_MARK
10003c40 VIF1_CYCLE
10003c50 VIF1_MODE
10003c60 VIF1_NUM
10003c70 VIF1_MASK
10003c80 VIF1_CODE
10003c90 VIF1_ITOPS
10003ca0 VIF1_BASE
10003cb0 VIF1_OFST
10003cc0 VIF1_TOPS
10003cd0 VIF1_ITOP
10003ce0 VIF1_TOP
10003d00 VIF1_R0
10003d10 VIF1_R1
10003d20 VIF1_R2
10003d30 VIF1_R3
10003d40 VIF1_C0
10003d50 VIF1_C1
10003d60 VIF1_C2
10003d70 VIF1_C3

FIFO
----

10004000 VIF0_FIFO(write)
10005000 VIF1_FIFO(read/write)

10006000 GIF_FIFO0
10006010 GIF_FIFO1
10006020 GIF_FIFO2

10007000 IPU_out_FIFO(read)
10007010 IPU_in_FIFO(write)

DMA CH0 REGISTERS (Linked to VIF0)
----------------------------------

10008000 D0_CHCR DMA-0 Channel Control
10008010 D0_MADR Memory Address
10008020 D0_SIZE Transfer Size (they call it D0_QWC)
10008030 D0_TAG DMA Tag (they call it D0_TADR)
10008040 D0_??LO they call it D0_ASR0
10008050 D0_??HI they call it D0_ASR1

DMA CH1 REGISTERS (Linked to VIF1)
----------------------------------

10009000 D1_CHCR DMA-1 Channel Control
10009010 D1_MADR Memory Address
10009020 D1_SIZE Transfer Size (they call it D1_QWC)
10009030 D1_TAG DMA Tag (they call it D1_TADR)
10009040 D1_??LO they call it D1_ASR0
10009050 D1_??HI they call it D1_ASR1

DMA CH2 REGISTERS (Linked to GIF)
---------------------------------

1000A000 D2_CHCR DMA-2 Channel Control
1000A010 D2_MADR Memory Address
1000A020 D2_SIZE Transfer Size (they call it D2_QWC)
1000A030 D2_TAG DMA Tag (they call it D2_TADR)
1000A040 D2_??LO they call it D2_ASR0
1000A050 D2_??HI they call it D2_ASR1
1000A080 D2_SADR

DMA CH3 REGISTERS (Linked to IPU (FROM???))
--------------------------------------------

1000B000 D3_CHCR DMA-3 Channel Control
1000B010 D3_MADR Memory Address
1000B020 D3_QWC Transfer Size

DMA CH4 REGISTERS (Linked to IPU (TO???))
-----------------------------------------

1000B400 D4_CHCR DMA-4 Channel Control
1000B410 D4_MADR Memory Address
1000B420 D4_QWC Transfer Size
1000B430 D4_TADR DMA Tag

DMA CH5 REGISTERS (Linked to SIF0)
----------------------------------

1000C000 D5_CHCR DMA-4 Channel Control
1000C010 D5_MADR Memory Address
1000C020 D5_QWC Transfer Size

DMA CH6 REGISTERS (Linked to SIF1)
----------------------------------

1000C400 D6_CHCR DMA-6 Channel Control
1000C410 D6_MADR Memory Address
1000C420 D6_QWC Transfer Size
1000C430 D6_TADR DMA Tag

DMA CH7 REGISTERS (Linked to SIF2)
----------------------------------

1000C800 D7_CHCR DMA-7 Channel Control
1000C810 D7_MADR Memory Address
1000C820 D7_QWC Transfer Size

DMA CH8 REGISTERS (Linked to SPR (form SCRATCH PAD to RAM???)
--------------------------------------------------------------

1000D000 D8_CHCR DMA-8 Channel Control
1000D010 D8_MADR Memory Address
1000D020 D8_QWC Transfer Size
1000D080 D8_MCR ???

DMA CH9 REGISTERS (Linked to SPR (form RAM to SCRATCH PAD???)
--------------------------------------------------------------

1000D400 D9_CHCR DMA-9 Channel Control
1000D410 D9_MADR Memory Address
1000D420 D9_QWC Transfer Size
1000D430 D9_TADR DMA Tag
1000D480 D9_MCR? ???

DMA CONTROL REGISTERS
---------------------

1000E000 D_CTRL DMA Control
1000E010 D_STAT DMA Status
1000E020 D_PCR
1000E030 D_SQWC
1000E040 D_RBSR
1000E050 D_RBOR
1000E060 D_STADR

1000F000 INTC_STAT
1000F010 INTC_MASK

1000F100
1000F120
1000F130 STD-OUT STATUS???
1000F140
1000F150
1000F180 STD-OUT DATA???

1000F230 SBUS_SMFLG

1000F410
1000F430
1000F440
1000F480
1000F490
1000F500

1000f520 D_ENABLEW
1000f590 D_ENABLER


VU MAPPED MEMORY REGISTERS
--------------------------

11000000 VU0 PROGRAM MEMORY Program Memory (4K ROM)
11001000 VU0 MEMORY Memory (4K ROM)
11008000 VU1 PROGAM MEMORY VU1 Program Memory (16K ROM)
1100C000 VU1 MEMORY VU1 Memory (16K ROM)

GS
--

12000000 GS_PMODE
12000010 GS_SMODE1
12000020 GS_SMODE2
12000030 GS_SRFSH
12000040 GS_SYNCH1
12000050 GS_SYNCH2
12000060 GS_SYNCV
12000070 GS_DISPFB1
12000080 GS_DISPLAY1
12000090 GS_DISPFB2
120000a0 GS_DISPLAY2
120000b0 GS_EXTBUF
120000c0 GS_EXTDATA
120000d0 GS_EXTWRITE
120000e0 GS_BGCOLOR
12001000 GS_CSR
12001010 GS_IMR
12001040 GS_BUSDIR
12001080 GS_SIGLBLID
Report Post
Driver
Private Grade 1
 
Join Date: Jun 2007
Posts: 21
Rep Power: 0 Driver is on a distinguished road Reputation: 10
Points: 41,456.65
Bank: 3,999.56
Total Points: 45,456.21
Driver is offline
 
 
#6
02-03-2008, 08:16 AM   #6
Reply With Quote
put your subroutine above the kernel (0x00080000) or somewhere around 0x000a00000
Report Post
< PAC-MAN >
Gunnery Sergeant Grade 2
 
Join Date: Jan 2007
Location: Kansas
Posts: 127
Rep Power: 2 < PAC-MAN > is on a distinguished road Reputation: 11
Points: 20,118.08
Bank: 157,137.71
Total Points: 177,255.79
< PAC-MAN > is offline
 
Send a message via AIM to < PAC-MAN >
 
#7
02-03-2008, 02:35 PM   #7
Reply With Quote
Long time no see Driver :) fellow cYs buddy ha whats good.
__________________
PSN=Pacman182
Contact me via aim=cYs Pacman

Project in Dev...Coming

Report Post
Driver
Private Grade 1
 
Join Date: Jun 2007
Posts: 21
Rep Power: 0 Driver is on a distinguished road Reputation: 10
Points: 41,456.65
Bank: 3,999.56
Total Points: 45,456.21
Driver is offline
 
 
#8
02-04-2008, 02:49 PM   #8
Reply With Quote
yeooo pac man! long time indeed
Report Post
&lt; PAC-MAN &gt;
Gunnery Sergeant Grade 2
 
Join Date: Jan 2007
Location: Kansas
Posts: 127
Rep Power: 2 < PAC-MAN > is on a distinguished road Reputation: 11
Points: 20,118.08
Bank: 157,137.71
Total Points: 177,255.79
< PAC-MAN > is offline
 
Send a message via AIM to < PAC-MAN >
 
#9
02-04-2008, 05:14 PM   #9
Reply With Quote
Quote:
Originally Posted by Driver View Post
yeooo pac man! long time indeed
Ha, need to get back in touch dude lol..pm me your aim or something or aim me at cYs pacman bro :)
__________________
PSN=Pacman182
Contact me via aim=cYs Pacman

Project in Dev...Coming

Report Post
Whitey
Colonel Grade 1
 
Join Date: Apr 2007
Location: Where minutes turn into hours and days into years
Posts: 595
Rep Power: 2 Whitey is on a distinguished road Reputation: 20
Points: 59,949.60
Bank: 56,884.38
Total Points: 116,833.98
Whitey is offline
 
  02-04-2008, 05:58 PM   #10
Reply With Quote
pac-man? more like hack-man. its been a long while for a lot of people
__________________

Socom 3/CA Clan [E]LeMeNt
R.I.P.
Dec '05-Jan '07
[img]<a href="http://www.us.playstation.com/PSN/Users/whitey111"><img src="http://pid.us.playstation.com/user/whitey111.jpg" width="235" height="149" border="0" /></a>[/img]
Report Post
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

top Go to Top All times are GMT -4. The time now is 07:30 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 Copyright ©2006 - 2008, NextGenBoards. All Rights Reserved