), and,
take a look at their binaries - you'll see this is what they
are essentially doing (overlays) :)
it doesn't hurt to reverse engineer your competitors/similar
applications to see how things are done.. nothing is secret
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
aknowledges the existence of the sdk and indicates
that by defalut gcc will usesdk 5).
Any help would be great.
latest prc-tools is:
http://prc-tools.sourceforge.net/
there are plenty of docs on that site - read them first please.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO
time.
that would be the best solution - i'd hate to run my laptop down to
5% just to see the warning :) the laptop itself would shutdown :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
modifying POSE
to do the same as PalmSim helps - i wouldn't want to debug an app
when my laptop sits at 5% battery :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
was playing with, no go ;( no notification
for help is sent at least the last time i checked..
i *could* go the way of playing with the r9 register - but, no time
for fun stuff like that unfortunately :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
the archives, its all been discussed to
death before (look for signature).
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information
sony and get their version of the Pa1Lib.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer
for documentation. everything is online.
more specifically:
http://www.palmos.com/dev/support/docs/palmos/
http://www.palmos.com/dev/support/docs/palmos/ExpAndVFSConcepts.html
piece of cake :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
Do i need to pay for that ?
no. but, it'll take forever to get it from sony :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
?
the bitmap needs to be marked as a V3 bitmap, and, the density needs to
be set to 144 (as compared to 72). how are you defining your bitmap family?
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
:)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
i'll mail you the latest binary i have on my harddrive :)
Don't forget a manual if there is one.. :)
grab the .tgz from the patch zone. the manual is there :) the one
you googled for looked ok as well.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
the space I sould convert it into hex. The convertion sould be 2
by 2 so the return would be something like this:255 161 35 210
94...(without the spaces). I would be verry glad if some one could help
me.
StrPrintF(str, %02x, byte);
---
Aaron Ardiri [EMAIL PROTECTED
of how to implement a 30-day trial in my
piracy protection paper i wrote for palmsource 2000. it is in
the knowledge base.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
);
and..
TimSecondsToDateTime( timenow, dt_expiry );
DateSecondsToDate( timenow, d_expiry );
you should be able to figure out what is wrong from that.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
*
and yes chris, its very useful *g*
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums
/current version be out which
everyone should eventually use :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using
of pilrc
(an older version that had a bug with EX bitmap families) :P more the reason
for us to get the 3.0 pilrc out :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
a:
TimGetSeconds() + 30 * daysInSeconds;
is a lot faster than doing the DateAdjust() api call :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
to the default
system palette.
i dont understand what you are trying to achieve.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information
, you
will have to set the palette inside your application.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using
the source code to see exactly how it works.
prior to 3.0, you had to have a space on the end of each line, the
parser has been fixed in the latest code base (which, will be out
as soon as the to-do list is worked through)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
? This is the matter
what i have to concern. Pls help in the regards. Any
advices is welcome. Thank you.
didn't look hard enough
http://www.escribe.com/computing/pcpqa/m35804.html
i am sure some of the verterans here remember that mess
with the @stake advisories :)
---
Aaron Ardiri
, and, for obvious
reasons. you *can* do it, it is never 'impossible' :) - it just may
be very difficult.
palm source does not support it - and, if thats your barrier, then,
from your point of view it is not possible.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
No you can't. If anyone get retrieve the password then
what purpose does the security have?
sure you can. dont you remember the security bulletin
released a while back? search the archives.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
Cygwin setup.exe's recommendation to avoid choosing a root path for Cygwin
that includes spaces.
way around this is to use:
C:\Progra~1\Cygwin
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
code.
(it also includes the // fix already) :P
you can mail your patches to the pilrc-developer list, or to me directly
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
to define
your own font (high-res font - PilRC 3.0 will have support for this)
and then set the field to use the custom font. it will then have everything
in 'high res' mode.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70
bitmaps created for these handhelds and properly
displays them as double-density bitmaps.
sony has a different high density API.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
launchers may put the device in grayscale mode
and the above code wont work.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information
.
if (type == MyType) {
StrCopy(NameList[index], nameP);
index++;
but, you should allocate memory appropriately before you do this.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
(MemPtrRecoverHandle(ptr));
}
its been a while since i looked at the os source in this area tho
that will tell you for sure which one is 'faster' :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
.]?
SysGetTrapAddress() - and, if the pointer in located in the ROM area,
you know it hasn't been re-defined. this will pick up everything,
including those defined by HackMaster
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
-tutor.html
never hurts to go over your C again :) and Kernighan is always a
good start when it comes to catching up on your C :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
? what screen depth are you in?
256 color? looking at the logic, it should give you:
00
11
22
33
..
hh
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
, and, it should work as planned *g*
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums
the device is emulated
byte for byte from the 68k rom image.
is there any specific reason why you need the username on the
simulator? the device does return a value BTW :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
modulus :)
a bit more complicated algorithm then *g*
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm
way, i doubt the speed difference is enough to really be
an issue dont you think?
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
? maybe the font isn't
installed/initialized?
look for a FntSetFont() call in your code.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
3.3 - so, without os 3.3, you are out of luck :) unless of
course, you tweak registers yourself.
the same thing happened with normal grayscale, all pre 3.0 units had
the hardware to do it, but, it was only introduced in palmos 3.0 for you
to switch to grayscale using an API..
---
Aaron Ardiri
/bounds
blah blah blah checks :)
we take an extra route, dont use either :) write our own assembly.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
icon8bpp.bmp
that is, re-use the same bitmap for 2,4 and color - and, let pilrc do the
color mapping :) color - 1bpp normally sucks bad, so, i only have a new
bitmap for that one.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
I have tested this on the Emulator using 3.5 and 4.0 debug ROMS and don't
see this problem. But for some reason on the Tungsten, when the
application is launched, the screen just goes blank and then returns back
to the launcher.
what does your app do?
---
Aaron Ardiri
with fixed point
mathemetics - and, its faster :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer
.
strH = MemHandleNew (sizeof (Int32));
an int32 is 4 bytes :) so, as soon as his 'number' goes more than 3 digits,
he'll be in trouble *g* it would have been fun to let him scratch his head
about that wouldn't it? :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
differ in any way.
if they do, then, the bit is being set :) and, maybe the OS doesn't
look at the attribute when drawing the control?
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
it to :)
i am far too tired to run any binary tests on this tho :)
i believe that even prcexplorer may be able to see if the bit is actually
set right (get it from palmgear.com), this would be the easiest way to
check if the binaries are being generated correctly :)
---
Aaron Ardiri
binary would do the job just as well, and, faster.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm
= 0.152587890625
which, gives you four. up to you :) and, nothing stopping you from using
9, 10, 11 :) if you want 3 decimal points, your best bet would be
1/8192 = 0.0001220703125 or
1/4096 = 0.000244140625 or
1/2048 = 0.00048828125
1/1024 = 0.0009765626
i think you get the idea :)
---
Aaron Ardiri
the binary using pilrc?
i would not rule out the OS ignoring the frame attribute when it is a
push button :) that should be pretty easy to test :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
neither should pilrc.
I suggest you simulate push buttons using normal graphical buttons.
You'll
just have to manage the selected/non-selected state yourself.
yeah, the selected/non-selected state issue is nasty.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
it is possible to change
the frame type after initialization - then, the glue function would work
for you, and, it'll be less hassle.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
the handle. btw - it makes no difference to
do MemPtrUnlock() or MemHandleUnlock() - so, you can choose
withever you want. it is 'consistant' to use the MemHandle*
routines.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656
);
thats really three API calls - not hard at all.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm
files end up
on card 0 :) - that may of course change in the future.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information
educated
guess tho :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe
.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
does break, we dont know if he returns true or false. so,
we dont have all the pieces to the puzzle to solve it do we? :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
is actually a \0 character.
since it also works on OS4, it could potentially spell out a bug
with PACE - but, lets not count your chickens before they hatch.
it could just be programmer error *g*
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
.. functionality can change from one set
of hardware to the next - you should not be depending on such timings
in your application really.
i would recommend you go back and re-read some of the responses that
were posted to your original question, and, you might see some light ;)
---
Aaron Ardiri
the code on 5.0 units, but,
this might be another way to tackle the problem?
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
:) but, technically should work the same way. since
you are only looking for one byte, you can have a pretty low
timeout value without slowing things down too much :)
i had to dig deep in my archives for that code.. its a bit dusty.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO
, however, you can do a CPU id check
and determine if these can be changed at runtime to provide a fix.
(just be sure to change them back). i am not sure if these registers are
read only however. thats something for digging in the CPU manuals.
---
Aaron Ardiri [EMAIL PROTECTED
hacking]. but, in regards to what was originally asked,
modification to have grayscale or color with the standard user interface
was introduced after 3.5
grayscale prior to 3.5 was purely for games *g* :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
..
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
(later renamed to WinDisplayMode)
3.0 made it possible without tweaking CPU registers, it was officially
in the operating system prior to 3.5 - 3.5 only added color and changed
the whole window/blitter layer.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
100% sure of this :) i wrote games for 2.0 :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer
to pass it on to anyone else who is interested.
maybe it isn't under GPL anymore?
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
with? if you look at the forum archives, there
is a LOT of information here, you just need to find it.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
it running. it will then
need to be updated to use the correct API's for later devices (if it
was written badly/hacked up).
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
app works great on os5 :o\
even on the 4.0 debug roms? i have a hard time believing that if it crashes
the palmsim. if your app runs fine on 4.0 with debug on, then, it should run
perfectly on palmsim.
what type of error?
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
Is there any function by which i'll get the (coord)
width of that string which i am drawing.
is there some other way ?
Fnt* routines - specifically FntCharsWidth()
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656
before we release the new binaries
anyhow. so, thats another person in the loop for testing :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
a .gb file into a resource file we
could process easier on the device.
when you use filestreaming, you have to copy the data to
ram before you use it. if you use resource databases, you
can just lock the resource and have access to the data for
reading :)
---
Aaron Ardiri
developers have written on palmgear.com
for you to take a look at as well. it isn't complex, the .pdf above
should answer more than you need to know.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
Hi,
I wanna change a string into lowercase and then compare..
What should I do?
why?
StrCaselessCompare() - let the OS handle the conversion while
comparing :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656
to specific devices (as you probably noticed) - and,
now you probably know why :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information
played a bit
with tasks on early units, but, due to its instability, we dropped it.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
. in these cases, you are better of running the app
on pose (to find out why it crashes).
palmsim doesn't crash unless *you* do something stupid/wrong :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
streaming - this means, it wont work on any old file. there is a standard
specification of how a file stream is represented internally.
it has been discussed a number of times on the forums here.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
system. file type operations
need to be emulated (hence, the FileStreaming api's) :P
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
programming issues however, and you should
not be asking such questions here. lets try and keep the discussion
specific to palmos development :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
* there is a nice fat chapter
on it in the docs, you need to register for a notification event.
i use it, and, it works fine.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
of dynamic ram even on palmos 3.1 :) OS5 removed that ability, so, like
you, we were stuck with dynamic heap only :(
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
, by creating a small bitmap, and then replacing the
// bitmap with our handle we created earlier.
//
// -- Aaron Ardiri, 2001
thats the comment in my code :) not to mention:
// initialize the bitmap chunks
bmpPtr = BmpCreate(SPR_WIDTH, SPR_HEIGHT, globals.scrDepth, NULL, e);
err |= e
combee and regis nicolas
(and renaud) right now - all of which should be hitting my harddrive
for inspection very soon. busy, yes :) ignore? no :P
now, is this whole proposition specific to codewarrior? :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
that the bitmap/window structures have not changed
too much to cause headaches.. migration to 3.0 was bad enough :)
Watch out, though, that you never try drawing into a read-only
bitmap: the blitter will crash since it doesn't undo the memory
protection.
:) thats the fun stuff.
---
Aaron Ardiri
groups, they are created.
the pilrc-developer list isn't for the mainstream user :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
a continuation of the string data on the next :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer
(which, required a bit of
hacking/tweaking) - the fun stuff.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using
Is there an abs() function on palmos ?
#define ABS(x) (((x) 0) ? -(x) : (x))
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com
) ID IconFormPreviousBtnBitmap
BUTTON ID IconPreviousGraphicButton AT (33 36 20 24) USABLE LEFTANCHOR
viola :) it also allows your code to work on pre palmos 3.5 devices
(if this is a concern to you or not).
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
:)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
off warnings.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please
selected :) *g* he just really needs to put up with the warning :)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using
in the project settings in the postLinker tab
(it seemed to make sense) but it's probably not there.
to find a solution irrelevant to the development kit you are using,
look into the 'tver' resource. you can define it in your application
and the os will get it from there.
---
Aaron Ardiri
library/common code. so, it happens
on startup - i just threw in the drawline and delay so i could see it happen
:)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http
-bit
or
32-bit be the number of elements in the list?
did you check the source (of pilrc) for clues?
Also, is there a way to change the endianness of the wordlist?
no - you need to load it into memory and swap them manually..
---
Aaron Ardiri [EMAIL PROTECTED]
CEO
I need to make rotines to be used in CASL pro
i'm having problems with types like Uint8, Uint16, Uint32 and some others
UInt8, UInt16, UInt32 -- note - capitals
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
801 - 900 of 2564 matches
Mail list logo