DT_INT problem in 676


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    PicBasic Pro uses 24-26 bytes for System Variables. (can be more)
    DT_INTS-14 needs 7 bytes to do ASM interrupts.

    And if you want PBP type interrupts ...
    ReEnterPBP needs to save all of PBP's system variables (26 bytes)
    Plus it uses another 8 bytes, just in case PBP creates more T? system vars.

    For a total of 65 bytes.
    But the 16F676 only has 64 bytes.
    __________________________________________________ _________________________

    If you only use ASM type interrupts, you'll have 31 bytes left for your variables.

    If you really need PBP type handlers, you can reduce the MaxTvars constant in ReEnterPBP which will get back a few bytes.
    reducing MaxTvars from 4 to 3 will allow your example above to compile.
    DT

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Thanks Darrel, I have used your previous version of the INT as well without problems.
    Now, unfortunately I have deleted those previous files. Is there any way I can have access to the previous version of your INT files?
    ___________________
    WHY things get boring when they work just fine?

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts