In case anybody is interested in how to write a 68K slot driver that works on 
PalmOS 5, there is a very messy version in:

http://handypalmstuff.cvs.sourceforge.net/handypalmstuff/crypt/

Assuming you have one memory card with a file called /CryptBox, PCVShell will 
mount that file (and you'll be prompted to format it if the format is not 
recognized).  THERE IS NO ENCRYPTION DESPITE THE NAME (but you can guess what 
the project was going to be).  The error checking is inadequate, there is no 
buffering, and there no doubt are other problems.  Don't say I didn't warn.

If you want to use the code for anything, feel free: I'm hereby making it 
Public Domain.  It might be a nice starting point for slot driver projects, 
because as far as I know there was no open source slot driver source code 
before this.

The trick I use to get around the crash on reset issue is something I learned 
from a Tapwave engineer who told someone who told me how to load skins on a 
Tapwave in a way that bypassed the on-reset integrity check.  Basically, I 
create the library on the fly, set its recyclable attribute and keep the 
database open.  On reset, the library will disappear, but you can then 
re-create it.  The trick may have other uses.

It would be better to use ARM, but I don't know how to make ARM libraries.  
(There is confusing stuff on SHLIndex in the pno forum, and I don't really know 
about it.)
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to