Re: Pins on the Palm

2008-05-29 Thread Jonatan Fernstad
Have you looked on the PalmOS web site? Yes I have looked at that page and have not found any information on how to read the status of the I/O pins or where in memory this information is stored. One way (maybe) to find this out would be to join the Serial Port and Modem Casing program. Allthough

Pins on the Palm

2008-05-29 Thread Jonatan Fernstad
but that does not seem to be the case. Thanks, Jonatan Fernstad [EMAIL PROTECTED] -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Hardware question

2008-05-29 Thread Jonatan Fernstad
I don't believe there is currently any way to detect the presence of the Palm Portable Keyboard. I'm not sure about other devices. Trevor, I read in a FAQ about the PPK on palm.com that their driver Keyboard.prc is checking for the precense of the PPK every 3 minutes. So obviously it can be

Hardware question

2008-05-29 Thread Jonatan Fernstad
I need to detect if the Palm device is attatched to the Palm Portable Keyboard when my app is running. How would I go about doing this? Have anyone made an app to use with other hardware that you attatch to the Palm, like a modem ? Any help would be appreciated. Jonatan -- For information

Detect when Palm device is attatched to Portable Keyboard

2008-05-29 Thread Jonatan Fernstad
. HwrDockStatus returns 0x when my Palm is in the Hotsync Cradle, not in the HotSync Cradle and when it is attatched to the Portable Keyboard. So that did not do the trick...(?) Anyone have any ideas? Thanks, Jonatan Fernstad [EMAIL PROTECTED] -- For information on using the ACCESS Developer

Re: custom launch codes (enabling globals)

2005-01-11 Thread Jonatan Fernstad
a custom launch code. -- Jonatan Fernstad PalmOS Certified Developer www.clievideo.com pablo wablo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Let's say I have 2 applications. The first want would call the 2nd through SysAppLaunch(...) using a custom launch code. I read

Re: Does par tool work with Palm OS 6.1?

2004-09-22 Thread Jonatan Fernstad
Hi Jerry, Not sure I can answer your question, but I am sure that I would like to know which Palm OS 6.1 device you are working with? :) Jonatan Gerald McCobb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I created a file stream database on the PC using the par tool: par c -a

Re: TimGetTicks and Zire 21

2004-06-07 Thread Jonatan Fernstad
When using TimGetTicks on am omap device 100 ticks will actually be slightly less than one second, to be more exact 100 ticks is 327/327.68 = 0.9979248 seconds. 10 minutes equals 600 seconds which on the omap devices is 600 * 327 / 327.68 = 598.75488 'real' seconds. This explains your

Re: TimGetTicks and Zire 21

2004-06-06 Thread Jonatan Fernstad
Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 03:07 PM 6/6/2004, you wrote: I developed a stopwatch application for my Palm IIIx and it keeps perfect time. I bought a new Zire 21 and when I use the same application it loses 1 second every 10 minutes! I am using the

Re: Setting XScale clock speed

2004-05-23 Thread Jonatan Fernstad
Doug, I didn't realize it had a developer API -- thanks! I plan to post a note about the developer API here when the final 2.0 version of Lightspeed is released. Just a quick note now on how you would use it in a 3rd party application. In Lightspeed there are two CPU speed settings called High

Re: Setting XScale clock speed

2004-05-23 Thread Jonatan Fernstad
David, Be careful of the nasty crash/reset when using Lightspeed.. if you enable it and drag the scrollbar down the side, it will immediately crash your OS5 device (at least it does for my units here, reproducable on a hard reset OS5 device, every time). If you are seeing a crash when scrolling

Re: MemPtrOwner runtime error

