1. EZ-Flash2

    OP EZ-Flash2 Official EZ-FLASH Stuff
    Member

    Joined:
    Jul 16, 2003
    Messages:
    540
    Country:
    China

    I watched the video you posted, and if the music I heard is correct, the game has loaded correctly and started successfully, but your screen is off.

    In the case of the DMG backlight resistors I mentioned earlier, they couldn't even load the kernel on the SD card, but everything worked fine in your operation until the screen turned itself off.

    I forwarded the video to mod guru, he watched it and gave his opinion: it should be that the screen driver is not supplying enough power to the board when loading game, then it caused the screen shuting down. whether it is a cable problem or a driver board problem needs to be overhauled!
     
    Last edited by EZ-Flash2, Aug 7, 2020
    drenco likes this.
  2. Toivogamer

    Toivogamer Member
    Newcomer

    Joined:
    May 14, 2020
    Messages:
    26
    Country:
    Finland
    Will you ez flash devs start adding cheats or game compatibility settings like changing mbc save types for some games?
     
  3. Shadow#1

    Shadow#1 Wii, 3DS Softmod & Dumpster Diving Expert
    Member

    Joined:
    Nov 21, 2005
    Messages:
    8,843
    Country:
    United States
    Nope it's to early for that
     
  4. NieDzejkob

    NieDzejkob Newbie
    Newcomer

    Joined:
    Aug 7, 2020
    Messages:
    3
    Country:
    Poland
    Hi there! I'm one of the devs of Pokemon Prism, and I have been investigating your implementation of the RTC with the sample cart you've sent us.

    I wrote a small tool that lets you play around with the RTC registers. I can't seem to post the link here; you should be able to find it on my GitHub - the same username as here, in the mbc3-fiddle repository.

    I have tried it on the firmware from post #405 in this thread, and... I am surprised any games work at all. It seems that the registers you write to are separate from the ones you read from. Specifically, it seems that writes are stored in some sort of "RTC base", which then gets added every second to the time elapsed.

    This means that if the game writes exactly what it read back, the readout will suddenly double. This is quite different from what the actual hardware does - if you write a value (that's in range) and re-latch the registers, you'll read back exactly what you wrote.

    I am also attaching a test ROM by Matt Currie that tests some aspects of the RTC behavior. I hope you'll find it helpful. Meanwhile, I'm collaborating with him to test more cases; I'll inform you of the results as we figure things out.
     

    Attached Files:

  5. EZ-Flash2

    OP EZ-Flash2 Official EZ-FLASH Stuff
    Member

    Joined:
    Jul 16, 2003
    Messages:
    540
    Country:
    China
    Okay, thanks very much, we're using your tool for debugging.
     
  6. Localhorst86

    Localhorst86 Robert'); DROP TABLE members;--
    Member

    Joined:
    Jul 17, 2014
    Messages:
    2,377
    Country:
    Germany
    Yeah, you can only post links when you have more than 10 posts, so here's a post with the link for convenience :)
    https://github.com/NieDzejkob/mbc3-fiddle
     
  7. EZ-Flash2

    OP EZ-Flash2 Official EZ-FLASH Stuff
    Member

    Joined:
    Jul 16, 2003
    Messages:
    540
    Country:
    China
    We've been working with the tool you provided for a few days, and we're not quite sure how to work out the doubling of values you mentioned, can you give us a step-by-step guide on how to do it?
     
    WiLLiW and RetroKarl like this.
  8. WiLLiW

    WiLLiW Member
    Newcomer

    Joined:
    May 2, 2020
    Messages:
    38
    Country:
    Brazil
    Any prediction if save states function will be developed?
     
  9. NieDzejkob

    NieDzejkob Newbie
    Newcomer

    Joined:
    Aug 7, 2020
    Messages:
    3
    Country:
    Poland
    Sorry, I should've been more specific in the first place.

    1. Enable auto latching
    2. Write 00 to the seconds register.

    At this point, the expected behavior is that the seconds register reads 00. Instead, it will be a small value corresponding to something like the amount of time the cart has been on.

    3. Set up a write of 10, and execute it just as the seconds register increases from 0F to 10. Instead of being a no-op, the write will make the value jump to 20.

    Is this clear?
     
    CaptainKennedy likes this.
  10. EZ-Flash2

    OP EZ-Flash2 Official EZ-FLASH Stuff
    Member

    Joined:
    Jul 16, 2003
    Messages:
    540
    Country:
    China
    Copy that. We'll look into it further.
     
  11. ndsLight

    ndsLight Newbie
    Newcomer

    Joined:
    Dec 28, 2019
    Messages:
    7
    Country:
    Belarus
    Hi. Gameboy Color games do not work on firmware 4 on ez flash jr on gb boy colour. Do you plan to add full support of ez flash to gb boy? Please!
     
    Last edited by ndsLight, Aug 18, 2020
  12. EZ-Flash2

    OP EZ-Flash2 Official EZ-FLASH Stuff
    Member

    Joined:
    Jul 16, 2003
    Messages:
    540
    Country:
    China
    @NieDzejkob
    We did a new firmware update by using the tools you provided. Please check if it is still not working properly

    Other Prism players can upgrade this firmware for testing as well!
     

    Attached Files:

    zfreeman likes this.
  13. DrunkenMonk

    DrunkenMonk GBAtemp Fan
    Member

    Joined:
    Sep 30, 2007
    Messages:
    425
    Country:
    United Kingdom
    Tried this and it seems to exhibit the same behaviour as before with the almost a year being skipped, but now with the added caveat games occasionally crash whilst loading or hang on a white screen for 15~ seconds before progressing to the nintendo logo (debug build of some kind I guess?)

    I also tried formatting the SD card (slow format), replacing the ROM, placing a new prism game file and ezgb.dat and it somehow still loaded a save??

    Renamed prism file (since I figured somehow the cart was holding the sav in the rom?)
    Time skip still occurred afterwards whilst saving
     
  14. Shadow#1

    Shadow#1 Wii, 3DS Softmod & Dumpster Diving Expert
    Member

    Joined:
    Nov 21, 2005
    Messages:
    8,843
    Country:
    United States
    Started with a brand new save for each test?
     
  15. DrunkenMonk

    DrunkenMonk GBAtemp Fan
    Member

    Joined:
    Sep 30, 2007
    Messages:
    425
    Country:
    United Kingdom
    Renaming the file creates a new sav file, but yes the first one was a format before even attempting, second attempt somehow loaded the same save file even though I removed the entire SAVER folder from the SD card and put a new prism rom on. Not really sure how it managed that. Third attempt I deleted the SAVER folder again, replaced the ROM and named it something else entirely, created a new save and was met with the same time skip behaviour as previously experienced. Either way the first test from format > put files on sd > boot game > save > turn off and back on > boot game > time is wrong by a year and change or more
     
  16. EZ-Flash2

    OP EZ-Flash2 Official EZ-FLASH Stuff
    Member

    Joined:
    Jul 16, 2003
    Messages:
    540
    Country:
    China

    just turn off the auto save function, and skip the saver backup windows in next boot.
     
  17. DrunkenMonk

    DrunkenMonk GBAtemp Fan
    Member

    Joined:
    Sep 30, 2007
    Messages:
    425
    Country:
    United Kingdom
    Ahh okay, that makes sense now how it retained the save file. But the RTC behaves even worse for me now, if I start a new game on prism, set the date to august 20/20 10am. After I reach a point in the game where I can save, my time reads as april 23 10:02am(before hitting save) After hitting save and reloading the game it jumped to 15 Oct 2022 15:45pm
     
  18. RetroKarl

    RetroKarl Advanced Member
    Newcomer

    Joined:
    May 26, 2020
    Messages:
    63
    Country:
    Mexico
    For me testing in one of the "weird" cards I get the correct date, but it seems that every time I save, it adds to the clock time the minutes that I have played for the next reload of my game save. In these days I will try to continue testing with other Prism Roms and one of the "normal" cards to see if the result is different. I will update the results in this coment.

    UPDATE TEST: Comment #510
     
    Last edited by RetroKarl, Aug 22, 2020
  19. EZ-Flash2

    OP EZ-Flash2 Official EZ-FLASH Stuff
    Member

    Joined:
    Jul 16, 2003
    Messages:
    540
    Country:
    China
    @DrunkenMonk @RetroKarl
    I tested Prism's v0.9.4-b0235 and the original Crystal separately.

    On the original Crystal, the issue of repeatly save added in-game time does not occur.
    But it happens on Prism, When saving, it added the time elapsed in the game.

    It's hard for me to express what the problem is.
     
  20. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer
    Developer

    Joined:
    Jul 23, 2012
    Messages:
    8,011
    Country:
    United States
    Maybe somebody could invite the developer of Prism to this thread and we could get down to the bottom of this? :unsure:
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - TestFlight, Junior, FLASH