News:

;) This forum is the property of Proton software developers

Main Menu

Updated Database.mcd

Started by JohnB, Mar 31, 2025, 09:57 PM

Previous topic - Next topic

JohnB

Attached is an updated Database.mcd. This file has been extended to cover all the current Declare statements supported by the compiler. This is derived from a declare list from Les. I expanded this with hint information etc where I able. I post this update specifically for Positron Studio users because unlike the original IDE, Positron Studio recognises only valid declares which identified in the Databasse.mcd.

Rename the original database.mcd file and replace with the attached.
JohnB

atomix

#1
I also found a repeat in the file "c:\Program Files (x86)\ProtonIDE\Plugin\Assembler\database.mcd" for the word "fbcl".

KEY ("fbcl")
    Devicecore = [dc12, dc14, dc16]
       Highlighter = KeywordASM
ENDKEY

KEY ("ff1l")
    Devicecore = [dc12, dc14, dc16]
       Highlighter = KeywordASM
ENDKEY

KEY ("ff1r")
    Devicecore = [dc12, dc14, dc16]
       Highlighter = KeywordASM
ENDKEY

KEY ("fbcl")
    Devicecore = [dc12, dc14, dc16]
       Highlighter = KeywordASM
ENDKEY

As well as dead words in the file "c:\Program Files (x86)\ProtonIDE\database.mcd"

DigitalRead
DigitalWrite
Ink
OtherWise
OtherWiseIf
Paper

JohnB

I have simply taken a list of Declare Names Les provided and expanded them to Key records and appended them to the database.mcd.  I have not looked at the assembler version of the file.  This file is maintained by Les and I have just done the minimum to enable Positron Studio to correctly show declares in the editor.

This is a once off and I am assume Les will maintain the file as part of the compiler release.
JohnB