Menu

problems trying to set up timer interrupts

2007-08-02
2013-05-30
  • Nobody/Anonymous

    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

     
    • Hugh Considine

      Hugh Considine - 2007-08-03

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.