Skip to content

Commit 78d08a9

Browse files
committed
文档调整
1 parent afe4ce3 commit 78d08a9

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# run and debug TASM and MASM via dosbox(and msdos-player)
1+
# Dos assembly (MASM/TASM) via DOSBox(and msdos-player)
22

33
[中文](https://github.com/xsro/masm-tasm/blob/master/doc/README_zh.md)
44

5-
This extension is modified from "[masm-code](https://github.com/Woodykaixa/masm-code)", focusing on the interaction with DOS emulator (DOSBox and msdos-player). It is helpful for you to study MASM, TASM and also the course <*principles& peripheral technology of microprocessor*>.
5+
Language support for DOS assembly,very likely for you to study MASM, TASM and also the course <*principles& peripheral technology of microprocessor*>.()
66

77
- Support both **TASM and MASM**: you can choose MASM or TASM in the preference
88
- **Editor Menu**: run and debug with right click on the VSCode editor panel
99
- **Convenient**: related tools packaged in the extension. Just install and right click (recommand to use this ext in windows otherwise you should install dosbox first)
10-
- **Diagnose**: process the output of ASM tools and ouput them in VSCode
10+
- **Diagnose**: process the output of ASM tools and ouput them in **VSCode
11+
- **Hover**:show information of where the curser is
1112
- Welcome [issue](https://github.com/xsro/masm-tasm/issues) and PR to build a better extension with your help.
1213
- Some interesting code your may need:[masm-tasm wiki](https://github.com/xsro/masm-tasm/wiki/dosbox)
1314

14-
Thanks to [Roncho](https://marketplace.visualstudio.com/publishers/Roncho)'s extension [Assembly (TASM)](https://marketplace.visualstudio.com/items?itemName=Roncho.assembly-8086). This extension now support assembly language using codes from it.
15-
Also, this extension may also work with extensions like: [MASM](https://marketplace.visualstudio.com/items?itemName=bltg-team.masm)[masm-code](https://marketplace.visualstudio.com/items?itemName=kaixa.masm-code)[x86 and x86_64 Assembly](https://marketplace.visualstudio.com/items?itemName=13xforever.language-x86-64-assembly)
15+
Thanks to [Roncho](https://marketplace.visualstudio.com/publishers/Roncho) 's extension [Assembly (TASM)](https://marketplace.visualstudio.com/items?itemName=Roncho.assembly-8086) and [Woodykaixa](https://github.com/Woodykaixa)'s [masm-code](https://github.com/Woodykaixa/masm-code). This extension now contribute an assembly language.
1616

1717
## Features
1818

doc/README_zh.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
1. 同时支持调用**TASM****MASM**: 可以在设置(首选项)中修改使用MASM还是TASM工具集
66
2. 提供编辑器**右键菜单**:在汇编语言的编辑器添加了“打开dosbox,运行,调试”的三个选项
77
3. 提供diagnose**问题输出**功能:假如汇编未通过,会标明错误信息与位置,可以在命令面板输入`清除MASM/TASM的所有问题信息`清除本插件输出的diagnose问题信息
8-
4. 调用[dosbox](https://www.dosbox.com)[msdos player](http://takeda-toshiya.my.coocan.jp/msdos)模拟16位系统环境,运行相关组件
9-
5. 通过 [Roncho](https://marketplace.visualstudio.com/publishers/Roncho)'s extension [Assembly (TASM)](https://marketplace.visualstudio.com/items?itemName=Roncho.assembly-8086)的代码来实现语法支持
8+
4. 提供悬浮提示,跳转定义
9+
5. 调用[dosbox](https://www.dosbox.com)[msdos player](http://takeda-toshiya.my.coocan.jp/msdos)模拟16位系统环境,运行相关组件
1010

11-
非常感谢以上软件!插件难免会有一些bug,欢迎到github发[issue](https://github.com/xsro/masm-tasm/issues)以及PR,大家一起交流和完善。
11+
非常感谢[Roncho](https://marketplace.visualstudio.com/publishers/Roncho)[Assembly (TASM)](https://marketplace.visualstudio.com/items?itemName=Roncho.assembly-8086)[Woodykaixa](https://github.com/Woodykaixa)[masm-code](https://github.com/Woodykaixa/masm-code)!插件难免会有一些bug,欢迎到github发[issue](https://github.com/xsro/masm-tasm/issues)以及PR,大家一起交流和完善。
1212

1313
## 安装使用
1414

1515
- windows 无需其他操作,相关软件已打包在插件之中
16-
- linux 请先安装dosbox [详情](https://github.com/xsro/masm-tasm/blob/master/doc/Get_start.md#linux)
16+
- linux 请先安装dosbox [详情](doc/Get_start.md#linux)
1717

1818
## Features主要功能
1919

2020
当编辑器为汇编文件时,在编辑器界面右键菜单中会提供以下三个选项:
2121

22-
1. 打开dosbox并配置环境(挂载):打开DOSBox,然后就可以手动在打开的DOSBox窗口进行[汇编相关操作](https://github.com/xsro/masm-tasm/blob/master/doc/ASM_commands.md)
22+
1. 打开dosbox并配置环境(挂载):打开DOSBox,然后就可以手动在打开的DOSBox窗口进行[汇编相关操作](doc/ASM_commands.md)
2323
2. 运行当前程序(汇编+链接+运行):生成exe程序并运行
2424
3. 调试当前程序(汇编+链接+调试):生成exe程序并调试,使用MASM则会调用debug调试,使用TASM会调用td调试
2525

@@ -43,7 +43,6 @@
4343

4444
## Some Tips 一些相关信息
4545

46-
- 这个插件专注于汇编的编译运行调试环节,推荐结合汇编语法支持(高亮、代码片段等)的插件一起使用,如:[MASM](https://marketplace.visualstudio.com/items?itemName=bltg-team.masm)[TASM](https://marketplace.visualstudio.com/items?itemName=Roncho.assembly-8086)[masm-code](https://marketplace.visualstudio.com/items?itemName=kaixa.masm-code)[x86 and x86_64 Assembly](https://marketplace.visualstudio.com/items?itemName=13xforever.language-x86-64-assembly)等。
4746
- 一些有趣的汇编代码: [dosbox codes](https://github.com/xsro/masm-tasm/wiki/dosbox#写代码)
4847
- 使用终端任务调用dosbox:[VSC-ASMtasks](https://github.com/xsro/VSC-ASMtasks)
4948

@@ -63,13 +62,13 @@
6362
- 调整dosbox窗口大小
6463
- 规定dosbox运行程序之后进行什么操作(是否直接退出程序,还是等待)
6564
- 启动相关功能之前是否先保存文件(不保存的话,只能操作之前保存的版本,建议保存)
66-
- 设置自定义汇编工具路径,详见:[自定义汇编工具路径](https://github.com/xsro/masm-tasm/blob/master/doc/Toolspath.md#自定义汇编工具路径)
65+
- 设置自定义汇编工具路径,详见:[自定义汇编工具路径](doc/Toolspath.md#自定义汇编工具路径)
6766

6867
### 文档 & 感谢 & 许可
6968

70-
- 这个插件是[MIT license](https://github.com/xsro/masm-tasm/blob/master/LICENSE).
69+
- 这个插件是[MIT license](LICENSE).
7170
- 感谢[masm-code](https://github.com/Woodykaixa/masm-code),[msdos player](http://takeda-toshiya.my.coocan.jp/msdos),[dosbox](https://www.dosbox.com)
72-
- 他们的[相关信息](https://github.com/xsro/masm-tasm/blob/master/doc/license_and_info.md)
71+
- 他们的[相关信息](doc/license_and_info.md)
7372
- [一些相关资料:wiki](https://github.com/xsro/VSC-ASMtasks/wiki)
7473

7574
Enjoy!:smile:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "masm-tasm",
3-
"displayName": "MASM/TASM via DOSBox",
3+
"displayName": "MASM/TASM",
44
"publisher": "xsro",
5-
"description": "Run and Debug MASM/TASM code in DOSBox with right click in the editor of assembly codes",
5+
"description": "DOS汇编语言开发环境,安装即用,可自定义,支持TASM/MASM",
66
"version": "0.1.4",
77
"keywords":["dosbox","16位","汇编","微机原理","tasm","masm"],
88
"icon":"dosboxasm.png",

syntaxes/assembly.tmLanguage.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,15 @@
4747
"name": "keyword.valued.assembly",
4848
"match": "\\b((?i)(CODESEG|DATASEG|IDEAL|MODEL|STACK|width|length|ge|le|this|times|far|near)\\b|@d)ata"
4949
},
50+
{
51+
"name":"keyword.segment.name",
52+
"match": "\\b((?i)(segment|ends))\\b"
53+
},
5054
{
5155
"name":"keyword.less.preCompiled.assembly",
5256
"match": "\\b((?i)(local|label|proc|endp|struct|struc|ends|end|include|offset|equ|dup|ptr|if|while|macro|endm|invoke|seg))\\b"
5357
},
58+
5459
{
5560
"name":"keyword.less.conditional.assembly",
5661
"match": "\\b((?i)(abs|if|else|endif|ife|ifb|ifnb|ifdef|ifndef|ifdif|ifndif|if1|if2|irp|for|rept))\\b"

0 commit comments

Comments
 (0)