PDA

View Full Version : Magic3 disassembled - understanding the magic


Rattle
11-27-2002, 02:45 PM
I think we need a new thread for this now :)

I have attached my disassembling of the magic3 hex released.

I have use equ's for making it easier to understand.
Others are welcome to fill out the blanks :) The code is pretty easy to understand even if you don't know PIC/Scenix assembler.

/Rattle

betablockers
11-27-2002, 06:31 PM
I still have a lot of comments to add but as above, the more feedback the better.

Rattle
11-28-2002, 01:58 AM
RCE, your code looks great :)
It assembles correctly, exact match.

I don't think you have something to learn from my sources :) A little to much macros for my taste though ;) Shouldn't be to hard to add functionality with that good sourcecode.

Edit:
There are some errors:
* pin numbers, you do like this:
1 | | 3
2 | | 4
it should be:
1 | | 4
2 | | 3
* Pin 7 Z is not CDDVD OE, I think it's ejectbutton.
RB3 is CDDVD OE and RB4 might be disc-detect.

I could be wrong though.

/Rattle

razorx
12-03-2002, 07:07 PM
just wondering but has anyone recoompiled this code and tested it on there homebrews?


if so just wondering if u got it working or not and which compiler u used i tried witht he SX-KEY software but i cant seem to get it to work afther it's compiled

Rattle
12-04-2002, 02:06 AM
Use SASM to compile and it will give you an exact match of the original hex. At least 0.72 did. Maybe you forgot to set the fuses correctly?

Compiling with SX-key did NOT give me the same result as with SASM.

/Rattle

razorx
12-04-2002, 09:53 AM
well using SX-Key i got code that compiles to the exact same as the .hex which i pick'd up in an other post


now i'm just trying to get my hands on V7 bios patch codes for OSDSYS

the magic2 ones used in the current rev16 release dont seem to work on an NTSC 39001 but the psx boot code works

playing around with the code i also got it twinked to boot (dont give me the hell screen no more) hehe just hangs befor giving the ps2 logo

razorx
12-04-2002, 10:22 AM
no guichi just hooked me up with a link to do to a bios dump


tho i'm going to have to rig up some way of booting the naplink disc


but i got a few idea's

razorx
12-05-2002, 08:02 PM
tried those touchups to the code but it didnt seem to help much heh and till i can get a ps2 game / naplink cd to boot i wont be able to dump the bios

Frankieboy
12-06-2002, 08:56 AM
do you have a description of all the bios pins?

one year ago i made a description using the neo 4 and messiah diagrams. but i don't have it now.

D0-D7, A0-A18, chip enable usw.

is it possible to read the bios with a pregrammer, when the chip is soldered in? must i solde out the chip for read out the bios ?

Robot
12-09-2002, 04:03 PM
i tested the full sleep you did , it works , good work!!

Robot
12-10-2002, 03:00 AM
i tried on a v3 pal ps2 , the game wouild boot up fine , when you press reset it goes to red screen ( which implies the chip is sleeping).

After u switch it off for about 5 seconds and switch it on , you can load another game

Robot
12-10-2002, 03:03 AM
i was thinking we could move points reset and W , then put the chip to sleepand let the interupt wake it up in pin reset and then call the SX_Reset function

Robot
12-10-2002, 12:33 PM
is there any other pin besides reset we can swap with, I have pcb's made up :/ and they have the resistor on that line

Robot
12-10-2002, 03:20 PM
ok , just looked at the code , i see u have chip wakup on reset and eject , i edited it and made it just on eject compatible with normal layout pcb's


----------------------------------------------

IFDEF POWER_DOWN
mov m, #00Ah ; set up edge register
mov !rb, #%00000000 ; RB3 wait for HI
mov m, #009h ; clear all wakeup pending bits
clr w ; /
mov !rb,w ; /
mov m, #00Bh ; enable wakeup
mov !rb, #%11101111 ; / RB3
mode #00Fh ; rest mode
sleep
ENDIF

------------------------------------------------------------------------

Is that correct??

Robot
12-11-2002, 04:08 PM
couldnt get it to work , the mod would go into psx mode , but ps2 no way :/

chuby
12-16-2002, 11:35 PM
I've been on looking at the RCE release, so far I understand that you want to create a 1-1 asm for the posted R16 hEX, so far from what I've read so far the 1-1 is done, now I think the next step is to optimize the code as well as to find what exactly is doing the V7 NTSC, cause so far I've heard this homebrew is booting on PS2 PAL's, now I don't think or I hope that the NTSC is much different, but in the next few days I'll be working on V7 and NTSC, try to dump the bios and see what and where to patch let's hope that everything works, any sugestion, idea, patch, dump, would be aprecciated TY !

vdavide
12-21-2002, 02:31 AM
for RCE :
rce0787 wont work with ps2 game original e backup compiling in this mode:
1)with ps2_bios = 0xFF
2)with ps2_bios= bios_v3
3)with ps2_bios=bios_v3 & full_sleep
PSX game work ok.
My psx: v3 pal, homebrew magic3 with 16K on rst & cer.reson. only ( this works fine with original r16 code , some problem with
DVD freezing)
thanks
vdavide

infofreak
12-23-2002, 07:37 PM
RCE,

How about you clean out your mailbox so I can send you a message about this.

MadKaoModding
12-24-2002, 12:12 PM
I hate to ask of even more from you, but any chance you could post the hex.... cause I have no idea how to compile what you game me into a hex and I would like to test out your revision... if so thanks alot... if not I understand and thanks anyway

e.hayami
12-24-2002, 02:09 PM
it seems that "mip2sx" doesn't work correctly.
By the way i'm wondering how to compile a full working version for my ps2 jap 10000. could someone help ?
thanks a lot

midome
12-24-2002, 03:08 PM
if you get a bios dump for them they can do it. i dont know how to do the dump though

e.hayami
12-24-2002, 05:14 PM
osdsys patch for ps2 jap 10k is named osdsys_10k.mip in the zip file of rce 78x.
I think there's no sood for the bios dump of 10k, isn't it?
but why it is not included in the source file instead?

cjack
12-25-2002, 01:32 PM
WHOW RCE!! I've just tested your latest rce_magic3.asm on my V3 and it works fine!!!! Better than original magic3_r16!! Boots every game at first attempt (but i must test it better).
I have recompiled your asm but error on line 657. I've commented this line and no problem but I think that is not the right procedure ;-)
Compliments for your custom magic3 and hope to see new releases soon :-))
Greetings from Italy to all ps2 homebrew scene

e.hayami
12-25-2002, 03:25 PM
RCE
AS IS you can not.... Do u have sx28 chip/programer... if u have them i have np helping u get it to work....


yes, i have them all, by the way i'm trying to add a full working code to the m3 src for the 10/15k version.
I'll test it soon... thks :)

e.hayami
12-26-2002, 05:28 AM
does anyone has a bios dump of the scph 10000 / 15000 as i do not have the cable to dump it with naplink

infofreak
12-26-2002, 05:01 PM
I have problems running the naplink software on the older 10000 series. It seems the disk won't run on this and other early models. I have tried several releases of the naplink software, and several disk generating programs to make the iso, but it always comes up with the browser screen. Other disks run no problems. Any ideas anyone?

hhh
12-26-2002, 05:57 PM
10k bios part 1


Edit By Moderator: Sorry but I have to remove these attachments from this thread as the BIOS is illegal to distribute, like any other Sony software :(

hhh
12-26-2002, 06:07 PM
part2

mitroux
12-26-2002, 07:58 PM
can someone told me where to get pukko bios dump utility please?!
thank you!!

MadKaoModding
12-27-2002, 12:40 PM
Originally posted by RCE
np what u went ex. FULL_SLEEP....


if you could post a hex that includes that along with any other features, but I would like to try the sleep feature out the most since it should help with the freezing issues

thanks

max232
12-27-2002, 03:14 PM
MadKaoModding here you go m8,

Here is rce_magic785 assembled with....


PS2_BIOS EQU BIOS_XX; v5(chip 040,050),v6(chip 060), v7(chip 070?,080)

for bios v5>

and

FULL_SLEEP EQU 1 ; Uncomment to kill chip win done patching(ps2 mode tested, psx todo...)

full sleep mode for you to test.

Regards
max232

:D

MadKaoModding
12-27-2002, 04:31 PM
any specific boot methods? I just put this code in my console and it tries to load but then goes to the browser and shows a ps2 disc... I tried cdr dvdr import original as well as original and I switched the w point and it comes out the same for all... any suggestions?

max232
12-27-2002, 04:38 PM
I just use the magic 3 proceedure to boot.

what console are you trying it on ??

Regards
max232
:D

MadKaoModding
12-27-2002, 04:41 PM
v6

max232
12-27-2002, 04:48 PM
Try this, it's 758 set for v6 (chip 060) with sleep off.

Is the v6 pal ???

Regards
max232
:D

MadKaoModding
12-27-2002, 05:18 PM
reprogrammed it with this one and it didn't work either... its v6 us not pal....

max232
12-27-2002, 05:29 PM
There were a few coments at the start about probs with ntsc and the beta. It may be that alone causing you probs.

I have no probs with locking up or games not loading so no way of really testing. The only problem I have had is 2 v5's although I have put that down to being specific to the individual units.

Apart from that I had a v7 that with the original release went past the Playstation 2 logo (disc accepted) then waited for about 5 seconds then went to the red screen.

The attached version worked on that specific unit.

Sorry I could not be of more help with the us consoles.

Regards
max232
:D

MadKaoModding
12-27-2002, 05:54 PM
hmmm that ibe red screens for me every time... I just flashed my current one with the original hex and it works fine.... I wonder if its the way I'm programming it... I'm using an sx-key and renaming the hex to .sxh

mitroux
12-27-2002, 09:39 PM
quote:
--------------------------------------------------------------------------------

rce:
here "pukko bios dump utility" build ver if u went the code i will post it too..
--------------------------------------------------------------------------------


thank you !! will wait the code too ,please!!

quote:
--------------------------------------------------------------------------------

MadKaoModding:
... I just flashed my current one with the original hex and it works fine....
--------------------------------------------------------------------------------

wich code are you talking about?!the r16 beta?! or the original magic3 code?!!
if the magic 3 original code ,please attach it here ,i think that a lot of ps2 us owners has problems booting the r16b code

max232
12-28-2002, 12:46 PM
RCE, it was your 0.777 tested on a friends v7 Pal console.

It was not edited just set from the 1:1 (all ps2) code to....

PS2_TYPE = 7 ; Uncomment for PS2 V7

I was quickly testing your code versions with options to get this particular v7 working. The friend would then give the console a good run after it was working so not much though went into the proceedure except to just get it working.

The console was returning to the PLEASE INSERT A PLAYSTATION 2 CD (red) screen ofter the disk had been accepted.

Rest assured that if any working code changes are made they would be posted to you.

I do have access to a number of different Pal version consoles so I am able to have a good play now they all have chip sockets fitted for easy chip changes ;)

