Forum: ICE Team Forums - Official support forum for ICE team releases for the PS2!


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?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Magic3 & DVD game boot problem discovered !
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
  1. #1 Magic3 & DVD game boot problem discovered ! 
    vdavide is offline Senior Member
    Join Date
    Nov 2002
    Posts
    235
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    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
    Reply With Quote  

  2. #2  
    Robot is offline Member
    Join Date
    Oct 2002
    Location
    South Africa
    Posts
    448
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    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??
    Wholesale modchips , accessories and repair parts for the South African Market

    http://www.chipmod.co.za
    Reply With Quote  

  3. #3  
    germano's Avatar
    germano is offline Nano Member
    Join Date
    Oct 2002
    Posts
    20
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    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...)
    Reply With Quote  

  4. #4  
    vdavide is offline Senior Member
    Join Date
    Nov 2002
    Posts
    235
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    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 !
    Reply With Quote  

  5. #5  
    Robot is offline Member
    Join Date
    Oct 2002
    Location
    South Africa
    Posts
    448
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    nice good work
    Wholesale modchips , accessories and repair parts for the South African Market

    http://www.chipmod.co.za
    Reply With Quote  

  6. #6  
    germano's Avatar
    germano is offline Nano Member
    Join Date
    Oct 2002
    Posts
    20
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Good work, Davide! If you need a beta tester I've a v3 and a v7 with the sx28 with socket...
    Reply With Quote  

  7. #7  
    vdavide is offline Senior Member
    Join Date
    Nov 2002
    Posts
    235
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    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 !!!
    Reply With Quote  

  8. #8  
    vdavide is offline Senior Member
    Join Date
    Nov 2002
    Posts
    235
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    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...)
    Reply With Quote  

  9. #9  
    Frankieboy Guest
    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.
    Reply With Quote  

  10. #10  
    Robot is offline Member
    Join Date
    Oct 2002
    Location
    South Africa
    Posts
    448
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    trying to find a v3 with the dvd boot problem

    will test soon...
    Last edited by Robot; 01-16-2003 at 01:24 PM.
    Wholesale modchips , accessories and repair parts for the South African Market

    http://www.chipmod.co.za
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •