Code:
glcd_fs     var LATD.0     ' Font Select pin   High = 6x8 , Low = 8x8
    glcd_wr	 	var	LATD.1	   ' Write control pin ( Active Low)
    glcd_rd	 	var LATD.2	   ' Read control bit  ( Active Low)
    glcd_ce	 	var LATD.3	   ' Chip enable control bit  ( Active Low)
    glcd_cd	 	var LATD.4	   ' Command (high) and Data (low) toggle bit
    glcd_rst	var LATD.5	   ' Reset control bit (Active Low)
  
  
    glcd_tris 	var TRISE	   ' Data bus direction
    glcd_dat	var PORTE	   ' LCD 8 bit data bus 
    glcd_sta0	var PORTE.0	   ' Status Bit 0  - Status Read - Command excute capability      - 0 = not avaialble / 1 = Available 	
    glcd_sta1	var PORTE.1	   ' Status Bit 1  - Status Read - Data Read/Write capability     - 0 = not avaialble / 1 = Available
yes the 8 bits of the port are used as both input / output

i would think PBP uses the LAT registers in the above use ???




i um PBP uses the LAT