Keep up the good work.

Regards
max232
:D

MetalxXx
12-29-2002, 08:50 PM
A question please, magic777.zip as much works in all the models v3 v4 v5 v6 and v7? or single a concrete model? also I cosay has corrected the way of dull of sx? Thank you very much beforehand

Salu2

max232
12-29-2002, 09:30 PM
Hi m8, I think I understand what you are asking...

In the models I have tested v3 v4(no gap) v5 v7 all PAL, it seems to work fine.

Your question.... "the way of dull of sx?".

Do you mean FULL_SLEEP ??

If so it is not tested in the 777 version.

Hope this helps.

Regards
max232
:D

MetalxXx
12-29-2002, 09:52 PM
It pardons max232, but I do not speak ingles very well that we say. My question is if supposedly it works in all the versions of ps2, and if I cosay 777 it happens to sx to FULL_SLEEP?

Thank you very much

Salu2

MetalxXx
12-29-2002, 10:02 PM
max232 pardons esque I am a little lost in the codecs since there are so many, you know of which works with all ps2 and passes to full sleep sx? it can that the 785 or the 787?

Thank you very much

Salu2

max232
12-29-2002, 10:06 PM
These are the settings I used.

;PS2_TYPE = 255 ; All PS2s used for 1 to 1 code.....
;Uncomment to use any added code...(well just about
;PS2_TYPE = 1 ; Uncomment for PS2 V1(not used)
;PS2_TYPE = 3 ; Uncomment for PS2 V3(not used)
;PS2_TYPE = 4 ; Uncomment for PS2 V4
PS2_TYPE = 7 ; Uncomment for PS2 V7

The last one "PS2_TYPE = 7" was uncommented.

This stopped the v7 goint to the red screen after accepting the backup.

If you want to try full sleep use rce785.zip and uncomment FULL_SLEEP in define.inc before assembling, a friend said it was working in this version he tried. I cannot comment on others as I have not tried it.

Regards
max232
:D

max232
12-29-2002, 10:07 PM
A friend said 785 worked although i have not tested it myself.

Regards
max232
:D

MetalxXx
12-29-2002, 10:31 PM
Then that you advise the 785 to me? better than the 777? better than magic3_b.hex no? By the way, not this codec of magic3.1?

salu2

max232
12-30-2002, 10:20 PM
:)))
I had problems understanding the guy.

I had a v7 acting really weird and got as far as your 777 before it worked. I was just in a hurry and methodically trying different versions.

I think the guy wanted a definative answer about code working with all versions of console with full sleep also working.

I wish i could answer that ;)

On another note is the 785 or 787 working with the v4 setting and full sleep?? obviously with a v4 pal(no gap).

All I get with the v4 setting with or without the full sleep is the PS2 disk screen (blue disk picture) but no game boot. That is with a v4 Pal(no gap) conso;e.

keep the good work up and free :)

Regards
max232
:D

toxicity010
12-31-2002, 11:18 AM
Could anyone post me a v3 or v4 or v5 PAL version BIOS DUMP, because I do not have the usb download cable to dump it... :(
here's my email: toxicity010@hotmail.com

thank you very much and happy new year !!!

cjack
12-31-2002, 04:58 PM
Tested rce 785 on a V7.....problems!! My ps2 V7 go in the "PlayStation2 Disk" screen with the gold/blue disk on the center of the screen and no game can boot.
I have tested magic3_r16 too and no problem with games boot, works fine (not all games started at the first attempt but I know that with rev16 code is normal).
Greetings from Italy to all ps2 homebrew scene.

MadKaoModding
12-31-2002, 05:28 PM
Originally posted by cjack
Tested rce 785 on a V7.....problems!! My ps2 V7 go in the "PlayStation2 Disk" screen with the gold/blue disk on the center of the screen and no game can boot.
I have tested magic3_r16 too and no problem with games boot, works fine (not all games started at the first attempt but I know that with rev16 code is normal).
Greetings from Italy to all ps2 homebrew scene.

same exact thing happens to me

max232
12-31-2002, 05:34 PM
What settings have you made in the define.inc file before assembling ????

Are the v7's PAL or NTSC.

Regards
max232
:D

cjack
12-31-2002, 05:37 PM
I have tried many settings but no one works. Full_sleep yes and not, compiled for V5-V6-V7 and for all ps2, nothing!! I have tried max232 rce 0.777 and works without problems. Troubles with 785 only. My V7 is PAL.

max232
12-31-2002, 05:44 PM
It's the same with the v4 as well with 785 and 787 although RCE recommends 785.

I get the browser which has accepted that the backup is a ps2 disk but just sits on the white screen with the blue disk on it.

If I press the x button, the disk read for a moment then comes back to the same white screen with the blue disk :confused:

Have you had any locking up with rce_777 ????

I have had one person complaining of lockups but when testing it myself and adding a quick switch to put the scenix to sleep after loading the backup the console acts the same way so it must be, on this occassion the laser or media or a combination of both.

Regards
max232
:D

cjack
12-31-2002, 09:46 PM
Scph-39004 V7 so I think Bios 070. Happy to see you RCE :-))

