This will add coff file generation in absolute mode. I hope to be able to use the Microchip debugging tools.
Asm tests passed, so hopefully it does break nothing.
This correction adds constants to the coff file. They holds variable names in absolute mode. If not in mpasm compatibility mode, constants beginning with a underscore are excluded, coff file created have a .cof suffix and an executable bit set, so no linker step is needed. I tested debugging using both the simulator and Pickit3 (MPLABX4.15) successfully.
A macro dereference (-X option) have also effect to the generated coff file now. A linker listing looks better with it.
This correction enables 8bit per word idlocs, idlocs and config addresses are excluded from BADROM. It adds an error indicating where overwritten address contents was defined and an error indicating where redefined label was originally defined. Some bugfixes.
I have not worked on the project for a long time. But I don't want your work to go to waste. So I'll try to find the time and energy to go over the improvements at some point. In the meantime, please be patient. (It would be nice if someone could take over the maintenance of the project from me.)
Károly
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Károly,
thank you very much for your response. Yesterday I tried to simplify the gpasm message generator. All messages are generated with a single function now. No need to format the message in the caller.
I am sorry, I am not the right one to take over your project. I don't really understand the parser/lexer part of this software. I don't plan on making any more changes now.
Petr
I believe you intended the gpasmCoffcorr3.patch file to be the main patch. I have found that it cannot be applied. I get a lot of error messages. This is not going to work. Please download the latest svn version. Make your changes in this code tree. Then create a single patch and upload it to the ticket.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here are all the patches in one file. The original patches must be applied gradually. I'm sorry for the inconvenience.
gpasmCorr4 and gpasmCorr5 are needed for the successful execution of asm tests also on the i386 architecture.
Regards, Petr
This correction adds constants to the coff file. They holds variable names in absolute mode. If not in mpasm compatibility mode, constants beginning with a underscore are excluded, coff file created have a .cof suffix and an executable bit set, so no linker step is needed. I tested debugging using both the simulator and Pickit3 (MPLABX4.15) successfully.
A macro dereference (-X option) have also effect to the generated coff file now. A linker listing looks better with it.
This correction enables 8bit per word idlocs, idlocs and config addresses are excluded from BADROM. It adds an error indicating where overwritten address contents was defined and an error indicating where redefined label was originally defined. Some bugfixes.
I have not worked on the project for a long time. But I don't want your work to go to waste. So I'll try to find the time and energy to go over the improvements at some point. In the meantime, please be patient. (It would be nice if someone could take over the maintenance of the project from me.)
Károly
Hi Károly,
thank you very much for your response. Yesterday I tried to simplify the gpasm message generator. All messages are generated with a single function now. No need to format the message in the caller.
I am sorry, I am not the right one to take over your project. I don't really understand the parser/lexer part of this software. I don't plan on making any more changes now.
Petr
Just a bugfix.
Gpasm uses significantly less memory with this patch. All the absolute sections share the same memory image.
I believe you intended the gpasmCoffcorr3.patch file to be the main patch. I have found that it cannot be applied. I get a lot of error messages. This is not going to work. Please download the latest svn version. Make your changes in this code tree. Then create a single patch and upload it to the ticket.
Here are all the patches in one file. The original patches must be applied gradually. I'm sorry for the inconvenience.
gpasmCorr4 and gpasmCorr5 are needed for the successful execution of asm tests also on the i386 architecture.
Regards, Petr
Thank you, I've been able to use it properly. These are the newer versions [r1332]:
gputils-src-20231022-1332.tar.bz2
gputils-20231022-1332-setup.exe
Related
Commit: [r1332]