I tried emailing PBP tech support and I got referred to this forum. Please see my question below:
Greetings,

I am using the PicBasic PRO version 2.46 inside of MicroCode Studio version 2.3.0.0. I use MPASM to assemble. I am developing code for the PIC18F4620 device.

I have noticed in the PBP Help that interrupts should be disabled when using the WRITE command for EEPROM writes. But, I cannot afford to do this, because I am relying on the interrupt service routine to keep pulling characters out of the RCREG whenever they are received. At 19200BPS, I get a new character every 469uS, but the EEPROM write command should take about 4mS. However, I also noticed in the PIC datasheet that the interrupts only need to be turned off for 5 critical instructions to occur prior to actually programming the EEPROM. So, I'd like to modify your WRITE command to do this. Otherwise, I'm going to have to write my own routine in assembly language, and I don't want to bother with that. I want to add 2 lines to your WRITE command, which will disable the GIE, then re-enable it, as shown in the PIC18F4620 datasheet section 7, Example 7-2.

Can you tell me how I can do this? Do I have access to the source code inside of your pre-defined commands? If not, then can you make this change (or have you already) in an updated version?

Any help on this would be greatly appreciated. If you need to know my license information, then I'm sure I can find that, but I don't know where it is at the moment.