cjack
01-02-2003, 08:29 AM
Problems with 0.787fixed too. When I tap reset to start a dvdr ps2 game ps2 go on "NoData" white screen. I have assembled 787 in V5-6-7 only mode, with and without full_sleep but still no go. With r16 and rce777 no problem.
Hope to help you with my tests. How can I know the bios version of my ps2 with certainty? is a SCPH-39004 serial C6643066.
Greetings from Italy.

max232
01-02-2003, 08:32 AM
Where is the new file posted ??

Bios type... on the bios chip itself it will have 020,030, etc...


Regards
max232
:D

cjack
01-02-2003, 08:46 AM
posted at the begin of this thread ;-)
Bye

cjack
01-02-2003, 08:55 AM
Ok I have found a 060 in the middle of the chip codes, possible a V7 with a 060 bios? Bye

max232
01-02-2003, 08:56 AM
Cheers m8.

Regards
max232
:D

MetalxXx
01-03-2003, 12:16 AM
The version r16 has corrected full_sleep?

Thx

Sly1
01-03-2003, 02:02 AM
I had same problem with 0.785 think maybe cjack sent it to me all i could get was white screen with blue disc in middle weather it was original game or back up in v5 pal unit.

put r16 original but now i get freezing even with original gta vc and kindom hearts is this normal..?

Rgds
Sly

Sly1
01-03-2003, 04:28 AM
Tested on GH22 v7 pal bios 060 with RCE0785 :- (

just get white screen with blue ps2 disc there no matter what i try also same with psone games and original and back ups

Sly1

cjack
01-03-2003, 06:04 AM
HiAll, I haven't the sources of 777 rce release, .hex only and on my v7 works (i know that is compiled without full_sleep).
Someone can post 777 sources with an attachment?! Thanx all, regards to all ps2 underground scene from italy ;-)

max232
01-03-2003, 06:15 AM
Regards
max232
:D

Sly1
01-03-2003, 10:00 AM
RCE 785 should also be removed as it does not work. on v7 and v5 pal.

I still have to resort to r16 still with switch.

I haven't tried 777 yet

max232
01-03-2003, 02:15 PM
RCE, there you go, don't want to add to the confusion :oops:

Regards
max232
:D

gigge
01-03-2003, 02:36 PM
can you pleas post the SX disassember

/gigge

Sly1
01-04-2003, 06:19 AM
do you have to play gta vc or kindom hearts to see if it freezes or you can let the disc go thru the demo at intro and repeat it self to see if it freezes...?

iam not much off game player of those 2 games :=)

Sly

grumman
01-04-2003, 06:35 AM
Sly1,
I have only got magic kingdom on DVD backup. The way I test machines is to plat the intro. On unswitched/unfixed machines 9 out of ten will freeze on the intro, the other on will fail on the second pass(ie reset and try it again). I have not had one PS2 (30+ now) that has passed this test, they all faill by the second pass, unless a switch/fix is fitted.

energypso
01-04-2003, 04:36 PM
i have a problem and i need advice
i have a v5 PAL PS2 ...
after succesfully tested on several versions with great results i place a m3 inside mine (v5).
the dvd backups boot fine but frezees sometimes at movies.
the cd backups works 1 in 10 times or less.
i donno what to do
plz tell me what is wrong
the originals cd boot perfect
where should i look for the answer

cjack
01-04-2003, 04:48 PM
WHOW SUPER!! :p RCE789 works now on my V7 too (with full sleep enabled and tested...GO!!). Many many thanks to rce and all other people that have helped to make this possible :D
Hope that code works on other ps2 V ;)
See you soon bro's

cjack
01-04-2003, 06:10 PM
Just tested on my V4 030 PAL too....0.789 works fine, with full_sleep enabled :p
Super..go go go

alcema
01-05-2003, 06:56 AM
anyone can post the magic ice v0.788 and v.0789 code plz.

thx
AlcemA

toth
01-05-2003, 07:56 AM
hi all,
I have tried the last vesrion the rce_789 on my ps2 v3.
I have to say that she works well he works fine, but I continue to have problems of read on dvd-r...
to this point I think that it is a matter of laser, I will try with the ps2 of my brother to verify this.
my brother has the same ps2.


rce you are a myth !


PS: alcema the 789 code is found to the beginning of this tread.

grumman
01-05-2003, 09:13 AM
I don't want to be a party pooper, but I still have problems, although greatly reduced. I have not used the full sleep mode yet, I will try it as soon as my son gets off the PS2. I have a v7 with a MCLR switch and a ZIF skt. With the Magic rel16 it freezes on kingdom hearts intro almost every time (9/10). With the switch activated (low to MCLR) it passes the intro every time. With a quick rewire (swap pins) on the ZIF and rce789 fitted it passes 4/5, a huge improvement, I'm NOT complaining, but not as clear cut as the MCLR switch, or hopefully the full sleep mode. I have the cap on the supply rail aswell. One more point, to play Audio CDs with rel16, you have to swap modes, as if they are DVD films or PS1 games, otherwise they skip. If you try to change modes with 789 you get a black screen, do you have to change modes, or has the Audio skipping been fixed? I have tried one for a couple of mins, and it didn't skip, but the test wasn't long enough realy. I know the code is beta on beta and who cares about audio CDs, but someone will moan at me. Thanks to all involved with the code rewrites.

cjack
01-05-2003, 09:41 AM
After 1 night of tests on rce 789 I can tell that on my V7 and my V3 this code works fine, games boot without particular problems and full_sleep works too. Some problems on a V4 modded tonight...games boot problems...many many problems.... The same V4 modded with a TitanChip boot all games without problems, so I think that magic3 code is the cause of the troubles. On the same V4 I have installed an ORIGINAL magic3 chip and.....same boot problems that I have with magic3 homebrew (perhaps some less)....
RCE code is the growing in better :D

alcema
01-05-2003, 09:47 AM
Is coming a new model of ps2: SCPH-39006....

"...This new ps2 BIOS uses random checks..."

read the original news on : www.eurasia.nu

AlcemA

Sly1
01-06-2003, 09:22 AM
just slight problem after using RCE 0.789 and done the swap pin NOTE: MAGIC 3 TO ICE... pin Z swap with A and REST with W.... and you must edit define.inc

when i press the reset/power buttom unit does not power on but if i press eject it comes on is this normal...?

then i hit power/reset button it switches machine off.

but if i put RCE 0.777 code in works like a treat or r16

testing in v7 pal gh 018 bios 060
game kindom heart & gta vc

Sly

cjack
01-06-2003, 09:56 AM
Hi Sly1!! My first try with magic3 ice swap pins I had your same problem....I forgot to switch the resistor :( Have you switched the resistor from reset to W?? Try that byeeeeee

Sly1
01-06-2003, 10:07 AM
oh o.k doh...!

i just put back to original wiring working o.k for now

with kindom heart

best i could get before was 5 minutes working now been 15 minutes.

Sly

Sly1
01-06-2003, 10:29 AM
To RCE ,

What if we don't do the swap pins and wire as normal what affect will this have to the chip function.

talking about RCE 0.789 code full sleep

Sly

Niko'z
01-06-2003, 04:51 PM
Hi all!

Can some explain how to use sasm assembler with the other files asm. sx .mip .inc?
I would apreciate it alot......much better than asking for the final hex!
The pdf manual is to much for me!

Niko'z


OK....i resolved.
I'm going to try on a v4 (030 gap bios chip).
I will post the results. :)

Niko'z

Robot
01-07-2003, 01:00 PM
is rce ice sleepimg with dvd movies and ps1 games??

germano
01-08-2003, 03:48 PM
Hello to you lacyg, I tried to generate the hex file of the rce 789 you posted, but the system return me this error:
rce_magic3.sx(567) Line 698, Error 3, Pass 2: Symbol <endloop> is not defined

this sx file is for 54mhz or 50mhz? there is a software setting for select it?

Thank you.

Germano

Niko'z
01-08-2003, 04:17 PM
Same for me.....error massage when i compile the hex, so I've used the 789 posted by RCE with full_sleep.

Used it on a v4 gap pal with a 50 mhz crystal quarz.
Ps2 dvd's (GTA VC) and cd's are booting fine (no freezing), but ps1 don't boot at all!
Audio cd's copy boot in ps1 mode and also work fine.
Someone knows the problem for ps1 games?
Keep up the good work! :)

Niko'z

jeppojeps
01-09-2003, 01:15 PM
Who could explane me what is the best hexfile for the v4 console?? Eventually is possible to post them?? TNX at ALL

cjack
01-09-2003, 07:49 PM
WHOW!!! RCE, I love when reading the new post list I see a new release of rce_magic3 code from you ;)
I'll compile and install it immediately....thanks, your code is for now the BEST for me :)

Robot
01-10-2003, 12:29 PM
ive looked at the new code , but cant see where the sleep is for ps1 and dvd movies

cjack
01-10-2003, 07:19 PM
HiAll...just tested rce_magic3 0.79 on my V7...mmmhhh boot problems with all dvdr games, 2 attempts to boot almost every game with POWER_DOWN mode, something better with FULL_SLEEP instead of powerdown. Still better boot performances with version 0.789 with full_sleep enabled.
Hope to help you to make magic3 the best mod code around ;-)

germano
01-11-2003, 12:41 AM
I want ask a question to RCE, Charlie_PS2 and Guichi. I've won on ebay an auction for a logic analyzer tektronix 1241. Do you think that with this product I can help you to find timing issues on magic3 source? I want help you, if possible!

In this link you can see the product caracteristics... http://www.kandelelectronics.com/ItemPages/tek1241.htm

Thank you

grumman
01-11-2003, 08:22 AM
Can someone tell me the use for Power_down? I have used Sleep (uncommented define etc)to put the IC to sleep after patchin, but I'm not quite sure the need/use of power_down, and how its used?

OrCAD
01-11-2003, 08:53 AM
Hello,
i have testet RCE 0.789 version....where find latest 0.79 ?

10x

876
01-11-2003, 09:22 AM
in the start of this tread

toth
01-13-2003, 07:57 AM
RCE are a great!
but I want to ask a question..

does to work owe for strength to go to 54 Mhz?

hi all.

Robot
01-20-2003, 02:57 PM
just had a chance to test magic ice .8 , on a v7 machine.

It didnt work, the dvd verifies then jumps to the browser screen and flashes reading disk then comes red screen of death.

I swapped reset with W(also put resistor on this line) and Z with A

any ideas??

charlie_ps2
01-20-2003, 03:15 PM
Originally posted by germano
I want ask a question to RCE, Charlie_PS2 and Guichi. I've won on ebay an auction for a logic analyzer tektronix 1241. Do you think that with this product I can help you to find timing issues on magic3 source? I want help you, if possible!

In this link you can see the product caracteristics... http://www.kandelelectronics.com/ItemPages/tek1241.htm

