Skip to content

Commit 917edd4

Browse files
committed
dosbox here description using pacman as demo
1 parent c07a392 commit 917edd4

File tree

4 files changed

+26
-21
lines changed

4 files changed

+26
-21
lines changed

CHANGELOG.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
11
# Change Log
22

3-
All notable changes to the "masm-tasm" extension will be documented in this file.Welcome [issue](https://github.com/xsro/masm-tasm/issues) and PR
3+
All notable changes to the "masm-tasm" extension will be documented in this file. Welcome [issue](https://github.com/xsro/masm-tasm/issues) and PR
44

5-
## 目标
5+
## welcome any feedback
66

7-
- [ ] 搞一个好看的logo和名字
8-
- [ ] 问题匹配功能完善
9-
- [ ] hover的简单实现:如中断的简单信息
10-
- [ ] LSP和DAP支持(目前对我来说太难了)
11-
- [ ] 根据具体的AH值显示跳转到不同的信息
7+
## 0.2.1
128

13-
### 0.2.0
9+
- [x] `dosbox here`增加了一个命令以在当前文件所在目录下打开dosbox,来提供更加自由的操作,见demo
10+
- [x] 优化diagnose对fatal类错误的匹配,优化大纲视图
11+
12+
DEMO `dosbox here`示例: 代码来自[dpisdaniel/assembly-pacman](https://github.com/dpisdaniel/assembly-pacman)
13+
14+
![demo pacman](https://github.com/xsro/masm-tasm/raw/next/pics/demo_pacman.gif)
15+
16+
## 0.2.0
1417

1518
- [x] DOS 汇编基本的语法支持
1619
- [x] vscode 界面的大纲视图的简单实现
1720

1821
汇编语言支持的symbol大概有以下几种,但是vscode的[SymbolKind](https://code.visualstudio.com/api/references/vscode-api#SymbolKind)却与它们不对应,我决定做以下对应
1922

20-
|assembly symbol|vscode symbol|
21-
|---|---|
22-
|macro|Module|
23-
|segment|Class|
24-
|procedure|Function|
25-
|struct|Struct|
26-
|label|Key|
27-
|variable|Variable|
23+
|assembly symbol|vscode symbol|汇编关键字|vscode关键字|
24+
|---|---|---|----|
25+
|macro|Module||模块|
26+
|segment|Class|||
27+
|procedure|Function|子程序|函数|
28+
|struct|Struct|结构体|结构体|
29+
|label|Key|标号||
30+
|variable|Variable|变量|变量|
2831

2932
### 0.1.4
3033

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ when you are editing `assembly` files ,you can right click at the editor panel,t
2121
2. "Run ASM code": Compile and Run the program
2222
3. "Debug ASM code": Compile and Debug the program
2323

24-
### Demo 1: using MASM(via msdos-player)
24+
### Demo 1: using TASM(via dosbox, default mode)
2525

26-
![demo msdos-player masm](https://github.com/xsro/masm-tasm/raw/master/pics/demo_msdos_masm.gif)
26+
![demo dosbox tasm](https://github.com/xsro/masm-tasm/raw/master/pics/demo_dosbox_tasm.gif)
2727

28-
### Demo 2: using TASM(via dosbox)
28+
### Demo 2: using MASM(via msdos-player)
2929

30-
![demo dosbox tasm](https://github.com/xsro/masm-tasm/raw/master/pics/demo_dosbox_tasm.gif)
30+
![demo msdos-player masm](https://github.com/xsro/masm-tasm/raw/master/pics/demo_msdos_masm.gif)
3131

3232
### Demo 3: Open dosbox and type the command you need
3333

pics/demo_pacman.gif

1.21 MB
Loading

src/language/diagnose.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ private tasmdiagpush(severity:number,line:number,msg:string,text:string,related?
145145
oneinfo.shift()//弹出全部信息
146146
switch(oneinfo.shift())
147147
{
148-
case 'Error'||'Fatal':
148+
case 'Error':
149+
case 'Fatal':
149150
severity=0
150151
this.asmerror++
151152
break;
@@ -175,6 +176,7 @@ private tasmdiagpush(severity:number,line:number,msg:string,text:string,related?
175176
switch(oneinfo.shift())
176177
{
177178
case 'Error':
179+
case 'Fatal':
178180
severity=0
179181
this.asmerror++
180182
break;

0 commit comments

Comments
 (0)