GCBASIC will compile the program successfully, but MPASM shoots out the error:
ASM: Error[113] C:\PROGA~1\GCBASIC\COMPILED.ASM 37 : Symbol not previously defined (EEADRH)
Line 37 of the ASM is:
EEADDRESS equ EEADRH
my program uses EPRead and EPWrite, if that changes anything. This problem only appeared once I updated my few-month-old copy of GCBASIC. I'm using the same exact code (which works flawlessly on the chip). Is this a problem on my end?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Don't think it's your problem. Had a "quick" look at the new eeprom.h, and have my doubts, although have not tested it. When you update, your old working files will get overwritten, which is fine most all the time. When working on a library with a recent fix, I tend to keep a copy around in case I have to revert back after updates, like eepromBak.h, eeprom70608.h, or whatever.
GCBASIC will compile the program successfully, but MPASM shoots out the error:
ASM: Error[113] C:\PROGA~1\GCBASIC\COMPILED.ASM 37 : Symbol not previously defined (EEADRH)
Line 37 of the ASM is:
EEADDRESS equ EEADRH
my program uses EPRead and EPWrite, if that changes anything. This problem only appeared once I updated my few-month-old copy of GCBASIC. I'm using the same exact code (which works flawlessly on the chip). Is this a problem on my end?
Once my program was finished, I ran it through the latest version of GCBASIC, and the error is now:
ASM: Error[113] C:\PROGA~1\GCBASIC\COMPILED.ASM 39 : Symbol not previously defined (EEADRH)
Line 39 of ASM is:
EEADDRESS_H equ EEADRH
My chip is 12F683.
Don't think it's your problem. Had a "quick" look at the new eeprom.h, and have my doubts, although have not tested it. When you update, your old working files will get overwritten, which is fine most all the time. When working on a library with a recent fix, I tend to keep a copy around in case I have to revert back after updates, like eepromBak.h, eeprom70608.h, or whatever.
Can vouch for this eeprom.h here: http://sourceforge.net/forum/message.php?msg_id=5042385
One way to cut and paste text into a new xxxx.h file is covered here: http://sourceforge.net/forum/message.php?msg_id=5003028