I'm working on a bootloader, based on this thread
This code require the PBP LONG option enabled as I have to write code above 64K and LONG variables are...
I see just now your reply. As I told, removing the "DEFINE RESET_ORG" statement then no problem at all.
And yes, I also discovered the # does not work and a DEC is required.
Thanks !
ok, it seems troubles are related to a wrong use of "DEFINE RESET_ORG" statement (I'm working on a bootloader code).
Without it everything works fine also with the "PBP LONG" option enabled.
Thanks
That's weird. I'm working on a large project right now, have LONGs enabled and, except for one thing*, have not noticed any such problems. Have been using DEC, BIN, HEX extensively.
Do a search for USB keyboard emulator, there are a couple of threads - here is one http://www.picbasic.co.uk/forum/showthread.php?t=8291, once you get the keyboard working you can the take the data...
Hi all,
I'm using PbP3.1 with a PIC18F device.
I need to use the LONG option in a particular program, but seems like the string-formatting modifier does not work properly.
For example
It can. What you're looking to do is basically implementing a USB keyboard using USB HID. When connected it will, to the PC, look like any old USB keyboard. I've managed to do it using examples on...
Re: PBP LONG and string-formatting not working ?
I'm turning crazy ... I see the problem also without the PBP LONG option
Marcick Today, 14:38I copy here the full code to show the problem.
DEFINE RESET_ORG 1EC00h
' device=PIC18F67K22
' PBP LONG option...