See if this works.
See if this works.
Last edited by Bruce; - 7th August 2010 at 15:22.
Bruce,
Many thanks for the example - you're a diamond.
Alas, it's not compiling on my PC - I'm certain that I've a parameter wrong somewhere or other on my machine, becuase after finishing posting last night such was my keeness, I spent another hour trying to get a very minimalist IOC test program to compile - & I was getting the same type of compilation errors.
The errors I'm seeing (both last night & now with your program) are as follows....
Error[128] [filepath]test_ioc.asm: Missing Arguments
Error[113] [filepath]test_ioc.asm: Symbol not previously defined (IntFlagReg)
Error[113] [filepath]test_ioc.asm: Symbol not previously defined (IntFlagBit)
Error[101] [filepath]test_ioc.asm: ERROR (Interupt Source (IntFlagReg, IntFlagBit) not found
If I remove the RABC_INT entry in in the interupt header & replace with INT_INT - it always compiles fine.
Any tips greatfully received, as I'm not getting off the ground with this IOC melarkey (& I'm chomping at the bit to breadboard the MKII 'no diodes' puppy!)
Many thanks once again.
Hank.
(PS I'm using V1.0 - the latest DTS-14.BAS)
Last edited by HankMcSpank; - 7th August 2010 at 14:04.
Last edited by Acetronics2; - 7th August 2010 at 15:30.
************************************************** ***********************
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 " !!!
*****************************************
Hi Alain,
I'm selecting my intended PIC (a 16F690)
Likewise PBP V2.6 (unpatched) but just patched it about 20 mins ago - still didn't compile (same errors)
I'm thinking it's likely something to do with my DTS_INTS-14.bas (I used the one at the bottom of this page... http://darreltaylor.com/DT_INTS-14/intro2.html )
( A quick search for some of the errors I'm seeing brings up stuff relating to DT's interupt routines - so likely something I've not got right wrt that aspect)
Last edited by HankMcSpank; - 7th August 2010 at 15:05.
Drop a copy of DT_INTS-14.bas and ReEnterPBP.bas in the same directory as the file you're compiling, or save the file to the same directory they're already in.
Thanks Bruce.....that seems to have got rid of the majority of my errors.
After dropping it into the right directory 9there was one in there...but it must have been ab older version?), I did get some relating to wsave, a judiscous amount of trial & error with commenting the DTS_INTS-14.bas....
Now the only error I have left is this one....Code:wsave VAR BYTE $20 SYSTEM ' location for W if in bank0 'wsave VAR BYTE $70 SYSTEM ' alternate save location for W ' if using $70, comment out wsave1-3 ' --- IF any of these three lines cause an error ?? ---------------------------- ' Comment them out to fix the problem ---- ' -- It depends on which Chip you are using, as to which variables are needed -- wsave1 VAR BYTE $A0 SYSTEM ' location for W if in bank1 wsave2 VAR BYTE $120 SYSTEM ' location for W if in bank2 'wsave3 VAR BYTE $1A0 SYSTEM ' location for W if in bank3 ' ------------------------------------------------------------------------------
Error [118] [filepath]test_ioc.asm Overwriting previous address content (2007)
....which I'm without a clue how to sort! (help!)
The last error is because you have config settings in your code, and in your 16F690.INC file.
Last edited by Bruce; - 7th August 2010 at 18:09.
Bookmarks