2018-03-22 21:03:41 +00:00
|
|
|
# Syntax Highlighting for the Western Design Center toolchain and 6502 support
|
|
|
|
# TODO: extra addressing modes, chip point prefix, * comments
|
|
|
|
|
2018-06-03 02:16:44 +00:00
|
|
|
scopeName: 'source.assembly.6502.wdc-toolchain'
|
2018-03-22 21:03:41 +00:00
|
|
|
name: '6502 Assembly (WDCTools)' # Name shown in Atom Editor grammar selection
|
|
|
|
# File extensions associated with this grammar
|
|
|
|
fileTypes: [
|
|
|
|
's'
|
|
|
|
]
|
|
|
|
# include all opcodes and directives the toolchain supports
|
|
|
|
patterns: [
|
2018-06-03 02:12:44 +00:00
|
|
|
{ include: 'source.65c02-opcodes' } # the 65c02 opcodes, includes the basic 6502 instruction set
|
|
|
|
{ include: 'source.wdc-directives' } # include the directives of the WDCxAS assemblers
|
2018-03-22 21:03:41 +00:00
|
|
|
]
|