Quote Originally Posted by rdheiliger View Post
I get an assembler error that says the eeprom WRITE command is not previously defined.
Your OnDiff variable is probably a WORD, and it's probably the only variable you are using with the WRITE command.

There is an issue with PBP 2.60 when using ONLY WORD variables.
See the last issue on this page (Command affected: WRITE)
http://melabs.com/support/pbpissues.htm

On another topic,
The @ DEVICE format for setting fuses does not work with MPASM.
Correct, DEVICE is only for the default PM.exe assembler.
The @ __config directive is flagged as an error by MPASM.
There must be a syntax error in your statement.
What error does it report?
Usually the error tells you where the problem is. (but not always)