Hello!
I have embarked on a project to hook up my Palm to the diagnostic link
connector on my old Chevrolet. The onboard computer outputs a non standard
serial data stream at 160 bps. To receive the data I have decided to
connect it to the HotSync button input on the Palm.
I'm now trying to write an interrupt handler that receives and decodes the
data. Idusted of my old Amiga assembly skills and started hacking away but
I'm stuck, nothing seems to work and documentation is sparse.
Is there any 'low level' documentation available? How the OS interacts
with the hardware and similar things? Reading the Dragonball documentation
and reprogramming some registers seems easy at first, but geting it to
work is another story.
Is there any PalmOS supported way of installing an interrupt handler?
If not, is it possible to disable the original INT1 handler and insert my
own without disrupting the system too much?
I also need to do timing with 1 millisecond resolution, the 10 msek tick
count is not accurate enough. Can I just grab timer hardware and reprogram
it as long as I restore everything when the application exits or will it
have odd side effects in the PalmOS?
Any help appreciated!
Regards,
Fredrik Ohrn