Page 2 of 2

Re: ACIA location?

Posted: Sun Jul 14, 2024 2:13 pm
by Michael
Editor wrote: Tue Jun 11, 2024 3:31 am You should have a go at the 6840 timer use (instead of VIA timer), borrowing from the ASSIS09 code.
I'm trying to replace 65C22 VIA timer functionality in Hopper using the 6840 (I just need a free run timer that IRQs every n us).
Link to the timer code in ASSIS09?

Re: ACIA location?

Posted: Sun Jul 14, 2024 2:16 pm
by Michael
Michael wrote: Sun Jul 14, 2024 2:13 pm
Editor wrote: Tue Jun 11, 2024 3:31 am You should have a go at the 6840 timer use (instead of VIA timer), borrowing from the ASSIS09 code.
I'm trying to replace 65C22 VIA timer functionality in Hopper using the 6840 (I just need a free run timer that IRQs every n us).
Link to the timer code in ASSIS09?
Found this so far:
https://github.com/DigicoolThings/MECB/ ... SM6809.asm

Re: ACIA location?

Posted: Sun Jul 14, 2024 7:48 pm
by Editor
Michael wrote: Sun Jul 14, 2024 2:16 pm Found this so far:
https://github.com/DigicoolThings/MECB/ ... SM6809.asm
Yes, the original ASSIST09 source was well commented by Motorola. Primarily also as an example of address independent coding etc.

You should be able to find all you need just by searching for "PTM" references.

EDIT: e.g. 'ZMONT2' appears to be the monitor entry PTM initialisation (Sorry, I have to head out for a while this morning, so that was just a quick look).