Ohboy Caanoo Port


qbertaddict said:
On DKsoul's version is there a way to remove the show fps. I can't seem to find the option.
The necessary code for that option isn't yet implemented:
Code:
main.c:/* TODO make sdl_showfps an RC variable AND add a menu entry */
I have recompiled OhBoy executable without without the fps square, get it here and copy over the old one.
 
Last edited by a moderator:
DkSoul said:
qbertaddict said:
On DKsoul's version is there a way to remove the show fps. I can't seem to find the option.
The necessary code for that option isn't yet implemented:
Code:
main.c:/* TODO make sdl_showfps an RC variable AND add a menu entry */
I have recompiled OhBoy executable without without the fps square, get it here and copy over the old one.
Thanks so much!
 
Last edited by a moderator:
For some reason, on my Caanoo, I can NOT close down OhBoy. It just freezes..
 
I have not tried this yet , but would it be possible to rotate the screen and use the help I-II buttons as A and B... or would that not work well,
Though it would give a feel of a real gameboy ;)
 
All this recompilation for buttons shouldn't be necessary, you can configure them via the RC file - as I think clach mentioned earlier. I'd need to look up the correct values you're supposed to use though...

If there's interest in this still, I might pick it up and work on it some more. Sort of stuck on the other Caanoo things I'm working on, so this could be a nice diversion. No promises ;)
 
qbertaddict said:
lnx64 said:
For some reason, on my Caanoo, I can NOT close down OhBoy. It just freezes..
Make sure that your ini file is pointing to the ohboy.gpu not ohboy.gpe
It is pointing to .gpu..

Still locks up..
 
Last edited by a moderator:
it would be nice to have support for PNG or BMP borders. you know, for when you are playing without scaling, being able to show this onscreen:
screenshot1-1.png


or this...

screenshot3-1.png


Gnuboy4D (for dingoo) supported this feature.

Also a menu option for redefining keys would be great.

BTW, the 1.5x scaler has buggy colors. This happens when you start the emulator with the 1.5x set as the default scaler. Anyone is also experiencing this on DKSoul's version?
 
fishybawb said:
All this recompilation for buttons shouldn't be necessary, you can configure them via the RC file - as I think clach mentioned earlier. I'd need to look up the correct values you're supposed to use though...

If there's interest in this still, I might pick it up and work on it some more. Sort of stuck on the other Caanoo things I'm working on, so this could be a nice diversion. No promises ;)

Wow, seems like there has been some activity here recently :) I'm glad the new features that have been added have been found!

Yup config file should help here :)

I've documented the (dingoo) settings in the wiki for OhOboy at http://code.google.com/p/ohboy/wiki/DingooOhBoy (see the bottom of the page). Whilst it mentions the Dingoo, the same principles apply.

