Ok,
The reason is that PBP 3 has dropped support for the PM assembler, but let things in for backwards compatibility etc, so the @ DEVICE statements do not work for MPASM (the default assembler for PBP3), you have to use the "__config" code, which, if you try to use @__config will tell you that you are overwriting address 2007 as it has put default values into the code already.
Change the BAS file to the below code and it will compile with 0 errors + warnings.
Code:
#CONFIG
__CONFIG _HS_OSC & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON & _LVP_OFF & _CP_OFF & DATA_CP_OFF
#ENDCONFIG
' System Clock Options
'@ DEVICE pic16F628A, HS_OSC
' Watchdog Timer
'@ DEVICE pic16F628A, WDT_ON
' Power-On Timer
'@ DEVICE pic16F628A, PWRT_ON
' Master Clear Options (Internal)
'@ DEVICE pic16F628A, MCLR_OFF
' Brown-Out Detect
'@ DEVICE pic16F628A, BOD_ON
' Low-Voltage Programming
'@ DEVICE pic16F628A, LVP_OFF
' Data Memory Code Protect
'@ DEVICE pic16F628A, CPD_OFF
' Program Code Protection
'@ DEVICE pic16F628A, PROTECT_OFF
Basically, comment out the "@ DEVICE xxxxx, xxxxx" lines, and add the "'#CONFIG/#ENDCONFIG" block to the code below the header comments.
Hope this helps you, please let us know how you got on.
Regards
Wilksey