Saturn proof-of-concept bootloader Pseudo Saturn

Discussion in 'Sega Saturn Programming and Development' started by Cyber Warrior X, Jul 6, 2014.

  1. zorlon

    zorlon Spirited Member

    Joined:
    Dec 27, 2013
    Messages:
    167
    Likes Received:
    22
    Thanks again yeah I posted in the wrong thread, that was totally my bad and that is totally cool that nothing needs patching now :)

    P.S. Enjoy your holidays, come back to this when you get back :p
     
  2. Druidic teacher

    Druidic teacher Officer at Arms

    Joined:
    Jun 6, 2006
    Messages:
    3,643
    Likes Received:
    129
    x
     
    Last edited: Jun 22, 2017
  3. Arnold101

    Arnold101 Active Member

    Joined:
    Aug 5, 2014
    Messages:
    35
    Likes Received:
    1
    thx, so games need also to be patched right?
     
    Last edited: Aug 5, 2014
  4. szczuru

    szczuru Spirited Member

    Joined:
    May 12, 2010
    Messages:
    115
    Likes Received:
    0
    Nope :) According to latest changelog:

     
  5. cafealpha2

    cafealpha2 Site Supporter 2015

    Joined:
    Jul 4, 2014
    Messages:
    280
    Likes Received:
    20
    Congratulations !
    The fact that only a cartridge is required to do the job is very impressive !
     
  6. cafealpha2

    cafealpha2 Site Supporter 2015

    Joined:
    Jul 4, 2014
    Messages:
    280
    Likes Received:
    20
    To CyberWarriorX : just a remark in your ui code : is it safe to use malloc/free functions ? I would rather use slob_alloc/slob_free functions instead.
     
  7. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    No worries, it's all good :) Thanks.

    Not a full list unfortunately, but here's a few off hand: Policenauts, Salamander Deluxe, Soldnerschild.

    I honestly haven't spent enough time with the malloc/free functions to verify if they're fully safe, but they should be working. And they're using slob_alloc/slob_free
     
    Last edited: Aug 5, 2014
  8. zorlon

    zorlon Spirited Member

    Joined:
    Dec 27, 2013
    Messages:
    167
    Likes Received:
    22
    :/ new installer iso is failing for me it goes to apx 6100% and then says Verifying flash... FAILED and gives a retry option

    Edit: used Flasher rev 9 again and flashed fine even if that was from poor quality CD-R's (I'm still waiting to buy some new CD-R's)

    Although I have no more quality CD-R's at the moment I will quickly test a few games I have on CD-R backup anyway, mostly PAL games

    The Panzer Dragoon Saga issue is still there before anyone asks, I'm sure you know this already though Cyber so it's more a note for other users

    Edit: updated the compat list with the few CD-R backups I could find, I also added Sonic 3D (EU) thanks to Tgames, for now I would rather not add Saturn Bomberman until I can verify the issue is not just a regional display issue

    PSEUDO compat list can be found here
     
    Last edited: Aug 6, 2014
  9. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    That's unfortunate. I'll have to see what happened. I probably broke it in the process of fixing things.
     
  10. zorlon

    zorlon Spirited Member

    Joined:
    Dec 27, 2013
    Messages:
    167
    Likes Received:
    22
    No worries for me :p

    I attached an Atlus disc with the new version included (it's in the firmware folder called PS031.BIN, the PseudoSaturn.BIN is an older version) just for anyone wanting to try this out now, especially as patching is no longer required it also has official 4M Plus firmware on there so can be used to restore firmware
     

    Attached Files:

  11. cafealpha2

    cafealpha2 Site Supporter 2015

    Joined:
    Jul 4, 2014
    Messages:
    280
    Likes Received:
    20
    Oops, sorry for the confusion. I didn't noticed that you defined _malloc_r/etc functions.
    For the few I tested so far, I confirm that slob_alloc/slob_free functions work fine.
     
    Last edited: Aug 7, 2014
  12. Cyber Warrior X

    Cyber Warrior X Active Member

    Joined:
    Feb 21, 2013
    Messages:
    32
    Likes Received:
    15
    No problem. I know the documentation is pretty lacking.
     
  13. Jumbo

    Jumbo Newly Registered

    Joined:
    Jul 29, 2014
    Messages:
    4
    Likes Received:
    0
    Nevermind guys. Got it to work, I had an extra swap in there that wasn't necessary. Fantastic work, it's amazing that progress is still being made on this stuff. Very exciting!
     
    Last edited: Aug 7, 2014
  14. ChemicalBro

    ChemicalBro Spirited Member

    Joined:
    Apr 6, 2014
    Messages:
    104
    Likes Received:
    1
    Also tried 0.831 and got same issue. Used my last cd-r handy :( Anywhere to download prev version?
     
    Last edited: Aug 7, 2014
  15. zorlon

    zorlon Spirited Member

    Joined:
    Dec 27, 2013
    Messages:
    167
    Likes Received:
    22
    Post #170 has the new version in an alt install disc for now

    You are better off with the new version so you can boot CD-R's without patching, the older version 0.830 required the discs to be patched first

    If you are just not sure how to use the disc I uploaded just ask it's not that hard to do, but I guess it's not that obvious either
     
    Last edited: Aug 8, 2014
  16. ChemicalBro

    ChemicalBro Spirited Member

    Joined:
    Apr 6, 2014
    Messages:
    104
    Likes Received:
    1
    I thought 0.831 was the newest version? What is the difference with ATLUS PSEUDO install disc.zip vs PseudoSaturn-0.831.zip? Same code, different installer?
     
    Last edited: Aug 8, 2014
  17. zorlon

    zorlon Spirited Member

    Joined:
    Dec 27, 2013
    Messages:
    167
    Likes Received:
    22
    something like that, it's a CD image with 0.831 firmware including other firmwares for Action Replay's & 4M+ carts I named the 0.831 firmware to PS031.BIN (there is also an older one named PseudoSaturn.bin but that is version 0.829) I used this to install 0.831 as the installer.iso has bug that I am sure will be resolved as soon as Cyber gets the chance to fix it, so I uploaded that as a temp method, but it comes in handy if you wish to restore the Action Replay or Action Replay 4M Plus also

    I can provide basic instructions if you are not sure how to use the CD
     
  18. cafealpha2

    cafealpha2 Site Supporter 2015

    Joined:
    Jul 4, 2014
    Messages:
    280
    Likes Received:
    20
    Sorry for the delay, but I finally could check your code up to this point :)
    if ((start_addr & 0x0F000000) == 0x06000000)

    Alternate loader for games that load in LRAM is a nice idea.


    Just another question : firmware seems to use interrupts in order to get pad status : how do you disable theses interrupts just before executing data from CD ?
    Do you confirm it is done in crt0.s ?
    ! Change SCU Mask
    mov.l CHGSCUMSK_ptr, r0
    mov.l @r0, r0
    mov.l NEWMSK, r5
    jsr @r0
    mov #-1, r4
     
  19. Tgames

    Tgames Member

    Joined:
    Jul 25, 2014
    Messages:
    12
    Likes Received:
    0
    @Cyber Warrior X, can you make a firmware version os pseudo which direct boot the game ? And when a combo of buttons is pressed we can the menu of pseudo ?
    I think it's better like that ;).

    Very good work for all is already done ;).
     
  20. r1cola

    r1cola Member

    Joined:
    Aug 6, 2014
    Messages:
    11
    Likes Received:
    0
    so, will I be able to do the flashing step with only a ARP and the burned iso? in other words, there was something mentioned about needing a method to write to the cart; does that mean the port on the older carts?
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page