PDA

View Full Version : Mini problem with DT_INTS-14



towlerg
- 18th December 2013, 17:49
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



INCLUDE "DT_INTS-14.bas" ; Base Interrupt System
wsave VAR BYTE $70 SYSTEM ' alternate save location for W

ASM


The following errors are generated -

7177

Perhaps DT-INTS-14 is corrupt? I include the copy I downloaded today.

7178

Any help appreciated

George

longpole001
- 18th December 2013, 19:46
what chip you using

towlerg
- 18th December 2013, 22:18
Oh how dim of me, 16F268A.

George

Demon
- 18th December 2013, 23:25
Oh how dim of me, 16F268A.

George

16F628A maybe?

Robert
:)

towlerg
- 19th December 2013, 02:34
Yes, whot he said. I'm either dyslectic or I really should stick to one finger typing.

George

mackrackit
- 19th December 2013, 09:39
You need to change the "wsave" part in the included file.

Start here
http://www.picbasic.co.uk/forum/showthread.php?t=3251&page=15&p=93355#post93355
and the following post has the answer.

towlerg
- 19th December 2013, 15:06
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

towlerg
- 19th December 2013, 15:39
(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