Thank you
Who's a lucky boy then? Logic Analyser is everything in this game if used wisely. But it's not easy.

You need to know something about what you are doing. For example, you could attach to the 8 BIOS points and to another PS2 signal of interest and log what happens in terms of signal levels. Then you can go to another PS2 signal of interest and so on and paint a picture of what does what. The trick is to know something about the PS2 signals of interest.

So - how are you going to operate your advantage?

How many Messiah 2s can I swap you for your Logic Analyser?

germano
01-20-2003, 04:24 PM
Thank you for your reply, Charlie. Thank you for your proposal of swapping my tektronix logic analyzer with messiah2 chips..... but for now I want play with it.... (I have payed it a mostruous amount of money.... there are 200$ only for fedex shipping to usa from italy..... but if you can help me to take the right way, i can help you giving detailed logical diagrams of what is happening on a ps2 (chipped or not). I'm beginning this adventure for hobby, My friend can help me to learn to use correctly a logical analyzer. I am waiting it from fedex for now..... I want put a pod on dvd controller and a pod on bios when it arrives to me... I'm very curious!!!! A little, stupid question (I know, it is very stupid stupid question). Why is necessary a bios patching for Magic3? We need a bios patching for ntsc games or there is another issue? a patch on dvd controller is not enough for booting a cd or dvd backup of the same region of the ps2? (pal for pal, ntsc for ntsc...)
:)

cjack
01-22-2003, 02:42 PM
WHOW!! A new RCE release to test!!!!!
I love when you release some new code RCE ;-)
I'll test it tonight.
Ah, a question only. Rce are you working on improvement of dvdr games boot too? Thanks to you and vdavide for your super homebrew code ;-)

Frankieboy
01-22-2003, 05:25 PM
lacyg post out, that he has edited code of ice 08x for the 090 bios of the V8. great, i hope his stuff will work. then homebrew would be the first chip for the 090 v8 bios console, he he. :)

question to lacyg:

can you please say, which confuguration is necessary for your test with V8 090 bios in dthe define.inc?

version of ps2 is Vxx or what?

maybe you should post here your define.inc for us. then we can test... :)

Frankieboy
01-22-2003, 08:26 PM
psx do not boot, hmmmm, any chance to fix that?

alcema
01-23-2003, 06:13 AM
HiAll!

why after magic ICE 0.79 inclused my chip don't work?

1)swap pin A & Rest OK
2)Sxfree tool in working folder OK
3)used any version of MIP2SX but....nothing...

please HELP ME!!

version of ps2 V3

thx
AlcemA

winsun
01-23-2003, 09:13 AM
Dear lacyg / RCE:
how i can make the ICE_0.81 to *.HEX?
what software i need?

Frankieboy
01-23-2003, 09:20 AM
i answered this question 2 times in the forum.

all software is in the 2 big homebrew threads for download. all tools!

i got the tools from there and also the explanation, how to use.

please read the long threads (the 2 sticky ones).

OrCAD
01-23-2003, 09:27 AM
I think Makefile is a Linux batch program....

I convert it, substitute / with \ and adjust environement assigned
variable.....now work in DOS mode.

10x to RCE for last release....

Frankieboy
01-23-2003, 09:28 AM
i use the make.exe and this is working.

alcema
01-23-2003, 09:54 AM
for lacyg:

...yes, I have been swapped point A with Z and REST with W....

actually the Magic Ice 0.789 version working perfectly...but the next relases not...




thx
AlcemA:confused:

winsun
01-23-2003, 10:10 AM
THANKS , Frankieboy:
i use the make.exe and this is working too. nice.
and, may i one more Q? must be swapped REST with W and Z with A ? and the 33k will be go with REST too?

winsun
01-23-2003, 11:22 AM
can some tell me how to edit the define.inc ?
my ps2 was 39000 jap.

chupalt
01-23-2003, 11:38 PM
I've been testing rce 0.81 on a NTSC v4 no gap with the code compiled for a version 4 (v4 uncommented in the define.inc), it seems to be working good, but I get a corrupted playstation 2 logo when I boot....is this a known issue?

Frankieboy
01-24-2003, 09:13 AM
use windows notepad to edit the define.inc :)

ps2 mainboard RESET Signal ----- 16 kohm resistor ------- pin RST at magic 3.

that works. which pin is RST at magic 3? well, look in the ???.sx file with windows notepad and you see the chip layout with all pins. :)

alcema
01-24-2003, 09:27 AM
can anyone post me the .hex of Ice0.81 compiled for V3?

My Ice0.81 .hex don't work....but 0.789 working too.....damn....

1) all pins are swapped
2)define.inc edited

...Help ME!

thx
AlcemA

Bulgaria
01-24-2003, 12:17 PM
I'm not complaining, but it looks like the front page has v.82 link pointing to .81 code (actual code is .81 according to comments in .sx file)

This is outstanding work RCE, you must be ahead of the 'professionals' now with boot from browser and v8 working!!

Congratulations, and I'm sure much adoration from all in the scene.

Bulgaria
01-24-2003, 03:42 PM
Sorry RCE, my link still points to .81 (as indicated by the file name and coments in the .sx file), perhapse it's just me !!!

Snoopy007
01-24-2003, 10:03 PM
One question,

do I just need the following to complie the code?

tools.zip
sxfree.zip

I presume the fuse setting is the same as the beta codes
ie
fuse=7f2
fusex=f7f

and which code should I burn hex or bin?

Bulgaria
01-24-2003, 10:35 PM
ok got it now, must be me with a slow link ???????

