I can now compile BLINK to 146 bytes.
The problem is simple. I copied the USB demo program from USBDemo http://www.picbasic.co.uk/forum/showthread.php?t=5418
and all its files to c:\testcode last week. This has a number of files xxxx.BAS, .INC, .ASM and yyyy.MAC.
I then wrote the simple BLINK program and placed it in the same c:\testcode directory. It seems PBP uses its BAS, RAM, INC, etc files from c:\testcode first rather than from c:\pbp.
By deleting all files from c:\testcode except BLINK.PBP, the program now uses only 146 bytes.
What a relief.
Bookmarks