A general question about graffiti input

2006-09-01 Thread Sinisa Marovic (AC/EDD)
Hi, I have a device with keyboard and don't know how graffiti input is handled. My question is: is there anything special I need to do to implement this or it is automatically handled by OS? Does it generate keyDownEvent and/or pen events? Do I have to call SysHandleEvent for them to be

Re: No audio when using MemSemaphoreReserve

2005-11-15 Thread Sinisa Marovic (AC/EDD)
I know that it's not recommended to use it, still I know that some people were and are using it and I would like to have that knowledge, which is not in the documentation (and I read it thoroughly). Does that mean that if an app needs more heap RAM than it's available, one should just abandon

RE: No audio when using MemSemaphoreReserve

2005-11-15 Thread Sinisa Marovic (AC/EDD)
* are you sure its RAM you need? maybe you only need read only * RAM. you can store information in two ways; one on the dynamic heap * and one on the storage heap. the storage heap - which, is what you * have done right now - can be read without a semaphore. if you want * to write to it, you need

RE: No audio when using MemSemaphoreReserve

2005-11-15 Thread Sinisa Marovic (AC/EDD)
* what are you doing that requires that much read/write RAM? Well it's a port of UAE (amiga emulator) and it is already working, I'm just improving it, trying to get more RAM for emulation. * you may need to seek an alternative algorithm that uses less * read/write * RAM that is designed with

re: No audio when using MemSemaphoreReserve

2005-11-11 Thread Sinisa Marovic (AC/EDD)
Hi, solved with releasing the semaphore before SndStreamStart. Thanks for (no) help. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

No audio when using MemSemaphoreReserve

2005-11-10 Thread Sinisa Marovic (AC/EDD)
Hi, I tried releasing the semaphore before creating the stream, also in the callback itself, nothing helps. Before introducing semaphores the application had sound. I also noticed there were problems when using VFS functions, but that was easily solved by releasing the semaphore just before

Help ! I can't get sound on Zodiac/Tungsten E

2005-10-28 Thread Sinisa Marovic (AC/EDD)
I have made this app, and it has sound. But only on my device. I have a Sony Clie with installed MCA2 (sort of compatibility layer for Sony Clie Audio), and every other third party program/app works fine with sound, so I don't think that's the problem. The ARM callback function is as simple as

RE: Help ! I can't get sound on Zodiac/Tungsten E

2005-10-28 Thread Sinisa Marovic (AC/EDD)
* Subject: Re: Help ! I can't get sound on Zodiac/Tungsten E * * * Hi voda :-) * * I think you can't use SndStreamCreateExtended, it doesn't * really work on * all devices. Try the standard SndStreamCreate. * * Greetings * Henk * * * * Sinisa Marovic (AC/EDD) wrote: * *I have made this app

RE: Help ! I can't get sound on Zodiac/Tungsten E

2005-10-28 Thread Sinisa Marovic (AC/EDD)
Hi, * Maybe the size of the buffer is different on the Sony than * it is on the Tungsten. Since the size of the buffer that * you're requesting is just that, a request, you might * actually be getting a smaller size. I'm aware of that, and as you can see in the callback I'm taking that into

Re: Rules on using FtrPtrNew

2005-09-23 Thread Sinisa Marovic (AC/EDD)
Yes but what about my question about registering it? How is it done? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Rules on using FtrPtrNew

2005-09-23 Thread Sinisa Marovic (AC/EDD)
/creatoriddown.html * * Hynek Sladky * * Sinisa Marovic (AC/EDD) wrote: * Yes but what about my question about registering it? How * is it done? * * -- * For information on using the PalmSource Developer Forums, or * to unsubscribe, please see http://www.palmos.com/dev/support/forums

RE: Rules on using FtrPtrNew

2005-09-23 Thread Sinisa Marovic (AC/EDD)
is to choose a meaningless random one that * is most likely not reserved. it's only a random number anyway * * -Original Message- * From: [EMAIL PROTECTED] * [mailto:[EMAIL PROTECTED] Behalf Of * Sinisa Marovic * (AC/EDD) * Sent: 23 September 2005 12:05 * To: Palm Developer Forum * Subject: RE

Rules on using FtrPtrNew

2005-09-22 Thread Sinisa Marovic (AC/EDD)
Hi, O.K. I made this program and want to release it with the source. The problem is that I'm using FtrPtrNew on several places, and using some random values for the creator and featureNum in the developing phase. Now, since I'm the good guy I wan't to make it by the rules for release. What

RE: WinInvertRectangle Color