Thanks

Snoopy007
01-24-2003, 10:54 PM
or is fuse setting?

fuse=7f9
fusex=f7f

or even this

fuse=7f1
fusex=f7f

Snoopy007
01-25-2003, 12:02 AM
also does this code work for ps2 original imports/same region

Snoopy007
01-25-2003, 03:05 AM
I will let u guys know how I get along with the following us machines.

v4 040
v5 060

chupalt
01-25-2003, 07:31 AM
I've been playing with this code in an NTSC v4 no gap. It seems pretty good. On my unit, it doesn't boot DVDrs everytime, but the rate is something like 4/5. It could just be my unit though, as it has had an interesting life.

winsun
01-25-2003, 07:38 AM
Dear Sir:
MAGIC 3 TO ICE... pin Z swap with A and REST with W;
is the pins swap on the mainboard or swap on the sx pcb?

alcema
01-25-2003, 09:33 AM
for RCE:

..I have been rebuild all version from 0.79 to lastest 0.82f...

chip bios version (D-221-020; B-20-020)

define.inc_V3_PowerDown

fuses settings :
7F9 & F7F
7FA & F7F

NO ONE WORKING......damn...

AlcemA

P.S. Can you send me a .hex compiled...for V3...
alcema@ngi.it

winsun
01-25-2003, 11:03 AM
Hi All:
i use the define.inc in ice0.82f/ice0.82 to mod the 39001(v7 bios MX) = cannot to play any games. i use sx28ac/ss.
pin Z swap with A and REST with W = just show logo( or kill logo),than red .


; this file is used my both sasm and r5900 :-)


; used by PS2_BIOS
BIOS_JAP EQU 0x01
BIOS_V1 EQU 0x02
BIOS_V3 EQU 0x04
BIOS_V4 EQU 0x08
BIOS_XX EQU 0x10
PS2_BIOS EQU BIOS_XX
KILL_LOGO EQU 1
POWER_DOWN EQU 1
EJECT_SLEEP EQU 1
BOOT_MENU EQU 1
VMODEFIX EQU 1
REGION_FREE EQU 1
;DVD_FIX EQU 1
;MODE50 EQU 1 ; 50M clock
;SCEX_ONLY EQU 1
;DEMARCO_VISION EQU 1

Robot
01-26-2003, 05:09 AM
tested on a v5 today giving same error as last v7 machine :/

machine verifies the disk then goes to browser and says reading disk then jumps to red screen :/

any ideas???

potros
01-26-2003, 08:01 AM
I have the same problem with the two V7 that i've tried. :(

Robot
01-26-2003, 08:26 AM
maybe someone that has it working can post the hex for us for the Vx bios set

winsun
01-26-2003, 11:21 AM
hI all :
i use the R_16 = ok , but just cannot to play the DV9 - HKS

winsun
01-26-2003, 11:25 AM
can someone edit the code R-16 to play the DV9 in NTSC?
it just cannot play DV9 in NTSC.
but the Messiah2 clone can play the DV9 100%.that was 75Mzh

Robot
01-26-2003, 11:45 AM
messiah 2 clone = official magic3.1 in sheeps clothing

winsun
01-26-2003, 01:25 PM
is the sx28ac/ss different that sx28ac/dp , because the pin 14 is the GND on ss. the pin8 is REST

Robot
01-26-2003, 02:02 PM
doing the same :(

winsun please open up magic_ice.sx and you can see the pinouts for both DP and SS chips in there

Robot
01-26-2003, 02:16 PM
just tested it with kill_logo uncomented , then it works :)

looks like a problem lies in the logo for bios vx

chupalt
01-26-2003, 02:22 PM
what was the problem before?

Robot
01-26-2003, 02:37 PM
verifies the disk then it jumps to the bowser and then goes to red screen

Frankieboy
01-26-2003, 03:20 PM
hmm, what arte noe the right settings in define.inc to geht the ice code 082 to work?

can you post the define.inc what is uncommented? a friend has a v8 and i will send him a sx 28, but i need to know, which defice.ins settings are the best for v8.

Robot
01-26-2003, 04:29 PM
probably best like this


; this file is used my both sasm and r5900 :-)


; used by PS2_BIOS
BIOS_JAP EQU 0x01
BIOS_V1 EQU 0x02
BIOS_V3 EQU 0x04
BIOS_V4 EQU 0x08
BIOS_XX EQU 0x10

; Uncomment your ps2
;PS2_BIOS EQU 0xFF ; TODO: all
;PS2_BIOS EQU BIOS_JAP ; TODO: JAP 10000/15000
;PS2_BIOS EQU BIOS_V1 ; v1(chip 010), v2?
;PS2_BIOS EQU BIOS_V3 ; v2?, v3(chip 020)
;PS2_BIOS EQU BIOS_V4 ; v4(chip 030)
PS2_BIOS EQU BIOS_XX ; v5(chip 040, 050), v6(chip 060), v7(chip 070?, 080), v8(chip 090)

;MODE54 EQU 1 ; 54M clock

KILL_LOGO EQU 1 ; Uncomment to kill logo...

POWER_DOWN EQU 1 ; Uncomment 1/2 sleep(USE PLZ AND NOT FULL_SLEEP or DVD_FIX)
;EJECT_SLEEP EQU 1 ; Uncomment for "sleep if cd ejected on start up"

