PDA

View Full Version : Unable to Open DT-INT or REENTERPBP



MOUNTAIN747
- 14th January 2024, 17:06
I have a number of files that I wrote several years ago which contain DT-INT’s. Today I am having a problem compiling the same files that worked as expected a year ago.

Warning: Unable to open INCLUDE file DT-INTS-14
Warning: Unable to open INCLUDE file REENTERPBP

I am getting many other errors, but all derive from DT not opening.

So this one was strange, on one program compile, a copy of REENTERPBP opened up on MicroCode Studio Plus next to the working program then highlighting Vars_Saved = 1. It then reported that this variable had not been allocated. As
I look through Darrel list of variables Vars_Saved is not listed but used twice in his program. Of course most of what Darrel did was over my head.

So what have I missed?

* DT-INT and REENTERPBP is in correct folder *
* Non-DT programs are compiling correctly on same board
* I’ve even downloaded new copies of DT’s to correct folder
* PMASM is selected
* Processor is correctly selected
* No problem with hardware
* no time stamp error messages


comments please!
Wayne

MOUNTAIN747
- 14th January 2024, 18:30
Some headway! In the past and for years my include statement was,

include "DT_INTS-14"
include "ReEnterPBP"

and there has never been a problem until now. So I have changed these statements to,

include "DT_INTS-14.bas"
include "ReEnterPBP.bas"

Now these files seem to open and program compiles.

Got Me! Magic happens!

Ioannis
- 14th January 2024, 19:23
I cannot see how include can do its job without fully describe the file with its extension and/or the path if in different folder.

Why the IDE assume that the extension is .bas? It can be anything you like. So you have to express it.

Ioannis

richard
- 14th January 2024, 20:59
So what have I missed?


* DT-INT and REENTERPBP is in correct folder *
* Non-DT programs are compiling correctly on same board
* I’ve even downloaded new copies of DT’s to correct folder
* PMASM is selected
* Processor is correctly selected
* No problem with hardware
* no time stamp error messages




ifdef PM_USED ; verify MPASM is the assembler
"ERROR: DT_INTS does not support the PM assembler, USE MPASM"
endif

Ioannis
- 14th January 2024, 22:01
Nice catch!

Ioannis