Why is some text grayed out?

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
TimBox100
Professional User
Posts: 87
Joined: Wed 2019-03-13 13:26

Why is some text grayed out?

Post by TimBox100 »

Hi all

In my sim looking at the text in the source I'm stepping through some is grayed out . I'm trying to figure out why example in the photo

Any help appreciated

Thanks
Grayed out text.png
Grayed out text.png (41.83 KiB) Viewed 196 times
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Why is some text grayed out?

Post by Ettore »

This is .INC extension file which is used both for assembler and proton basic, albeit used for assembler by default.
If you don't use assembler you may modify the map file of the MCU you've been using. For example, assuming you are using PIC18 with proton. In your installation directory open the file PIC18.MAP. Find it to C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\VSM Studio\SYNTAX. Comment the line INC=PIC18.SYN and add a new line INC=BASIC.SYN as per the following:

Code: Select all

#Syntax Highlight Extension Mappings for PIC18
SDI=PIC18.SYN
ASM=PIC18.SYN
#INC=PIC18.SYN
AS=PIC18.SYN
H=C.SYN
C=C.SYN
CPP=CPP.SYN
BAS=BASIC.SYN
INC=BASIC.SYN
Save those changes in the file PIC18.MAP. Now, when you debug your proton file you'll get colour syntax.
However you won't have color syntax for assembler anymore.
Kind regards,
Ettore Arena - Labcenter Electronics.
TimBox100
Professional User
Posts: 87
Joined: Wed 2019-03-13 13:26

Re: Why is some text grayed out?

Post by TimBox100 »

Many thanks

Great support as usual

Tim
Post Reply