I forgot to post this:
bcf option_reg,ps2 ;ps2 of psa
bcf option_reg,ps1 ;ps1 of psa
bcf option_reg,ps0 ;ps0 of psa
I'm using the maximun prescaler (1:128) for the WDT, that should give plenty of time for the write operation, in the 16F84 datasheet there is a graphic that states for 5 volts VDD the write time of the EEPROM is just over 5ms, the wdt should reset every 18ms x 128 = 2304 ms. Thats a lot of time for the write operation !!!
Added after 3 minutes:
sorry, I posted a cut & paste from my program as is running now ( prescaler=1 )
I've already tried this:
bsf option_reg,ps2 ;ps2 of psa
bsf option_reg,ps1 ;ps1 of psa
bsf option_reg,ps0 ;ps0 of psa
(prescaler = 128)