interrupt jam ...

Originally Posted by
Charles Linquis
I'm thinking that there should be some easy assembly language routine that - upon interrupt, just dumps me to a particular line and starts execution there. As I said before, I don't need to pick up right where I left off. If I'm sending a string, and a character comes in, I can stop sending data and respond to the new request.
Hi, PbP kings ... Mel and Co.
I see something interesting here ...
Just add :
ON INTERRUPT GOTO xxxy
DISABLE INTERRUPT
at the very top of the pbp program.
DO not Forget to end your interrupt routine xxxy: with a ( PbP ) GOTO where you want to go back then.
What's new in the asm Program window ???
program address 3 and 4 are now free, there's a new "return" at address 5 ... change it for a nop.
Label L 0001 ( a bit further ) contains the interrupt lines for PbP ... replace them by nops.
as there are no PbP lines between ON Interrupt and Disable ....There are no Gosub L0001 !!!
at address 3 put a GOTO 0006 to skip line 4 and 5
at address 4 ... just set the page bits ( if necessary ) and add an asm "GOTO" to the PBP interrupt label ( in address 4 or 5, Then)
we've seen 8 lines on 8 ...
I think it might work now ...
Alain
PS: example given for an interrupt vector at line 4 ... of course !!!
Last edited by Acetronics2; - 14th December 2005 at 15:09.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks