当前位置:网站首页>First use of dosbox
First use of dosbox
2022-07-06 12:24:00 【Vigorous waist Nuo dance】
download dosbox
Extraction code :6666
Store the downloaded file in the following way
decompression dosbox
download
It's over by default
It's best to add one on the desktop dosbox Shortcut to
Remember... Here MASM The path of
modify dosbox Configuration of
The configuration is modified to make dosbox It can be used directly MASM Commands in files
Will be dosbox and MASM Connect ( That is, the so-called mount
The configuration file is here (AppData It's a hidden file , You need to turn off hiding to see )
Then use Notepad to open
Drop down to the end here
add to
mount c d:/asm/MASM
set PATH=z:\;c:\;
c:
Change the last part of the first line to your own MASM route
Add and save
The purpose of adding here is to make dosbox These lines of code can be automatically run every time you open
auto execute Automatic execution
Each time it is opened, it will be connected with masm The connection of
Write a asm Assembly language program
stay MASM Create a text file under the folder
The contents are as follows
; 2018y5m18d dsdsds
;Hello World----from whatiwhere Ly
DATAS SEGMENT
STRING DB 'Hello World!',13,10,'$'
DATAS ENDS
CODES SEGMENT
ASSUME CS:CODES,DS:DATAS
START:
MOV AX,DATAS
MOV DS,AX
LEA DX,STRING
MOV AH,9
INT 21H
MOV AH,4CH
INT 21H
CODES ENDS
END START
Finally, modify the suffix as asm
preservation
open dosbox
Input in sequence
masm eg101.asm
link eg101.obj
eg101
Can then
There is waiting for input
Just go straight back
Fonts and colors used in the text
< font face=“ Microsoft YaHei ” color=#0099ff>nothing
边栏推荐
猜你喜欢
Gravure sans fil Bluetooth sur micro - ordinateur à puce unique
ORA-02030: can only select from fixed tables/views
编译原理:源程序的预处理及词法分析程序的设计与实现(含代码)
基於Redis的分布式ID生成器
Pytorch: tensor operation (I) contiguous
Remember an experience of ECS being blown up by passwords - closing a small black house, changing passwords, and changing ports
AMBA、AHB、APB、AXI的理解
Several declarations about pointers [C language]
Feature of sklearn_ extraction. text. CountVectorizer / TfidVectorizer
Expected value (EV)
随机推荐
Stm32f1+bc20+mqtt+freertos system is connected to Alibaba cloud to transmit temperature and humidity and control LED lights
Whistle+switchyomega configure web proxy
The first simple case of GNN: Cora classification
ES6 grammar summary -- Part 2 (advanced part es6~es11)
Amba, ahb, APB, Axi Understanding
map文件粗略分析
Vscode basic configuration
@The difference between Autowired and @resource
STM32 how to locate the code segment that causes hard fault
MySQL time, time zone, auto fill 0
Understanding of AMBA, AHB, APB and Axi
[Offer18]删除链表的节点
[Red Treasure Book Notes simplified version] Chapter 12 BOM
程序员老鸟都会搞错的问题 C语言基础 指针和数组
Common properties of location
Redis based distributed ID generator
Single chip Bluetooth wireless burning
Selective sorting and bubble sorting [C language]
Gateway fails to route according to the service name, and reports an error service unavailable, status=503
[golang] leetcode intermediate - fill in the next right node pointer of each node & the k-smallest element in the binary search tree