1 Attachment(s)
Mini problem with DT_INTS-14
Using PIC Pro 3.0.7.1 - the MPASM at C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe is 5.51 supplied with MPLAB 8.92 (LST file reports 5.51) - OS Win7 Ult SP1 x32.
I'm trying to compile code from thread http://www.picbasic.co.uk/forum/showthread.php?t=14232 post #24. Only change is to add wsave as directed by compiler
Code:
INCLUDE "DT_INTS-14.bas" ; Base Interrupt System
wsave VAR BYTE $70 SYSTEM ' alternate save location for W
ASM
The following errors are generated -
Attachment 7177
Perhaps DT-INTS-14 is corrupt? I include the copy I downloaded today.
Attachment 7178
Any help appreciated
George
Re: Mini problem with DT_INTS-14
Re: Mini problem with DT_INTS-14
Oh how dim of me, 16F268A.
George
Re: Mini problem with DT_INTS-14
Quote:
Originally Posted by
towlerg
Oh how dim of me, 16F268A.
George
16F628A maybe?
Robert
:)
Re: Mini problem with DT_INTS-14
Yes, whot he said. I'm either dyslectic or I really should stick to one finger typing.
George
Re: Mini problem with DT_INTS-14
You need to change the "wsave" part in the included file.
Start here
http://www.picbasic.co.uk/forum/show...3355#post93355
and the following post has the answer.
Re: Mini problem with DT_INTS-14
Thanks for all the responses, turns out I can't read either because I didn't add - INCLUDE "ReEnterPBP.bas".
The two "errors" at OverCREATE and AfterUserRoutine disappear because of conditional assembly. I don't know macros (and the three R's) but they ain't right.
George
Re: Mini problem with DT_INTS-14
(edit period timed out)
Also the example "Timer Template" seems very odd to me. There's a chunck of Basic between ASM....ENDASM which never gets executed - following the comment ;---[TMR1 reload - interrupt handler]-----------
Oh, so much to learn and such a small brain to do it with.
George