Re: "Diolan Plus" bootloader.
Reply #33 –
I can't tell if that meant it was helpful or not :) I'm always happy to give google new content to index. If you need an example pls let me know, I'll hunt it down.
Update... Here's an example from version in our svn. You can find the mods in the files by searching the 18F24J50 keyword to see where I had to do it:
http://code.google.com/p/dangerous-prot ... asm.asm#86
usb_state_machine_actif
btfss UIR, ACTVIF
bra usb_state_machine_actif_end
;!!!18f24j50 change!!!
movlb 0x0f ;select the correct bank
btfss UIE, ACTVIE
bra usb_state_machine_actif_end
movlb 0x00 ;back to main bank
UD_TX 'A'
bcf UCON, SUSPND
;!!!18f24j50 change!!!
movlb 0x0f ;select the correct bank
bcf UIE, ACTVIE
movlb 0x00 ;back to main bank
bcf UIR, ACTVIF
I do not know if this applies to your chip, but I assume it is not present in the '+' version posted in this thread.