Syntax highlighting for IDNAC and LETech assembly. Assembly language extension for Assembler using IDNAC 8701, 8702, 8703, 8711, LETech 4280, 4380, 380, lem50, lem60, lc70 CPUs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Syntax highlighting for IDNAC and LETech assembly.
[Pachi Assembler] is Assembly language extension for Pachi nko/Pachi slot Assembler using IDNAC 8701, 8702, 8703, 8711, LETech 4280, 4380, 380, lem50, lem60, lc70 CPUs.
Features
Syntax for Multiple CPUs
IDNAC 301
IDNAC 8701
IDNAC 8702
IDNAC 8703
IDNAC 8711
LETech LE4280B(Z80 compatible)
LETech LE4380A
LETech LEA380
LETech LEM50A
LETech LES50A
LETech LEM60A
LETech LC701A
Usage
1.Select Langage Mode
Themes
Dark
Supported File Extensions
.src
.lst
.lse
.sym
.crf
.cal
.ase
.asm
.log
.dmp
.dbl
CPU Syntax Detection
Detecting the CPU type to choose the correct syntax for a source code file is not without errors in VS Code, but you can help it by following these guidelines:
Tag your source codes with the CPU type, like this...
MyCode.8701.src
MyCode.8702.src
MyCode.8703.src
MyCode.8711.src
MyCode.4280.asm
MyCode.4380.asm
MyCode.380.asm
MyCode.lem50.asm
MyCode.les50.asm
MyCode.lem60.asm
MyCode.lc701.asm
If you are just starting out with a project, this is the easiest thing you can do to ensure that VS Code will choose the correct Syntax for your source code file.
You can associate your assembly extension(s) with a CPU Syntax in your User Settings. If you mostly work on one chosen CPU type (quite likely), you can just do this and call it a day...
"files.associations": { "*.src": "pasm_idnac" }
IDNAC 8701: "pasm_idnac"
IDNAC 8702: "pasm_idnac"
IDNAC 8703: "pasm_idnac"
IDNAC 8711: "pasm_idnac"
LETech 4280: "pasm_letech"
LETech 4380: "pasm_letech"
LETech 380: "pasm_letech"
LETech lem50: "pasm_letech"
LETech les50: "pasm_letech"
LETech lem60: "pasm_letech"
LETech lc70: "pasm_letech"
The syntax for 8701 is selected by default. You can just choose the correct syntax for each loaded source code file on the bottom-right, in the status bar. It may become a bit tedious, but it's a workaround.