I am not sure is this forum a proper place to ask my question. However I would be happy to get some help. A link to the best Apple II forum can be the last remedy for me.
I am doing some coding for the Apple II. I need a timer which is provided by the mouse card. My code works on MAME emu but it doesn't work on other emulators (microM8, jace, and AppleWin). It seems that microM8 has problem with the mouse support, it can't run Mouse Paint. So it is possible that my problems with microM8 and other emus are caused by the emu bugs.
I do the next steps in my code:
1) disable interrupt;
2) seek the mouse card page;
3) call INITMOUSE;
4) call SETMOUSE with AC=8;
5) set interupt vector at $3fe to my handler;
6) enable interrupt.
This works for the Apple IIe/IIc/IIgs which are emulated by MAME/MESS. However this doesn't work for the Apple II+. It seems that a call to a mouse card function changes memory bank at $2000 on the Apple II+.
I am not sure, if my program can work on a real Apple IIe/IIc/IIgs or not. It would be great if someone could try to run this program on real hardware. Thanks a lot in advance.
I have attached an archive which contains a boot-disk image (DOS). Sources are available on
GitHub. To run the program just boot the disk or type RUN HELLO. Then select a proper driver. Then enter a number of digits, I suggest 100. If timer interrupts work the time of calculation will be printed in the end. If they don't work, 0 will be printed. You can rerun the program just with RUN.
BTW is it possible to accelerate the Apple II by disabling screen or something else?