1

Some instructions and commands are not colored in TIGCC, I think it's the same thing fo GCC4TI :

Instructions : abcd, chk, nbcd, reset, sbcd, stop, tas, trapv
Commands : xdef or include (I think it's xdef, but I've added it manually, so I'm not sure).

This is true for GNU as coloration, but I think it's also true for GNU as coloration.

ps : I have already reported that to Kevin Kofler for (K)TIGCC.

2

As I already told you in private, thanks for the report smile
I won't be able to recompile the IDE before the week-end.
avatar
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-admin de TI-Planet.

3

Folco (./1) :
This is true for GNU as coloration, but I think it's also true for GNU as A68k coloration.

Sorry.

4

I had understood your message as you actually meant it wink
avatar
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-admin de TI-Planet.

5

!call Folco
--- Call : Folco appelé(e) sur ce topic ...

I've just uploaded a modified and recompiled binary at http://tict.ticalc.org/misc/IDE.exe smile
The modifications to the sources are trivial one-liners in MasterUnit.pas.

I have added coloring for the abcd, chk, nbcd, reset, sbcd, stop, tas, trapv instructions, and checked the M68000 Programmers' Reference Manual for other potentially missing instructions. In this manual, the TAS instruction appears in a "Multiprocessor instructions" section, along with 68020+ CAS, CAS2, but, on our platform, the Integer Arithmetic section probably makes more sense indeed.

However:
Commands : xdef or include (I think it's xdef, but I've added it manually, so I'm not sure).

AFAICS, xdef and include are both in the A68k syntax list and GNU as syntax list, and both work just fine in either assembly file format, so it must be another command wink


If syntax coloring doesn't appear out of the box for you (it didn't for me under the native WinME box that recompiled the executable...), you'll have to modify the registry...
The keys "Editor ASM Syntax Coloring", "Editor C Syntax Coloring" and "Editor GNU ASM Syntax Coloring", located under "HKEY_USERS\[each user that has ever run the IDE, presumably]\Software\SeReSoft\TI-GCC IDE", have to be deleted, unless you have added your own colorings.
Of course, past the beta-test phase, telling users to delete things in the registry is pretty much unacceptable grin
We'll have to work on making things smoother for users, but that is made hard by the fact that the config stored in the registry keys is not versioned (more on this later)...
avatar
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-admin de TI-Planet.

6

I just install TIGCC0.96b8, and xdef is not highlighted.

7

In TIGCC 0.96 Beta 8, xdef is indeed not highlighted: the commit that adds it to the list of highlighted assembler directives was made on 20061121, i.e. less than one month _after_ TIGCC 0.96 Beta 8. Starting from 1.06, all releases of KTIGCC have the fix.

Did you add syntax colorings of your own, other than the ones you've mentioned in ./1 (I mean: some macro called e.g. "foo", that you would often use for some reason) ? If not, could you remove (using regedit) the registry keys I listed in ./5, and then launch the recompiled GCC4TI IDE I provided ?
Don't launch any other IDE executable (TIGCC or GCC4TI) before launching the recompiled GCC4TI IDE: they would create older syntax coloring definitions (missing xdef, tas and others), and it seems that the IDEs don't attempt to upgrade the syntax coloring definitions...
avatar
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-admin de TI-Planet.

8

Lionel Debroux (./5) :
The keys "Editor ASM Syntax Coloring", "Editor C Syntax Coloring" and "Editor GNU ASM Syntax Coloring", located under "HKEY_USERS\[each user that has ever run the IDE, presumably]\Software\SeReSoft\TI-GCC IDE", have to be deleted

That's what the Reset button in the syntax highlighting preferences is for. Note that Reset is per language (i.e. separate for C, GNU as and A68k).
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité