• TI-Boy CE Progress Thread 5 1
Currently:  

Author Topic: TI-Boy CE Progress Thread  (Read 45895 times)

0 Members and 1 Guest are viewing this topic.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2906
  • Rating: +469/-17
    • View Profile
    • TI-Boy CE
Re: TI-Boy CE Progress Thread
« Reply #60 on: March 20, 2022, 02:59:32 pm »
I just made a new release which makes use of newly discovered LCD documentation to eliminate diagonal screen tearing in fullscreen mode! I'd definitely appreciate feedback on this release because it's a bit experimental. More info here.

This release also lays some important groundwork for future GBC rendering. Up until now I used 4 bits per pixel for fullscreen rendering so I could render two pixels at once in a single byte, but the GBC can display well more than 16 colors at once, so I'll need 8 bits per pixel for it. This means the framebuffers would have to be twice as large (and require twice as many writes to render to it), which would be bad for memory usage and performance.

With this change though, my framebuffers only need to be 160x240 pixels, so I can expand to 8 bits per pixel with no memory cost. Even for original Game Boy, this is an improvement just to get rid of special-casing for 4-bit or 8-bit rendering. With a 256-color palette, I was also able to greatly increase performance when rendering multiple sprite palette configurations in a single frame (which doesn't happen often, but it was a terrible edge case before).

With this release, hopefully I can go back to my emulator core rewrite for GBC support, which I stalled while working on these rendering updates.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline the_cone

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: TI-Boy CE Progress Thread
« Reply #61 on: July 02, 2022, 03:54:03 pm »
This app is by far the coolest thing about gaming on a TI calc that I've found.  I'm curious to know how your progress on adding GBC support is coming and how realistic it is that you will be adding GBC support in the near future.  One of the reasons I ask is because I modded Super Mario Land 2: 6 Golden Coins to include full color.  Everything works fine when converting the rom to .b84 and it even boots up but I'm met with the message that Game Boy Color is not currently supported.  Nonetheless I'm having a blast playing Link's Awakening and other classic GB games but full color would be really cool  8)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2906
  • Rating: +469/-17
    • View Profile
    • TI-Boy CE
Re: TI-Boy CE Progress Thread
« Reply #62 on: July 02, 2022, 04:20:53 pm »
This app is by far the coolest thing about gaming on a TI calc that I've found.  I'm curious to know how your progress on adding GBC support is coming and how realistic it is that you will be adding GBC support in the near future.  One of the reasons I ask is because I modded Super Mario Land 2: 6 Golden Coins to include full color.  Everything works fine when converting the rom to .b84 and it even boots up but I'm met with the message that Game Boy Color is not currently supported.  Nonetheless I'm having a blast playing Link's Awakening and other classic GB games but full color would be really cool  8)

I recently (mostly) finished my emulator core rewrite, and I'm actually working on GBC support right now. So far I have a basic working GBC renderer, though I still need to properly implement it so the emulator can use either the original GB renderer or the GBC renderer (right now they're two different builds). Save states are totally broken, so I need to fix that as well.

I've successfully been able to boot some GBC games that don't use other new features like the double CPU speed or the DMA hardware, but I've still got a good bit of work to do on that front. There's also the color correction feature to implement, which I need to consider carefully because unlike GB colorization it has to work with dynamic palettes.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline the_cone

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: TI-Boy CE Progress Thread
« Reply #63 on: July 03, 2022, 10:35:42 pm »
That's great news - looking forward to seeing the next evolution of TI-Boy!