The above video goes away if you are a member and logged in, so log in now!
|
| |
Would you like to get all the new info from PSX-Scene in your email each day?
| |
|
-
#1
Magic3 & DVD game boot problem discovered !
Magic3 & DVD game boot problem discovered ! –
01-13-2003,07:22 AM
After fixing DVD game freezing , i'm working on boot problem (DVD game hang during boot ).
This problem seem to appear only with DVD game , not CD.
Using the logic analyzer i' ve discovered that magic3 hang in
CDDVD_PATCH_DVD routine ( start routine but no return ).
This is probably due at timing error in this routine.
I try now to fix it then post result !!!
If anyone can help.... thanks!.
vdavide
-
01-13-2003,12:42 PM
i find that on v3 and v4 machines (only some machines) the laser spins up moves back and forward then clicks once...
is this the problem you are refering to??
-
01-13-2003,04:41 PM
Hello to you Vdavide! I am Italian, but I write in english (bad, very bad english) for respect of the other members. I've buied a logic analyzer (a tektronix 1240), and I hope to learn quickly to use it. I want help the community to discover all timing issues of magic3 source.... can you tell me what logic analyzer you are using? The tektronix 1240 can acquire to 100mhz in asincronous mode and 50 mhz in sincronous mode. I hope this is sufficient to see what succeed in ps2/magic3 dialog.... I am waiting this logic analyzer (i'we won it on ebay, I hope for next week to receive it...)
-
01-14-2003,07:04 AM
ok BOY , THANKS FOR HELP !
I 'VE WORKED HARD AND DISCOVERED PROBLEM ON LOOP TIMING...
nOW MODIFIED CODE AND TESTING , SEEM TO WORK !
PLEASE WAIT MY NEWS ON THIS THREAD !
-
01-14-2003,07:53 AM
nice
good work
-
01-14-2003,04:03 PM
Good work, Davide! If you need a beta tester I've a v3 and a v7 with the sx28 with socket...
-
01-15-2003,07:16 AM
Hi boys , here is the portion of code that seem to work better than the original R16
(but I'm sure isn't the best :-( ...).
To test you have to copy/paste it after remove original or simply edit mod !.
Please use RCE0785 for test,
if it work for you , then it can be easyly modified for successive version !
CDDVD_PATCH_DVD
;This ruotine will authenticate DVD to PS2 and is executed a certain number ( variable ?) of times...
:loop0
jnb IO_REST, @RESET_DOWN
jb IO_CDDVD_OE, :loop0
:loopx
cjne IO_CDDVD_BUS, #010h, :loop0
:loop1
jnb IO_CDDVD_OE, :loop1
:loop2
jb IO_CDDVD_OE, :loop2
cjne IO_CDDVD_BUS, #0F7h, :loop0
call DELAY320nS
:loop3
jb IO_CDDVD_OE, :loop3
cjne IO_CDDVD_BUS, #014h, :loop0
call DELAY320nS
mov VAR_PS2_BSC, #005h ; skip 5bytes
call CDDVD_SKIP ; /
:loop4
jb IO_CDDVD_OE, :loop4
cjne IO_CDDVD_BUS, #010h, :loop0
call DELAY320nS
mov IO_CDDVD_BUS, #0A6h
mDDIR IO_CDDVD_BUS, #%00011000; port=output but IO_DISK_TYPE/IO_CDDVD_OE
call CDDVD_SKIP_1BYTE
mDDIR IO_CDDVD_BUS, #0FFh ; port=input
:loop5
jb IO_CDDVD_OE, :loop5
cjne IO_CDDVD_BUS, #036h, :loopx ;speed up recheck operation...
call DELAY320nS
:loop6
jb IO_CDDVD_OE, :loop6
cjne IO_CDDVD_BUS, #032h, :loopx ;speed up recheck operation
mov VAR_PS2_BC, #00Fh
call CDDVD_PWAIT_DVD
mov VAR_PS2_BSC, #002h ; skip 2bytes
call CDDVD_SKIP ; /
cje VAR_BIOS_REGION, #'A', :usa
cje VAR_BIOS_REGION, #'E', :uk
:jap ; I
call PS2_JAP
retp
:usa
call PS2_USA
retp
:uk
call PS2_UK
retp
Now I'll try to explain what 's happen in this routine.
When routine start , chip sync first 3 byte 10h, F7h,14h (OK !)
then skip 5 bytes (OK!)
next sync successive byte 10h (OK!)
Now chip patch bus (OK!) and wait for 36h ... but this byte not appear !
Ha ha ha ... too simple ... machine now restart test more ( variable ?) times
and if the byte isn't 36h it can be a dummy byte , but sometime it can be the 1° byte
required for sync ! This is the way I've modified jump to loopx.
Chip can now recheck immediately the dummy byte and sync !.
Tried to jump directly to loop1 and can't get it to work.
Please test it so we can improve chip functionality !!!
-
01-16-2003,07:01 AM
Hi boys , i know there are problem yet in this routine !
I' ll work on it again.
For the moment i'm waiting your test result !
Try it specially on V3/V4 ( seem have high problem and disk controller is different than successive model...)
-
01-16-2003,07:56 AM
ok, i can test, but i don't have all codes from RCE. i have newest 0.80 code from RCE.
where can i download the old versions?
or
please post the code to patch rce785 as attachement in this thread
or better
post the coplete patched code as "vdavide" test code here. then it is very easy to compile this code for everybody and mistakes are minimum.
-
01-16-2003,01:20 PM
trying to find a v3 with the dvd boot problem
will test soon...
Last edited by Robot; 01-16-2003 at 01:24 PM.
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|