![]() |
First porting effort.. atari800 emulator
4 Attachment(s)
Well my respect and appreciation for you all just keeps getting higher and higher the more I try to do with my N800.
I am trying to port the atari800 emulator to os2008 and after configuring it for sdl and compiling it does work, after a fashion. (see photos) If anyone has any hints on how to hildonize it properly (yes, I have read the 'Maemo 4.0 Porting Guide' and to be honest I had less idea how to do it when I finished reading that than I did before I read it.) Atari800 doesn't use glade, which is the example used in the porting guide (it doesnt have a UI persay, just the window it runs in.) I am not sure it even really needs hildonizing to be honest. Sound is another issue, when running the basic cart/rom there is supposed to be a short phht noise and then the READY prompt. well the phht noise never stops though the other sounds seem to work properly (key press and such) you can use the dpad to arrow around the screen and the center button is enter. I am going to create a 'boot disc' for it and pop it into the 'drive' and see how much else is working. So anyway, just putting this out there and if anyone has any tips, ideas or just wants to offer suggestions please do. Thanks, -John You can find more information about this port at http://www.n8ftl.com/maemo and more information on the original at http://atari800.atari.org. |
Re: First porting effort.. atari800 emulator
1 Attachment(s)
Well, making progress. I now have MyDos running on it. A bluetooth keyboard works in full screen and XKBD in windowed mode..
-John |
Re: First porting effort.. atari800 emulator
Hehe, nice :)
Would xkbd work with it? |
Re: First porting effort.. atari800 emulator
1 Attachment(s)
Quote:
I just thought about that as you must have been posting, took it out of full screen and tried it. Going to try the side keyboard that Addison created for DOSBox as it would work well with this too. -John Gaming seems to work, though sound is not great yet.. |
Re: First porting effort.. atari800 emulator
Lol.
About Hildonising, I don't think you really could. Just map the full screen function to F6 & fix minimising :) |
Re: First porting effort.. atari800 emulator
Quote:
I also need to figure out how SDL handles 'joysticks' so I can map joystick1 to the d-pad and fire to the center button. The games run, but you can not control them.. There are configuration options for the joystick on atari800 but I have not tested them.. Back to work... -John |
Re: First porting effort.. atari800 emulator
As a fellow n00b developer (my crap port y/day :p)
Look in the c files for SDLK and something after it. Run xev on the device and see which button does what and map that to the right button in http://www.libsdl.org/cgi/docwiki.cgi/SDLKey and change in the code. Like middle dpad button= return (xev) = SDLK_RETURN Full screen button at top = F6 (xev return value) = SDLK_F6 |
Re: First porting effort.. atari800 emulator
Quote:
OK then...(with that EXTREMELY helpful information) I now have the joystick mapped to SDLK_RETURN, SDLK_LEFT, SDLK_RIGHT, SDLK_UP, and SDLK_DOWN. and I can play Bezerk. sound isnt horrible, but it is a bit slow. The full-screen and minimize buttons I have to work on still, thats not as simple as just changing key-mappings in the code. However thats what this is all about, learning how to port to maemo.. well that and having a wicked cool Atari130Xe on my N800 ;) time to go back to maemo.org and see what I can find out about the hildon libs.. -John |
Re: First porting effort.. atari800 emulator
Quote:
:), good luck with this :) |
Re: First porting effort.. atari800 emulator
2 Attachment(s)
Quote:
-John "still searching maemo.org" Tobias |
All times are GMT. The time now is 13:54. |
vBulletin® Version 3.8.8