> Using emulator 3.0a5 and CW 6.0 with latest PalmOS 3.5 SDK, using the
> release Palm VII,OS 3.2,non-debug,non-ez,english ROM

OK, that's pretty much my setup here, except that I have a later Emulator
(natch!) and was using a Palm III ROM.

> Pick any old project and get into debug mode and open a view memory window.
>
> Set the address to 0x0
> Why are the first 16 bytes blank?  There should be _something_ there.
> In particular, what's the reset vector?

I see the same effect here.  I don't know why the first line is blank.  My
debugging version of Poser tells me that I'm indeed sending that line of data to
the debugger.

> Set the address to 0xFFFA00 or 0xFFFFFA00.  I expect one of these
> to hold the contents of the LSSA register, but all I see is FFFFFFFF.
> I _know_ this is wrong.  This used to work on older emulators (I think).
> How do I look at the dragonball register contents? (Spare me the "you
> shouldn't do that" lecture, I'm interested in a greater understanding of
> what's going on, not proper software engineering technique).

Over here, I'm finding that Poser is being asked to return memory from
0x7FFFFFF0 instead of 0xFFFFFA00.  In my version of Poser, this is actually
generating a bus error, resulting in a "bus error occured packet" being sent
back to the debugger instead of the "here's the data you asked for" packet,
resulting in the debugger getting totally confused.

I can squelch the bus error, but have no idea why I'm being asked for the wrong
memory location.

> Set the address to 0x10C00000.  I expect to see the contents of the flash
> ram here.  However, what I see here differs from what I see when I open
> the .ROM file in a binary editor.  In particular, the first 16 bytes are all
> 00 in CW.

Odd...over here, the first line at 0x10C00000 is all 0xFE's (which is still not
the correct result).  Again, my debugging version of Poser shows that I'm
sending the correct data to the debugger.

> What's going on here?

Hopefully, Metrowerks will pick up on this thread and comment.  Also, I have a
newer version of the debugger plug-in that Metrowerks is asking us to help test.
I'll try it out and see if the effects are different.  If they are still not
correct, I'll let them know.

-- Keith Rollin
-- Palm OS Emulator engineer





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to