> First, sysNotifyVolumeMountedEvent can be debugged on the
> emulator, too.

How exactly?

> Some emulators (notably Clie) offer a GUI to simulate card
> mount/unmount events.

Where is the Clie emulator available from? Couldn't find anything about Clie on 
PalmOne.

> Older OS4 emulators allowed to do it via changing emulator settings.

Hmmm... OK, so I started the emulator and told it to create a new session, 
using a PalmOS 4.2.1 ROM. Right-click, Settings/HostFS. Opens a dialog, 
seemingly allowing you to install up to 8 cards, any one of which could be 
mounted or not. Tried with one. Said that it needed HostFS.prc. Fair enough. 
OK, I put that on the emulator. Had to reset. Now I can indeed map a directory 
to a card in the emulator.

But how do I simulate card insertion? OK, I have a directory of the local PC 
mapped as a card in slot 1 - but not mounted. Check the "Mounted" checkbox, 
click "OK" - is that supposed to simulate card insertion? Instead, I get:

"Applications (4.0) just executed an illegal or unknown machine language 
instruction. The opcode executed was 0xA0AD."

and I must reset. On reset I get

"Prefs (4.0) just read from memory location 0x00000000, which is in low memory, 
blah-blah".

I can click on "Continue", though. Eventually, the Launcher appears. It has a 
category "POSESlot1", which sees the contents of the mapped directory. However, 
CardInfo insists that there is no card inserted and my program did not get any 
notifications.

Next idea, please?

Regards,
Vesselin
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to