2005-09-20 Thread Sinisa Marovic (AC/EDD)
Did you try with WinSetBackColor ? * -Original Message- * From: [EMAIL PROTECTED] * [mailto:[EMAIL PROTECTED] * Sent: Tuesday, 20 September, 2005 12:52 * To: Palm Developer Forum * Subject: WinInvertRectangle Color * * * Hi! * * Actually, I'm use a custom selection procedure to select

RE: Menu showing problem

2005-09-19 Thread Sinisa Marovic (AC/EDD)
Hi, we have discussed how to open a menu without tapping the title few days ago: http://news.palmos.com/read/messages?id=195166#195166 * -Original Message- * From: [EMAIL PROTECTED] * [mailto:[EMAIL PROTECTED] * Sent: Monday, 19 September, 2005 11:10 * To: Palm Developer Forum *

RE: how to popup menu

2005-09-13 Thread Sinisa Marovic (AC/EDD)
Yes, I do it similarly, but with penDownEvent and assigning the value to X,Y somewhere where the Title bar is. I don't like any of those, it looks more like hacking. I hope someone will post some better solution. * -Original Message- * From: [EMAIL PROTECTED] * [mailto:[EMAIL

RE: how to popup menu

2005-09-13 Thread Sinisa Marovic (AC/EDD)
Wow, this is a great solution, short but effective, I like it. And it works (tried it already). Thanks, Logan. * I know (on some level) that this isn't a competition, but a simpler * implementation is this: * * void PostMenuKey () * { * EvtEnqueueKey (vchrMenu, 0,

Checking 5-way nav button status with KeyCurrentState?

2005-09-06 Thread Sinisa Marovic (AC/EDD)
Hi guys, I don't have such a device and don't know if it's possible, or those buttons have special treatment. In my application user has a possibility to assign a function to a key, so I was kind of wondering if those buttons can be detected with KeyCurrentState. -- For information on

RE: Opening a form in a form

2005-08-21 Thread Sinisa Marovic (AC/EDD)
Oops, looks like I changed the type to modal in the PRC, and after recompiling, it wasn't modal any more. Anyway, you gave me a solution. Thanks a bunch. * -Original Message- * From: [EMAIL PROTECTED] * [mailto:[EMAIL PROTECTED] * Sent: Friday, 19 August, 2005 23:25 * To: Palm Developer

RE: Opening a form in a form

2005-08-19 Thread Sinisa Marovic (AC/EDD)
Thanks for your answer. I have tried FrmPopupForm, and the result is the same as with my method. After reading the documentation, FrmPopupForm does the same thing as FrmGotoForm, except closing the previous form, and that is exactly what I did with my routine (if (event.eType!=frmCloseEvent)

Opening a form in a form

2005-08-18 Thread Sinisa Marovic (AC/EDD)
I'm trying to open a small form in a Master form without closing the Master. The only way I achieved this is by creating an event loop that looks like this: do{ EvtGetEvent (..); if (!SysHandleEvent(event)) if (!MenuHandleEvent(event)) if (!cfgHandleEvent(event))

.prc causing major lockup

2005-03-14 Thread Sinisa Marovic (AC/EDD)
Hi guys, could somebody tell me what can be the reason that after hotsyncing a prc file (I created it using prc tool) and soft reseting afterwards my PDA freezes, and I have to hard reset? I didn't even start it yet. -- For information on using the Palm Developer Forums, or to unsubscribe,

RE: UAE AMIGA emulator prerelease finally

2005-03-07 Thread Sinisa Marovic (AC/EDD)
Could you please post the problem at: http://www.emuboards.com/invision/index.php?showtopic=20702 or mail me at [EMAIL PROTECTED] I will look into it. * -Original Message- * From: [EMAIL PROTECTED] * [mailto:[EMAIL PROTECTED] * Sent: Monday, 07 March, 2005 09:47 * To: Palm Developer

UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
Hi Guys, could some of you pretest the UAE for Palm? It works perfectly on TG50 overclocked to 400Mhz. Find the requirements and the link at the bottom. Please don't ask me for sources, I'm not ready to give them yet, but eventually I will. Here are the instructions: Create

re: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
One more thing: left/right click are mapped to application/find button, and Calendar/Address Book/To do/Memo are mapped to Left Alt/Left Amiga/Right Amiga/ Right Alt. Stupid, I know, but I needed it for test reasons. I will change that soon. -- For information on using the Palm Developer

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
* Subject: Re: UAE AMIGA emulator prerelease finally * * * Sinisa Marovic (AC/EDD) wrote: * * Hi Guys, * * * Hi Sinisa, * * host not found. Could you maybe find a different place for * hosting and * also send it to me by email. I would be glad to beta test it * deeply. I * had also a look

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
prerelease finally * * * I can see nothing in there I'm afraid * * On Wed, 2005-03-02 at 12:49 +0100, Sinisa Marovic (AC/EDD) wrote: * Hi, * * try it now. * * * http://f2.pg.briefcase.yahoo.com/bc/sinisamarovic/vwp2?.tok=b * cvsa8UB8FtTzLCx.dir=/My+Documents.dnm=1.zip.src=bc

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
* * On Wed, 2005-03-02 at 12:49 +0100, Sinisa Marovic (AC/EDD) wrote: * Hi, * * try it now. * * * http://f2.pg.briefcase.yahoo.com/bc/sinisamarovic/vwp2?.tok=b * cvsa8UB8FtTzLCx.dir=/My+Documents.dnm=1.zip.src=bc * * -- * Simon Dick [EMAIL PROTECTED] * * * -- * For information

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
emulator prerelease finally * * * how to install it? * i upload to the card both files and tell me no bin found * * * On Wed, 2 Mar 2005 12:59:32 +0100, Sinisa Marovic (AC/EDD) * [EMAIL PROTECTED] wrote: * Does somebody have a place to host ~500k file? * * * -Original Message- * * From

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
. * -Original Message- * From: [EMAIL PROTECTED] * [mailto:[EMAIL PROTECTED] * Sent: Wednesday, 02 March, 2005 14:57 * To: Palm Developer Forum * Subject: Re: UAE AMIGA emulator prerelease finally * * * how to do that? * * * On Wed, 2 Mar 2005 14:52:38 +0100, Sinisa Marovic (AC/EDD) * [EMAIL

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
emulator prerelease finally * * * Some new PalmOne devices (T3 T5 ...) have an Internal Storage acting * As a memory card. You should search all available card for the *.bin * files * * -Message d'origine- * De : [EMAIL PROTECTED] * [mailto:[EMAIL PROTECTED] De la part de * Sinisa Marovic

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Sinisa Marovic (AC/EDD)
Did somebody try it yet? I would very much like to know on which devices it works. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Replacing password with asterisks in text field?

2005-02-10 Thread Sinisa Marovic (AC/EDD)
What about if you don't use the text field, but instead just catch keyDown events, and displaying asterisks in a non-text field when such event occures? That shouldn't be too difficult. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 February, 2005

RE: Developing on Linux

2005-02-02 Thread Sinisa Marovic (AC/EDD)
Hi, I am working on linux SUSE using PRC tools. You can also transfer the files to/from the PC easily either by HotSync with KPilot, or, if you have Sony Clie device (such as myself), by MS Import. This brings me to a question for somebody using MS Import: When I transfer the file to Clie,

RE: Stupidest problem with WinPalette

2005-01-27 Thread Sinisa Marovic (AC/EDD)
(winPaletteGet) at StartApp and restore it at StopApp? Regards Henk Sinisa Marovic (AC/EDD) wrote: Hi, I'm porting UAE amiga emulator to Palm and after months of struggling I have most of the features working. I'm sure it would take less time if I had a little more help from you guys, so

RE: Stupidest problem with WinPalette

2005-01-27 Thread Sinisa Marovic (AC/EDD)
Sinisa Marovic (AC/EDD) wrote: Hi, thanks for your answer. But if I use WinPalette winPaletteSetToDefault, isn't that setting the default palette? So why saving it if it's system default, it should probably be in ROM? Regards, Sinisa. -Original Message- From: [EMAIL

RE: bmpCreate problem on PalmOs 5

2005-01-26 Thread Sinisa Marovic (AC/EDD)
Hi, use BmpGetBits to obtain the bitmap data pointer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 26 January, 2005 15:08 To: Palm Developer Forum Subject: bmpCreate problem on PalmOs 5 Hello, I used bmpcreate to print a bitmap on screen.

Stupidest problem with WinPalette

2005-01-26 Thread Sinisa Marovic (AC/EDD)
Hi, I'm porting UAE amiga emulator to Palm and after months of struggling I have most of the features working. I'm sure it would take less time if I had a little more help from you guys, so many questions unanswered. The latest problem is related to WinPalette. When I defined the colors

Application buttons and EvtGetEvent

2005-01-24 Thread Sinisa Marovic (AC/EDD)
Hi, how do I check certain application button state with EvtGetEvent? When I press an application button, keyDownEvent is generated, but how do I find which one? For app buttons a keyCode element is always 0, and a char element is hex 12D. -- For information on using the Palm Developer

how to get double density value for pen evets

2005-01-24 Thread Sinisa Marovic (AC/EDD)
Hi, I set WinSetCoordinateSystem to kDensityDouble and still getting pen values between 0 and 160. Is there a way to increase pen resolution to 320 x 320? With multiplying the pen location value by two I would get only even numbers, and I need an accurate pen location. -- For information on

sizeof enumerated type

2004-12-27 Thread Sinisa Marovic (AC/EDD)
Hi, I have a small problem using prc tools 2.3. I'm using EvtGetEvent function within a PNOlet, and I'm using standard (sdk-5) EventType definition in Event.h. The problem is that none of the events seems to be recognized in the loop. When I printed a value of the eType field, I could

Can't load module with PealLoad

2004-12-22 Thread Sinisa Marovic (AC/EDD)
Well, the fault is not in peal, but I didn't want that Greg skip this one ;) Anyway, I'm porting some program to Palm using prc-tools, and since it will be a large chunk of arm core load with m68k loader into heap, I'm using peal for postlinking. The problem occures when trying to load the

Problem freeing memory allocated with MemChunkNew on OnBoardC

2004-12-17 Thread Sinisa Marovic (AC/EDD)
Hi, I'm using MemChunkNew to allocate segments 64k. The allocation is succesfull, and I get the pointer back, but when I try to release it, I get an error, and I have to soft reset: Memory manager line whatever: ptr is handle. Now, according to the documentation, MemChunkNew returns MemPtr

Truncating the file on VFS

2004-12-10 Thread Sinisa Marovic (AC/EDD)
Hi all, is there a way to truncate the opened file after VFSFileSeek from a certain position. I tried writing one byte at that position and closing the file, but that doesn't do the job, only one particular byte is replaced by the new value, the rest of the file stays. I know that I could

Obtaining file offset on VFS

2004-12-10 Thread Sinisa Marovic (AC/EDD)
Hi again, is there a way to obtain an offset of the current position of the file on VFS? VFSFileSeek does not return the offset value like unix/linux lseek command. I know that I could read to the end of the file, and then substract the read bytes from the file size, but this solution sound

RE: Truncating the file on VFS

2004-12-10 Thread Sinisa Marovic (AC/EDD)
Hi, I've found an easy solution for truncating the files. It's the VFSFileResize. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Obtaining file offset on VFS

2004-12-10 Thread Sinisa Marovic (AC/EDD)
Yep, great, that's it. Many thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nicholas Guarracino Sent: Friday, 10 December, 2004 14:21 To: Palm Developer Forum Subject: Re: Obtaining file offset on VFS Sinisa Marovic (AC/EDD) wrote

Running PNOlets 64k

2004-12-02 Thread Sinisa Marovic (AC/EDD)
Theoretical question: since it is possible to do long jumps running ARM code, I was wondering if this is possible: Using prc tools it is possible to compile segments larger than 64 kb (I tried it, you can even build prc). The only problem is that such prc will not run on your palm. But

Few questions

2004-11-22 Thread Sinisa Marovic (AC/EDD)
Hi All, I have a few questions for you Palm OS programming gurus. I'm still a newbie in this area, and still missing the whole picture. I'm porting some program to run completely on ARM, and I wolud like somebody to help me with the following issues: 1. Would it be correct to say that PilotMain

RE: PowerOn Timer

2004-11-17 Thread Sinisa Marovic (AC/EDD)
Hi, I'm planning to port some program completely to native ARM. It's quite a bit of a code, so there are plenty of OS function calls all over the place. Does anybody knows if there is a database with header files/libraries of OS function calls written for calling from within arm code? It would

Undefined reference during build.

2004-11-15 Thread Sinisa Marovic (AC/EDD)
Hi, does anyone knows why do I get during linking: undefined reference to `WinSetCoordinateSystem' undefined reference to `BmpCreateBitmapV3' I tried to use -DUSE_HIGH_DENSITY_TRAPS and -DUSE_HIGH_DENSITY_TRAPS=1 to no avail. And yes, I did #includeWindow.h and Bitmap.h Regards, Sinisa.

RE: string formatting

2004-11-12 Thread Sinisa Marovic (AC/EDD)
Hi Arschloch (he he), did you try FlpFToA function? BR, Sinisa. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of arsch loch Sent: Friday, 12 November, 2004 11:52 To: Palm Developer Forum Subject: string formatting hi i'm new to palm programming

can't compile simple example on solaris using prc-tools

2004-11-10 Thread Sinisa Marovic (AC/EDD)
Hi all, I'm a newbie in this palmos buisiness, but as quite experienced c programmer I'm getting frustrated not being able to compile the most simple example from prc-tools page http://prc-tools.sourceforge.net/misc/ (armlet.tar.gz). m68k-palmos-gcc armlet.o -o armlet

RE: can't compile simple example on solaris using prc-tools

2004-11-10 Thread Sinisa Marovic (AC/EDD)
Hi Aaron, thanks for you quick response. The same example was succesfully compiled at home on linux without modifications (or warnings). I used palmdev-prep to set the header files dirs (the printout showed that it found the files, and the 'specs' file was updated accordingly. Anyway,

RE: can't compile simple example on solaris using prc-tools

2004-11-10 Thread Sinisa Marovic (AC/EDD)
Hi all, I've found the solution posted at thread: http://www.mail-archive.com/palm-dev-forum@3com.com/msg13273.html It looks that this problem was fixed after version 0.5.1b3, but not for solaris. After I fixed the file PalmTypes.h at line 204 (I'm working with SDK 5), it compiled without a