| ??? 12/02/02 16:19 Read: times |
#33573 - Interrupt rate under Basic-52 |
Hi,
I am trying to use timer0 and timer1 as 8 bit autoreload timers in an application under BASIC52. I need frequently interrupts, every 50 to 200 microseconds. I have reprogrammed the control registers accordingly and I load the asm code as part of the B52 program as DATA statements. The B52 calls a initialization routine that enables the interrupts. Once launced the program, the BASIC interpreter crashes very soon. This even if the Basic execute just a loop to the same line number. The interrupt service routine push the ACC and restores it together with the PSW saved by B52, before to return. I have compiled the assembler code with a short main as independent program and it works as expected, the interrupt rate is according to my code. Does someone if there is a maximum interrupt rate acceptable by BASIC52 or something similar? Thanks, Best Regards Mario |
| Topic | Author | Date |
| Interrupt rate under Basic-52 | 01/01/70 00:00 | |
| RE: Interrupt rate under Basic-52 | 01/01/70 00:00 | |
| RE: Interrupt rate under Basic-52 | 01/01/70 00:00 | |
| RE: Interrupt rate under Basic-52 | 01/01/70 00:00 | |
RE: Interrupt rate under Basic-52 | 01/01/70 00:00 |



