Author Topic: It's coming.  (Read 22683 times)

0 Members and 2 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: It's coming.
« Reply #15 on: February 11, 2014, 12:33:12 am »
Ok cool to hear. Good luck :D

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: It's coming.
« Reply #16 on: February 13, 2014, 01:25:54 pm »
So, a small progress update. Since the first post, I've made the following changes/additions:
  • Changed: App is now built with makeapp
  • Changed: cmdPixelShadow is now saved/restored, home screen is redrawn properly on exit
  • Changed: Exit sequence now draws the homescreen at the very start (minus the status bar)
  • Changed: Crash recovery now seems to actually work properly. It also no longer requires pressing ON twice.
  • Added: Power-saving mode (CLEAR button)
  • Added: Backlight control (* and / buttons)
  • Added: Changeable color palettes (the 12 palettes available on the GBC for GB games)
  • Added: Zoomed-in mode (scales horizontally only, still need to implement vertical scaling)

Now I suppose the main things I need to do before a public release are:
  • Add some sort of splash/loading screen
  • Port my "release-build" makeapp which uses librabbitsign and has no external dependencies
  • Make a readme!

At some point, I'd like to add proper fullscreen scaling, but that would probably cause too much delay if I want to get this released soon. I think at first I'll release only on the forums, anyway, so I can work out any unforeseen issues.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: It's coming.
« Reply #17 on: February 13, 2014, 07:14:02 pm »
Nice job on the progress. Has any research been done into the late-era Game Boy games that try to provide their own limited form of palette color data (of course we're talking about Pokemon)? It's entirely possible that the palettization they do only looks simple and is in fact much more complicated under the hood, but I'm pretty sure that a large portion of TI-Boy users use it to play that (especially now with the guaranteed ROM and RAM space).

If you're not that interested in researching it to support it, I could offer to try.
« Last Edit: February 13, 2014, 07:17:18 pm by Runer112 »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: It's coming.
« Reply #18 on: February 13, 2014, 07:55:24 pm »
Nice job on the progress. Has any research been done into the late-era Game Boy games that try to provide their own limited form of palette color data (of course we're talking about Pokemon)? It's entirely possible that the palettization they do only looks simple and is in fact much more complicated under the hood, but I'm pretty sure that a large portion of TI-Boy users use it to play that (especially now with the guaranteed ROM and RAM space).

If you're not that interested in researching it to support it, I could offer to try.

Actually, how it works is that there is a list of games hardcoded into the GBC boot code (or rather, checksums of the names of those games), which indexes a list of predefined palettes. I think I may try to replicate this behavior, but perhaps not for the first release (it would require a good bit of reverse engineering).
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: It's coming.
« Reply #19 on: February 13, 2014, 11:48:00 pm »
Nice to hear. Btw for vertical zoom, will you just draw every 2 row of pixel like this to save speed? Not sure how this would look like on the CSE, but on the HP Prime it actually looks fine.


Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: It's coming.
« Reply #20 on: February 14, 2014, 12:02:10 am »
Nice to hear. Btw for vertical zoom, will you just draw every 2 row of pixel like this to save speed? Not sure how this would look like on the CSE, but on the HP Prime it actually looks fine.
You mean leaving rows blank? I suppose that could be possible, but keep in mind that the image will be scaled by something less than 2x, so it won't be evenly spaced and might not look great. Another thing is that I'm using the window wrapping to move from line to line after outputting each set of 8 pixels from a tile, so it's a choice between outputting the same 8 pixels again (which doesn't have much overhead with my rendering algorithm) or manually changing the position to output after each 8 pixels (which perhaps takes the same amount of effort as outputting 3-4 pixels as a rough estimate).
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: It's coming.
« Reply #21 on: February 14, 2014, 12:05:41 am »
Oh right I forgot you didn't plan to add scrolling. It would actually have only worked with scrolling. My bad x.x

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: It's coming.
« Reply #22 on: February 14, 2014, 06:50:04 pm »
It's getting closer...!
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: It's coming.
« Reply #23 on: February 15, 2014, 10:34:15 am »
Nice to see that TI-Boy is coming to the CSE. :) Thou, Sir, art awesome.
* Streetwalrus draws hat

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: It's coming.
« Reply #24 on: February 15, 2014, 11:02:56 am »
That new splash screen looks really great! :D

