Hi, I have PBP 2.60A and I need support for 16F1828 PICs.
I have the latest MPASM which has support for the 16F1828, but PBP is missing the INC and BAS files for it.
Could someone give advice on how to go about creating a PBP INC and BAS file for that chip?
*edit*
This is what I have so far. Ive looked up some info from the data sheet, but the main thing i'm not sure about is PORTL, PORTH, TRISL and TRISH. How do I know which ports they should be set to? From looking at examples, most seem to be PORTL=PORTB, PORTH=PORTA or PORTL=PORTB, PORTH=PORTC.
Code:BANK0 $0020, $007F ; Got these values fron the data sheet BANK1 $00A0, $00EF BANK2 $0120, $016F BANK3 $01A0, $01EF BANK4 $0220, $026F BANK5 $02A0, $02EF BANK6 $0320, $032F EEPROM $F000, $F0FF LIBRARY "PBPPI14E" DEFINE CODE_SIZE 4 include "PI14EEXT.BAS" PORTL VAR PORTB ; Not sure if these are right PORTH VAR PORTA TRISL VAR TRISB TRISH VAR TRISA include "PBPPI14E.RAM"




Bookmarks