New Theme for EZ-Flash Omega!

Discussion in 'GBA - Flashing Hardware and Software' started by Sterophonick, Oct 13, 2018.

  1. kuwanger

    kuwanger GBAtemp Maniac

    Member
    9
    Jul 26, 2006
    United States
    AFAIK, all cheats are ram cheats and are called once per frame--that is whenever keyinput happens which is in most games checked once per frame. On-the-fly toggling of cheats could be done pretty trivially with a 32-bit mask or 64-bit mask (limiting active cheats to 32 or 64 depending on how you wanted to make it) and would hence require 4 or 8 bytes of RAM. Actually code wouldn't be too difficult--it should only require a mov r0,r0,lsr#1 and a movcc .... The hard part would be constructing and displaying the menu, the number of codes would be more fixed, and finding the RAM to actually store the active cheats flags. It'd also use up 2x as much CPU time per frame (or more) which makes it more likely to glitch out in games.

    Overall, not impossible to do but it doesn't seem worth all the trade-offs IMHO.
     
  2. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    I stand corrected.
     
  3. GBAResearcher

    GBAResearcher Member

    Newcomer
    1
    Jan 21, 2016
    United States
    Thanks for all the insight guys. If what kuwanger said could be done then I think it's worth incorporating. Make it an experimental mode with a disclaimer of the risks. I'm sure some codes would be easier to use on certain games than others so as long as people understand that then why not. I'll donate to anyone willing to add this function.
     
  4. noda

    noda Advanced Member

    Member
    2
    Nov 14, 2002
    France
    Thanks! How to use your provided reset patch on existing emulators?

    @Stereophonick Are the emulators provided with your theme already exit-patched, or do we have to be careful?
     
  5. kuwanger

    kuwanger GBAtemp Maniac

    Member
    9
    Jul 26, 2006
    United States
    Each one has to be individually patched, which I haven't gotten around to. I really only included the information as an FYI if people did start seeing a clear pattern of using emulators and corruption for a possible fix. As it stands, though, there isn't anything clear and if there are corruption issues it really needs to be addressed in the firmware because it applies to more than just emulators but possibly all games. :/
     
  6. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    They are exit patched, but they do not wait for 3 seconds
     
    noda likes this.
  7. kuwanger

    kuwanger GBAtemp Maniac

    Member
    9
    Jul 26, 2006
    United States
    More specifically, when you select exit, there's a write to SRAM, then the exit patch runs a fraction of a second later. So, presumably either (1) the SRAM write happens fast enough that the FPGA (or whatever it is they're using) doesn't notice, (2) the SD card is written to successfully in that fraction of second, or (3) something else is happening. :/
     
  8. GBAResearcher

    GBAResearcher Member

    Newcomer
    1
    Jan 21, 2016
    United States
    BTW thanks for this firmware. I'm using it and really don't want to revert to default.
     
  9. Robert McCoy

    Robert McCoy GBAtemp Fan

    Member
    4
    Apr 9, 2015
    United States
    Can't wait for this to be updated with the new firmware release! Excited.
     
    flatgba likes this.
  10. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    It is being worked on.
     
  11. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    Update 2.3:
    - Updated to Kernel 1.06, FW 7.
    - Improved Chip-8 Emulation
    - Improved Arcadia 2001 Emulation
     

    Attached Files:

    Sasori, Srandista, romanaOne and 2 others like this.
  12. flatgba

    flatgba Member

    Newcomer
    1
    Aug 6, 2015
    Beautiful work as always. Thank you for the update!:yaysp::sp:
     
  13. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    Aww shucks~
     
  14. kuwanger

    kuwanger GBAtemp Maniac

    Member
    9
    Jul 26, 2006
    United States
    Thanks for the update. Source? :)
     
  15. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    It will be pushed when I get the chance.
     
  16. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    The source has now been pushed.
     
  17. kuwanger

    kuwanger GBAtemp Maniac

    Member
    9
    Jul 26, 2006
    United States
    A few things. One, a small bug fix for ezkernel.c. Two, a file case change so draw.c will compile. Three, some plugins with source (a different sb.gba and a fork of Maxim's vgmplayer to support compressed/grouped vgm files). Also, gsm files do work for me but my test example was <1MB and the bug I fixed applies to >~8MB stuff.

    Edit - Re-uploaded pogoplugins_with_source to change sb.gba to do proper reset; includes precompiled libmm.a (you'll have to fix the Makefile to make it find the mm library for mmgba to compile). Tried to just compile vgmplayer and even the oldest copy of devkitarm I have (r26) causes the background to go all red which I think means 100% CPU usage. So, uh, yea, not going to be as trivial to fix. :/
     

    Attached Files:

    Last edited by kuwanger, Apr 23, 2019
  18. Yrouel

    Yrouel Newbie

    Newcomer
    1
    Apr 16, 2019
    Italy
    Hello, I like the added features of Simplelight compared to the stock version however I very much prefer the original look of the interface (and the double GameBoy boot is a bit annoying too). Is there a way to have the original look and the new features?
    To be honest I hope the new emulators and stuff could be merged to the official firmware/kernel, Sterophonick should very well be an official developer at this point
     
    noda and Sterophonick like this.
  19. maniacnny

    maniacnny Member

    Newcomer
    1
    Mar 29, 2019
    Ukraine
  20. Sterophonick
    OP

    Sterophonick GBAtemp Regular

    Member
    3
    Jul 17, 2018
    United States
    My Laptop XD
    Aww, that's so nice.
     
Loading...