Offline rw24

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +0/-0
    • View Profile
Re: It's coming.
« Reply #25 on: February 15, 2014, 01:00:06 pm »
Looks really cool! But are you going to keep the top status bar and/or make the splash screen in color? Also, it would be cool if while you are playing, since it isn't full screen, it could show like a little Game boy shell? Just some ideas. Oh, and would Pokemon Gold and Silver be in color? Because they work on the Game boy, but they are in color.
« Last Edit: February 15, 2014, 01:03:00 pm by rw24 »

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: It's coming.
« Reply #26 on: February 15, 2014, 03:55:48 pm »
Also, it would be cool if while you are playing, since it isn't full screen, it could show like a little Game boy shell?

You can't see it, but behind the scenes, the 80 pixels of black on left and right sides of the game window (160 in total) are used as a buffer to render the next frame to. So the full horizontal width of the screen is actually used up already. The black parts directly above and below the game (each 160x48) are available for use, though, so that's possibly worth considering. Although I'm really waiting for the fullscreen emulation mode which, while a bit slower, won't have any black space anywhere. :P

Oh, and would Pokemon Gold and Silver be in color? Because they work on the Game boy, but they are in color.

Those are Game Boy Color games. The Game Boy color is not supported for emulation due to a number of increased technical difficulties in emulating it.
« Last Edit: February 15, 2014, 03:58:07 pm by Runer112 »

Offline ordelore

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +7/-0
  • Genius and Friend
    • View Profile
    • ordelore8x
Re: It's coming.
« Reply #27 on: February 15, 2014, 04:08:44 pm »
Oh, and would Pokemon Gold and Silver be in color? Because they work on the Game boy, but they are in color.

Those are Game Boy Color games. The Game Boy color is not supported for emulation due to a number of increased technical difficulties in emulating it.
Correction: Those games ARE Gameboy games. They were released right when the Gameboy Color was first released and so retained backwards compatibality with the Gameboy. I can prove this because I have a Gameboy original that can play Pokemon Silver. When run on a Gameboy, it simply uses monochrome textures.
« Last Edit: February 15, 2014, 04:09:23 pm by ordelore »
I am a friend.
I mine Bitcoins.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: It's coming.
« Reply #28 on: February 15, 2014, 04:27:49 pm »
Oh, and would Pokemon Gold and Silver be in color? Because they work on the Game boy, but they are in color.

Those are Game Boy Color games. The Game Boy color is not supported for emulation due to a number of increased technical difficulties in emulating it.
Correction: Those games ARE Gameboy games. They were released right when the Gameboy Color was first released and so retained backwards compatibality with the Gameboy. I can prove this because I have a Gameboy original that can play Pokemon Silver. When run on a Gameboy, it simply uses monochrome textures.

Really? I always knew they were shaped like Game Boy cartridges, so I guess it isn't that surprising. Maybe with some work, they could function in full color, but I certainly wouldn't hold my breath for this. I guess we'd have to wait to hear what calc84maniac thinks of its feasibility/infeasibility.

EDIT: Confirmed that Pokemon Silver does indeed run, although it suffers from the inability to save properly like the other Pokemon games currently. A note to anyone who does want to load up a generation 2 game, though: they seem in general to run more slowly. Regardless of the frameskip setting I was using, it took about 2 seconds longer to walk 8 squares in Silver than in Red in their respective starting towns.
« Last Edit: February 15, 2014, 07:27:24 pm by Runer112 »

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: It's coming.
« Reply #29 on: February 16, 2014, 04:04:05 am »
Great work! Btw, how is the black space used, exactly? Is it just used as a gbuf to get around the fill effect of updating so many pixels at once? I'm also curious what tricks are used to avoid redrawing the full screen every frame.

I still can't believe that this is even possible!