call serial_setup
+ debug 10
+ debug 13
debug 'a'
call copy_per_pic_data
; copies PIC-dependent info out of flash memory to RAM
; see README.protocol
+ debug 'P'
+
movlw (F_PIC_NO >> 16) & 0xff ; set table pointer to point to
movwf TBLPTRU ; PIC number in flash
movlw (F_PIC_NO >> 8) & 0xff
movf TABLAT,0,0 ; move pic number into normal memory
movwf PIC_NO,1
- iorlw '0'
- call polling_serial_transmit
+ debughf TABLAT
tblrd * ; read i2c
; now have: PIC number in 400h, i2c control byte in 401h - see
; RAM variables re i2c specific stuff, above
- iorlw '0'
- call polling_serial_transmit
+ debughf TABLAT
return