http://www.microengineeringlabs.com/...bp/progeex.bas
' PicBasic Pro program to receive HEX file from PC and write
' data to I2C memory. Writes data in page mode, 16 bytes at one
' time. Memory device must be addressed with 16 bits and capable
' of receiving 16 bytes at once.
It's not exactly what you're looking for, but it should be easy enough
to modifiy for your application.
Bookmarks