If there is Caanoo specific stuff (and I'm sure there will be) let me know (e.g. comment in the wiki or PM me). If there is good information added I can always grant project permissions to someone who has posted good information.

If any code changes are needed for the Caanoo, we should try and keep them together with the PC and Dingoo port, at http://code.google.com/p/ohboy/ One cool thing about google code with Mercurial is that you can clone and push changes without having permissions on the OhBoy project and google take care of all the hosting.
 
Last edited by a moderator:
hi-ban said:
it would be nice to have support for PNG or BMP borders.....
Gnuboy4D (for dingoo) supported this feature.

Lemonboy had/has this too.

OhBoy could handle this too, by hacking at the scaler code when it blits from in memory to the SDL buffer. It would be nice to have it, I'm not sure when I'll get around to implementing this. I spent a long time cleaning up OhBoy and gnuboy and then removing all the gameboy emu code from OhBoy to avoid it being yet another fork of gnuboy. I've sort of ran out of steam and I've been taking a break for a while. If anyone wants to add code that would be awesome.

hi-ban said:
Also a menu option for redefining keys would be great.

Yes... or the other way to look at this would be we need a GUI for gnuboy. gnuboy supports all sorts of cool stuff (like FPS indicator control) but there is no GUI/menu for it. It would be really nice to kill off OhBoy and have the GUI builtin to gnuboy but this is a long way off :-( I've had to re-implement a bunch of stuff in OhBoy that is already in gnuboy. I both love and gate OhBoy because it is a pretty nice frontend, but it is a pain to maintain.

hi-ban said:
BTW, the 1.5x scaler has buggy colors. This happens when you start the emulator with the 1.5x set as the default scaler. Anyone is also experiencing this on DKSoul's version?

I think you posted the bug report in the issue tracker for this ( http://code.google.com/p/ohboy/issues/detail?id=5 - excellent bug report by the way, very clear and screenshots are a great help with these sorts of problems). I'm just not seeing this with the Dingoo version though. This may be Caanoo only, but I don't know for sure :-(
 
Last edited by a moderator:
DkSoul said:
qbertaddict said:
On DKsoul's version is there a way to remove the show fps. I can't seem to find the option.
The necessary code for that option isn't yet implemented:
Code:
main.c:/* TODO make sdl_showfps an RC variable AND add a menu entry */
I have recompiled OhBoy executable without without the fps square, get it here and copy over the old one.

Yeah, I have implemented this code in gnuboy though. So it is possible to have this behavior BUT you loose the nice menu that OhBoy offers by doing that. See http://code.google.com/p/gnuboy/source/diff?spec=svn99&r=99&format=side&path=/trunk/docs/WHATSNEW

Here is where the simple FPS was added to OhBoy http://code.google.com/p/ohboy/source/detail?r=415b39bcecc5de304678427ff59d23e83c361368 - it is possible to steal the gnuboy code that does the same thing.
 
Last edited by a moderator:
DkSoul said:
BAFelton said:
Posted here : http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,71,748
This version still doesn't allow roms inside zip files, so I compiled a new version with the most recent code from both ohboy and gnuboy projects.
It's available here.


Awesome! Did you need to make any code changes (or make file changes)?

It would be great to get those added to the OhBoy project.
 
Last edited by a moderator:
clach04 said:
hi-ban said:
BTW, the 1.5x scaler has buggy colors. This happens when you start the emulator with the 1.5x set as the default scaler. Anyone is also experiencing this on DKSoul's version?
I think you posted the bug report in the issue tracker for this ( http://code.google.com/p/ohboy/issues/detail?id=5 - excellent bug report by the way, very clear and screenshots are a great help with these sorts of problems). I'm just not seeing this with the Dingoo version though. This may be Caanoo only, but I don't know for sure :-(

I managed to reproduce this in the Linux version too - as a horribly dirty workaround, forcing the scaler to reinitialise before rendering fixes it, but I haven't got around to working out why exactly... I'll be sure to send a patch/let you know what I did when and if I fix it properly.

I'm sort of in two minds about OhBoy too, it would be really good just to have one GUI that fully takes advantage of gnuboy like you said. You've done some great work on this though, the code is in much better shape than when I first ported it to the Caanoo, so thank you :)
 
Last edited by a moderator:
clach04 said:
DkSoul said:
qbertaddict said:
On DKsoul's version is there a way to remove the show fps. I can't seem to find the option.
The necessary code for that option isn't yet implemented:
Code:
main.c:/* TODO make sdl_showfps an RC variable AND add a menu entry */
I have recompiled OhBoy executable without without the fps square, get it here and copy over the old one.

Yeah, I have implemented this code in gnuboy though. So it is possible to have this behavior BUT you loose the nice menu that OhBoy offers by doing that. See http://code.google.com/p/gnuboy/source/diff?spec=svn99&r=99&format=side&path=/trunk/docs/WHATSNEW

Here is where the simple FPS was added to OhBoy http://code.google.com/p/ohboy/source/detail?r=415b39bcecc5de304678427ff59d23e83c361368 - it is possible to steal the gnuboy code that does the same thing.


clach04 said:
DkSoul said:
BAFelton said:
Posted here : http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,71,748
This version still doesn't allow roms inside zip files, so I compiled a new version with the most recent code from both ohboy and gnuboy projects.
It's available here.


Awesome! Did you need to make any code changes (or make file changes)?

It would be great to get those added to the OhBoy project.
No changes were made to the original source code.
I just compiled the most recent versions of gnuboy and ohboy (you have the src folder inside the package).
 
Last edited by a moderator:
DkSoul said:
clach04 said:
Awesome! Did you need to make any code changes (or make file changes)?

It would be great to get those added to the OhBoy project.
No changes were made to the original source code.
I just compiled the most recent versions of gnuboy and ohboy (you have the src folder inside the package).

That is really good news, I'll list Caanoo as known to work on the main page.

You might want to take a look at the Makefile.linux_sdl and Makefile.dingoo makefiles as they offer ways to build smaller exes, without SDL_image and Freetype. This could be added to the Caanoo port too very easily.
 
Last edited by a moderator:
There is a new OhBoy build for caanoo.

http://www.gp32spain.com/foros/showpost.php?p=1285712&postcount=44

it fixes the glitchy colors bug.
 
hi-ban said:
There is a new OhBoy build for caanoo.

http://www.gp32spain.com/foros/showpost.php?p=1285712&postcount=44

it fixes the glitchy colors bug.

Thanks for the heads up Hi-ban. Sadly I don't speak Spanish (some people tell me I barely speak English... :p ) so I'm not going to be able to use the forum to contact bitrider :-(

The changes mostly look good but there are a few changes that remove (for the Caanoo port only) some SDL calls (text related and blitting) and I'm not clear why (I'm not clear about the new vid_screenshot() function either). SDL should just work, and if it doesn't the ideal is to fix SDL (sometimes there just isn't a better option, so if there is a reason we should document it in comments). It looks like the other ports should still build (not had chance to test yet) so if another Caanoo dev could take a look I'd be interested in rolling the fixes into code.google.com/ohboy. fishybawb / DkSoul any interest?
 
Last edited by a moderator:
I haven't looked at bitrider's changes yet, but I have a development build that fixes the colours, adds a show FPS option to the menu and supports a border/marquee for unscaled rendering. I'm working on button config via the menu at the moment. Too many cooks? :D It would be good just to have people update code.google.com, this is getting messy.

There was some issue with screenshot functionality that I noticed when compiling, but I just disabled it via the Makefile so I could get on with the changes I wanted to make. You're right though, should just work...
 
could you add this color palette to the emulator? (i think palettes are in menu.c)

Code:
  	.name = "DMG",
		.dmg_bgp  = {   0x006B5C, 0x265808, 0x343E08, 0x222004 },
		.dmg_wndp = {   0x006B5C, 0x265808, 0x343E08, 0x222004 },
		.dmg_obp0 = {   0x006B5C, 0x265808, 0x343E08, 0x222004 },
		.dmg_obp1 = {   0x006B5C, 0x265808, 0x343E08, 0x222004 }
 
Back
Top