;SCEX_ONLY EQU 1 ; FIXME Uncomment for scex only(no dvd/cd D,C,B,I,H,G(6pins)) todo remove W
;BOOT_MENU EQU 1 ; TODO boot menu(from Memory Card).............
;VMODEFIX EQU 1 ; TODO ... auto NTSC2PAL/PAL2NTSC
;REGION_FREE EQU 1 ; TODO/REMOVED i have no dvd to test with :( ...
;DEMARCO_VISION EQU 1 ; TODO ... 50:50 can b done with software only

Frankieboy
01-26-2003, 06:29 PM
i have compiled it, please can you check, if this is the right hex according to your defice.inc

it just helps me to verfiy, if i compiled it the right way. :)

update : hex file removed, RCE told us not to post any hex file.

Snoopy007
01-26-2003, 07:50 PM
what does kill logo do? I mean is it similar to neo4's kill logo?

winsun
01-26-2003, 09:13 PM
Is the ss must use the 54Mhz crystal ? cannot to use the 50Mhz?

DEVICE SX28AC, OSCHS2, TURBO, BANKS8, OPTIONX
;FREQ 50000000 ; 50Mhz

Frankieboy
01-26-2003, 10:12 PM
hö ?

look in the define.inc. 54 mhz is commented.

i use all sx chips with 50.00 mhz and not with 54.00 mhz resonator.

works perfect. :)

unit01
01-27-2003, 12:15 AM
Hi Robot,

If the HK Messiah2 clone is a magic 3.1 in sheeps clothing where do I connect the W or W1 point from that 4 legged component on a V7 mobo on the m2 clone board? There seems to be a couple of connections missing.

An Associate of mine bought 4 x messiah2 clones 4x apple2s and 30x magic 3.0 knockoffs because he couldn't find local supplies of Messiah2s at the moment.


When he fitted the clones and apples in various revisions he couldn't boot any backups only originals just as though they were never fitted.

When he tried a magic 3.0 knockoff he had trsod or browser or insert disc on a ps2 backup (cdr) However he managed to start booting a ps1 disc but after a few seconds it stopped and the machine would only show a blank screen after that.

Are these mods so different to installing Messsiah 1 and 2s I mean do you have to boot up differently to Messiah2 with apple m2 clones?

I'm getting the parts for a fluffy2 programmer I'm planning to try some of this homebrew code on these bitches we've got nothing to lose I think ;)

Snoopy007
01-27-2003, 01:48 AM
Originally posted by unit01
Hi Robot,



When he fitted the clones and apples in various revisions he couldn't boot any backups only originals just as though they were never fitted.



odd, which machines did your friend fitted the apple2 to?

Snoopy007
01-27-2003, 03:30 AM
btw, my complies are the same as frankieboy's.

but different to chupalt.

chupalt what was ur settings for the complie?

unit01
01-27-2003, 04:15 AM
Hey Snoopy,

Yeah he was trying it out on his own machines pretty sure 1 was v5 the other v7 dunno about v6 if we get them in Australia.

winsun
01-27-2003, 04:24 AM
maybe my chip's pin out was different.
has who the sx28ac/ss pins out for ice0.82f? Please :(
in the MAGIC.SX just the pins out of sx28ac/dp.

Snoopy007
01-27-2003, 04:51 AM
us v5 060 - PS2 original/imports do not boot with one press of reset. (normal ps2 boot method for magic3)


jap v7 d 080 b 090 - does not boot up backups at all.

chupalt
01-27-2003, 05:31 AM
I only compiled with the specific version and power_down.....I was not compiling with kill_logo....That's why mine and frankieboy's code are different....I've only tested the code on a v7 and v4 as that's all I have....

Update....

I just compared a file I compiled with kill_logo and power_down...with that of frankieboy's....and they are slightly different.....which mips2sx.exe are you using? I'm using file 2a from toolsv1update.zip I'm not sure if that should make a difference or not...

Snoopy007
01-27-2003, 06:01 AM
I am using the original tools.zip and not the updated tools.

Also, the disc recognition seems to work well on the us v5 060 bios. Its a shame it can't boot PS2 original/imports.

I will also give it another try on a US v4 040 bios soon.

Cold
01-27-2003, 09:35 AM
I know this is a little off topic, But could any of you guy's help with a solution to this thread. "magic 3 hanging.. any solutions?"

It seems we need a simple chip to put the Magic3 in sleep mode, but I havent got a clue what I need or where to get it..

It just seems you guy's know your stuff...

http://www.ps2newz.net/forums/showthread.php?s=&postid=36384#post36384

Frankieboy
01-27-2003, 10:49 AM
cold, this chip is existing. including diagrams. read the pic 12c508 fix for magic posting. :)

hex code is free and diagrams are availavle in that posting. :)

you can also use a simple switch instead of the pic 12c508 chip. :)

Frankieboy
01-27-2003, 10:59 AM
i use the old original tools from the beginning of the thread.

is it neccessary to use this new compiler? i think, we all should use the same stuff.

it would be good, if RCE can post, which tools should be now used. :)



update : i see the new magic ice thread, where the ice_083 and the new tools are in.

the new thread should be a sticky. :)

chupalt
01-27-2003, 03:17 PM
RCE...sorry for posting that.....I was just trying to help out....but I see your point, if they can't compile the code how are they going to get it to work.....

one question....would using the different mip2sx v2a/b cause the final hex to be different? My code was different than frankieboy's but is working on my machine...

update...I changed the mip2sx to the original one, and frankieboy and my code matched.....weird how they were both functional though....