Announcement

Collapse

New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

Clock in the Corner using a BASIC ISR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Clock in the Corner using a BASIC ISR

    (This is about Tom Hanlin's comment on the code posted by
    Dave Navarro in the Source Code section)

    Thank you, Tom, for your aclaration. I had tried several times to
    apply this code in rather complex situations (for example,
    hooking a procedure which modifies a graphics display to
    Interrupt 1Ch). I never found out why these programs crashed!
    So the only solution seems to be to learn more assembler and
    write my interrupt handlers all in assembler .

    Hans Ruegg

  • #2
    Assembly language is good for you. Builds character!

    However, if the interrupt service doesn't need to run instantly, you might look into UEVENT. With UEVENT, you write a tiny routine in assembly language to set the UEVENT flag. Then, when it's safe to do so, PowerBASIC will transfer control to your ON UEVENT routine, which is free to use BASIC code.


    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment

    Working...
    X