2004-05-20 Thread Jonatan Fernstad
Sys 0505)(0,23) Error code 505 means that the function you are trying to call (MemPtrOwner) is not implemented on the device you are running your app on. Jonatan Chris Mitra [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I'm running into a runtime error when trying to

Re: CamLib Zire71 vs Zire72

2004-05-12 Thread Jonatan Fernstad
Regis, Have you tried byteswapping each 16 bit pixel in the picture on the Z72? At a quick glance it looks like it may be an endian issue. Jonatan www.clievideo.com Regis St-Gelais [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have an application that take picture using PalmOne

Re: Speed Issues......

2004-05-03 Thread Jonatan Fernstad
I am using a Omni Vision ( OV7648 color CMOS VGA (640*480) Camera) Ok. Out of curiosity, what type of application are you writing? I am doing YUV to RGB conversion in realtime in a PNOlet, but that is on the Zire72 which runs at 312 Mhz. I believe you should be able to do it on a T|E aswell if

Re: Speed Issues......

2004-04-28 Thread Jonatan Fernstad
My application needs to capture image from the Camera. I am using a Tungsten E handheld.(which has a OMAP processor from TI) What camera are you using with the TE? Or How can I IMPROVE teh speed Any Expert Comment.any suggestion ? Write your code in native arm (PNOlet) and

Re: Treo600 Problem

2004-04-06 Thread Jonatan Fernstad
You can use Daniel's application Crash from www.79bmedia.com which intercepts the SysReset api. It should let you see the error message (if any) before the reset occurs. Jonatan Keyur Patwa [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi guys, In my application, I am capturing

Stand alone 68k code resource in Codewarrior 9

2004-03-23 Thread Jonatan Fernstad
I want Codewarrior 9 to create a 68k stand alone code resource, or rather a 68k binary file from some c code. I used to do this earlier with Codewarrior 8, now I keep getting the following link error no matter how I define __Startup__ ... Link Error : __RunttimeModule__: '__Startup__' referenced

Re: Stand alone 68k code resource in Codewarrior 9

2004-03-23 Thread Jonatan Fernstad
Maybe you need some extern C magic. Yes, that got rid of the link error. Thanks. Is there a step by step manual how to set up a target in CW9 that creates (only) a stand alone 68k binary file? Not one of which I'm aware. Ok. Could you help me out with the target settings to get this to

Re: Stand alone 68k code resource in Codewarrior 9

2004-03-23 Thread Jonatan Fernstad
Use the Palm OS 68K Linker instead. With the Mac OS 68K linker, your code resource is there, but it's in a hidden RESOURCE.FRK folder. Ok. What do I need to do make CW create a 68k binary file? If I set the Post-linker to Palm Rez Post Linker I can create an output file that contains the

Re: Stand alone 68k code resource in Codewarrior 9

2004-03-23 Thread Jonatan Fernstad
Did you check to see if there's also a resource fork hidden? No, but I did now. And there was indeed a file created in the resource fork which contained the 68k binary, but it also had a ~ 320 byte header. Jonatan -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: Installing DIA-prc's from SD-card, databases already present???

2004-03-22 Thread Jonatan Fernstad
Caspar, I'd like to add some code to my app - that should run on a T3 - to test wether the AppSlipRotate and StatusBarLib databases are already installed. If you just want to test if you can use the Pin Manager on the T3 (which also means you dont have to install the files) , look for the

Detecting if device is in console mode

2004-03-09 Thread Jonatan Fernstad
I would like to find out, at runtime, if the device is in console mode. Console mode is entered if the user enters ..2, runs the DotDot2 app or any other app that calls SysLaunchConsole(). Is there a way to detect if the device is in console mode? A feature being set/changed? Some API which will

Re: This newsgroup not searchable in nntp?

2004-03-09 Thread Jonatan Fernstad
(the answer on how to detect whether the DIA support PRCs are installed - or present in ROM - on a Tungsten 3). AFAIK the DIA support PRCs are not included in the T3 rom update. To check whether they are present on the T3 look for the following feature. UInt32 version; Err err =

Was: time optimization

2004-03-01 Thread Jonatan Fernstad
-- Ben Combee, senior DTS engineer, PalmSource, Inc. Hey Ben, do you have a new job?! Congratulations :) I can guess what this means for the future of Codewarrior for Palm OS since you were pretty much the whole team working on the Palm part... ( But you probably wont be able to dicuss that

Re: Detect if T3Update was installed

2004-02-26 Thread Jonatan Fernstad
Is there any way to determinate if T3Update was installed or not? I'd like to put a warning message to one of our title, but unfortunately I have already patched my Tungsten-T3. Any suggestions are welcomed. You could check the creation date of the ROM on the T3 to check whether it is using

WinScreenMode bug on Zire71/Tungsten E

2004-02-04 Thread Jonatan Fernstad
Switching screen depth on my Zire71/Tungsten E device (probably happens on T1 and T2 aswell) causes a visual artifact. The display 'hickups' and a black rectangle with varying height and the width of the entire screen is displayed momentarily. Seems to me that this is the result of the DMA

Base address for Garmin iQue3600 hardware registers

2003-12-26 Thread Jonatan Fernstad
Does anyone know where in the virtual address space Garmin placed the internal hardware registers on the IQue3600? I am more specifically looking for the location of the general purpose hardware timers. TIA, Jonatan -- For information on using the Palm Developer Forums, or to unsubscribe,

Tungsten T3 performance change after power off -- power on sequence

2003-10-15 Thread Jonatan Fernstad
I have noticed something strange and rather annoying with the Tungsten T3. The first time that you power off and then powers on the T3 after a reset, the performance of the T3 is changed and everything runs slower than before the power off/power on. Has anyone else seen this on their T3? It is

Tungsten T3 slider position

2003-10-05 Thread Jonatan Fernstad
Is it possible to get the position of the Tungsten T3 slider? I am adjusting the VG area at startup to be either up/down depending on the state it was in when the user last exited the application. The VG area can not be moved down when the slider is up, and that is why I want to be able to detect

Tungsten T|3 and Dynamic Input Area

2003-10-03 Thread Jonatan Fernstad
is not something that I look forward too. TIA, Jonatan Fernstad clievideo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to do wide screen on Tungsten T3

2003-10-03 Thread Jonatan Fernstad
on the T|3. Jonatan Fernstad clievideo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Sony's own CPU in the new CLIE UX40/50

2003-09-09 Thread Jonatan Fernstad
The CPU in the Sony CLIE UX40/50 devices is Sony's own CXD2230GA. I am wondering if anyone have found any developer specific information about this CPU? A full Developers Reference Manual would be ideal - but it is probably not likely that we will be seeing one of those. I am specifically

BmpCreateBitmapV3 and Compressed Bitmaps

2003-08-21 Thread Jonatan Fernstad
I am converting version2 bitmaps to version3 bitmaps with BmpCreateBitmapV3 so that I can draw them with a density of kDensityDouble. This works OK for uncompressed bitmaps - for compressed bitmaps the resulting bitmap is distorted. The docs also states that BmpCreateBitmapV3 does not work with

Re: Sony clie TG50

2003-08-14 Thread Jonatan Fernstad
Hi all, I'd like to know ehat do you think about sony clie tg50? I'm planning to buy it and want to be sure that it's not a waste of money. This is not the correct forum for such questions. Try www.cliesource.com instead. -- For information on using the Palm Developer Forums, or to

Re: Discovering and using undocumented events on the Clie

2003-06-22 Thread Jonatan Fernstad
So EvtEnqueueKey((WChar)keyBitVoiceRec, 0, 0) should do the job, I thought. You need to have the commandKeyMask bit set in the 3rd parameter to EvtEnqueuKey, I believe. To be sure how the keyDownEvent looks like for the VoiceRec button set a breakpoint in your event loop, press the button and

Re: Discovering and using undocumented events on the Clie

2003-06-22 Thread Jonatan Fernstad
(b) take a few moments to do as Jonathan suggested with a breakpoint in the event loop of an app and let me know what the details are about the event that the Rec button fires. keyDown created when pushing the Voice rec button on a NZ90V. chr 5901 keyCode0 modifiers

Re: Programmatically launch a VFS file?

2003-06-20 Thread Jonatan Fernstad
There is a lot of hoop-jumping to do this manually, because there's a lot going on... import PRC to main memory (also check for newer versions in main memory and present a dialog if found), launch the PRC, wait until PRC is exited, delete the PRC from main memory, etc. Thats about what you

Re: Programmatically launch a VFS file?

2003-06-20 Thread Jonatan Fernstad
1) Setting the dmHdrAttrRecyclable bit doesn't guarantee that the application will be deleted from storage memory as soon as it's exited; rather, when the OS gets around to it. This can be mitigated by also marking the application as 'hidden' so it doesn't show up in Launcher if the OS

Re: Palm SG SDK available online

2003-05-27 Thread Jonatan Fernstad
Nicolas Pabion [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] All, I wanted to inform all developers that the new PluggedIn website of Palm Solutions Group is now up and running. Login is very simple and requires only few fields to fill. You'll be able to login right away (you'll

Re: SysSetTrapAddress in OS5

2003-03-29 Thread Jonatan Fernstad
setting/replacing the trap address is not possible anymore on PalmOS 5. Sure it is possible, just not officially supported. Patching the system table is what OS updates are doing, AFIK. /Jonatan -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: How to Easily Simulate/Emulate Low Memory

2003-03-18 Thread Jonatan Fernstad
I would do something like this. 1. Check how much free memory is available. 2. Create a new database and fill it up with records (choose a good recordSize) in a loop until you only have X bytes free in RAM. 3. Run your application. /Jonatan Mike McCollister [EMAIL PROTECTED] wrote in message

Re: New features in CW Palm OS V9 (was Re: Vr9 Pricing??)

2002-11-14 Thread Jonatan Fernstad
- debugger has totally rewritten USB communication module for more reliable communication with Palm OS devices over the USB interface Will this version have support for debugging on Sony Clie devices over USB? -- For information on using the Palm Developer Forums, or to unsubscribe, please

Function names showing when disassembling my app

2002-09-11 Thread Jonatan Fernstad
I am working on a multisegment c++ application using Codewarrior 8. I would like to make it as difficult as possible for people that are interested in disassembling my code ( crackers and possibly others ) to find out what and where in the code those things are being done. One example would be

Re: Function names showing when disassembling my app

2002-09-11 Thread Jonatan Fernstad
It won't show up if you turn off Macsbug symbols in the 68K Processor pref panel. Those generally should be off, except when you are debugging, since they can bloat up the size of your segments significantly. -- Thanks Ben, works great! :] -- For information on using the Palm

Naming conventons under VFS manager

2002-09-04 Thread Jonatan Fernstad
I am having problems creating a file with VFSFileCreate() if the file name contains international characters. err = VFSFileCreate(vfsRefNum, /MYDIR/aaa.tmp); is working. err = VFSFileCreate(vfsRefNum, /MYDIR/ååå.tmp); is not. Execution stops, the Palm freezes and no

VFSFileRead source code

2002-03-26 Thread Jonatan Fernstad
I need to speed up calls to VFSFileRead which reads data from an expansion card and writes it to RAM. I would like to look at the source code to see if I can optimize this function. However, the VFS Manager sources are not included in the .zip from the Palm OS Source Code Program. Does anyone

Pins on the Palm

2000-07-24 Thread Jonatan Fernstad
attacthed but that does not seem to be the case. Thanks, Jonatan Fernstad [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Pins on the Palm

2000-07-24 Thread Jonatan Fernstad
Have you looked on the PalmOS web site? Yes I have looked at that page and have not found any information on how to read the status of the I/O pins or where in memory this information is stored. One way (maybe) to find this out would be to join the Serial Port and Modem Casing program. Allthough

Hardware question

2000-07-13 Thread Jonatan Fernstad
I need to detect if the Palm device is attatched to the Palm Portable Keyboard when my app is running. How would I go about doing this? Have anyone made an app to use with other hardware that you attatch to the Palm, like a modem ? Any help would be appreciated. Jonatan -- For information

Re: Hardware question

2000-07-13 Thread Jonatan Fernstad
I don't believe there is currently any way to detect the presence of the Palm Portable Keyboard. I'm not sure about other devices. Trevor, I read in a FAQ about the PPK on palm.com that their driver "Keyboard.prc" is checking for the precense of the PPK every 3 minutes. So obviously it can be

Detect when Palm device is attatched to Portable Keyboard

2000-07-03 Thread Jonatan Fernstad
) recently. HwrDockStatus returns 0x when my Palm is in the Hotsync Cradle, not in the HotSync Cradle and when it is attatched to the Portable Keyboard. So that did not do the trick...(?) Anyone have any ideas? Thanks, Jonatan Fernstad [EMAIL PROTECTED] -- For information on using the Palm