|
Post by jezlee on Jun 29, 2008 21:00:43 GMT 1
LJP on Centro - needs some work - JeZ+Lee CAN Help(6-29-2008)Hi, LJP is without question the greatest software ever made for Palm OS. I recently upgraded from a Treo 650 to a new Centro. LJP seems ok on this device, but here are some issues:(1) CAN NOT map button to [POWER BUTTON]Currently in LJP, pressing [POWER BUTTON] turns off device. You CAN map to this button (i do it successfully on T-Crisis 100%). ----------------------------------------------------------------------------------- To stop button from responding to press and turning off device, this would be the code: if ( (event.eType == keyDownEvent) && ( TxtCharIsHardKey(event.data.keyDown.modifiers, event.data.keyDown.chr) ) && (event.data.keyDown.chr >= vchrHard1) && (event.data.keyDown.chr <= vchrHardPower) ) && ( !(event.data.keyDown.modifiers & poweredOnKeyMask) ) ) { continue; }Above code would go into "Application Event Loop"... You would read this button (value of 1) using: CurrentKeyState(), which i think you are already doing... ----------------------------------------------------------------------------------- (2) SNES is not listed on launcher on Centro???- Don't know why, perhaps you can look into this? (3) Pokemon GB/GBC clock does not work:- Pokemon games have a clock in them which affects gameplay. Any way to make these games work 100% on LJP? (LJP has a clock in it already, can you not pass this data to the Pokemon games?) I'll add more after some more testing on Centro device... JeZ+LeeSLNTHERO@aol.comofSilent Hero Productions(R)Video Game Design Studio www.SilentHeroProductions.com
|
|
|
Post by samphex on Jun 29, 2008 23:22:06 GMT 1
1 Centro power button works for me...
2 HUH? Snes wha? explain?
3 the clock in pokemon games was done by the battery in the actual cartridge. So you cannot "implement" time into it. Try any other gbc or gb emulator. The same will happen. The clock will slowly go off track.
|
|
|
Post by jezlee on Jun 30, 2008 12:00:57 GMT 1
Hi Again,
Sorry, but the SNES is working now. Was my error.
Also, the Centro [POWER BUTTON] is working too!!!
There is no way to make Pokemon clock work? I am a Pokemon junkie!!!
Killer application, is the greatest Palm application ever!!!!
Peace!
JeZ+Lee
|
|
|
Post by icefire on Jun 30, 2008 16:41:04 GMT 1
I don't think so, it would be pretty hard to do and I don't think thats what metaview is working on....maybe LJX?
|
|
|
Post by Tinnus on Jul 1, 2008 19:11:51 GMT 1
It's not exactly hard. You basically store the (host) system time along with saved state/SRAM, and when loading, calculate the difference between current and saed time, then increment the RTC by that. I think I implemented a different (easier) approach in LJP: it just reads the current system time and sets the GC RTC to that. Dunno if it's sstill ther ethough of if it even went public
|
|