Thanks for reporting the bug! The cause was that I changed the compiler and the timer.h file, but neglected to upload the new timer.h file.
As for interrupts, they're not properly implemented yet. However, GCBASIC should be able to insert the Interrupt sub at the right place and add the context saving/restoring code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
Can anyone explain why I cannot initialize the timers on the 690? I call
InitTimer0 (Osc,PS0_1/16)
and get a compiler error
compiled.asm:120:Error [113] Symbol not previously defined (SYSINITTIMER0).
Also having problems with interrupts (i.e. they just don't work!) but I'll get this compiler problem sorted out first.
thanks
Clive Washington
Fixed now, http://gcbasic.sourceforge.net/newfiles/update.zip
Thanks for reporting the bug! The cause was that I changed the compiler and the timer.h file, but neglected to upload the new timer.h file.
As for interrupts, they're not properly implemented yet. However, GCBASIC should be able to insert the Interrupt sub at the right place and add the context saving/restoring code.