当前位置:网站首页>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
边栏推荐
- Arduino uno R3 register writing method (1) -- pin level state change
- Imgcat usage experience
- Redis cache update strategy, cache penetration, avalanche, breakdown problems
- ES6 grammar summary -- Part I (basic)
- 1081 rational sum (20 points) points add up to total points
- Pytorch: tensor operation (I) contiguous
- Time slice polling scheduling of RT thread threads
- Single chip Bluetooth wireless burning
- 程序设计大作业:教务管理系统(C语言)
- Whistle+switchyomega configure web proxy
猜你喜欢
Whistle+switchyomega configure web proxy
js 变量作用域和函数的学习笔记
程序设计大作业:教务管理系统(C语言)
Arm pc=pc+8 is the most understandable explanation
Feature of sklearn_ extraction. text. CountVectorizer / TfidVectorizer
基於Redis的分布式ID生成器
JS Title: input array, exchange the largest with the first element, exchange the smallest with the last element, and output array.
JS正则表达式基础知识学习
Several declarations about pointers [C language]
ES6语法总结--上篇(基础篇)
随机推荐
ARM PC=PC+8 最便于理解的阐述
HCIP Day 12
MP3mini播放模块arduino<DFRobotDFPlayerMini.h>函数详解
[esp32 learning-2] esp32 address mapping
JS Title: input array, exchange the largest with the first element, exchange the smallest with the last element, and output array.
Mp3mini playback module Arduino < dfrobotdfplayermini H> function explanation
Arduino uno R3 register writing method (1) -- pin level state change
Arm pc=pc+8 is the most understandable explanation
MySQL replacement field part content
Learning notes of JS variable scope and function
Cannot change version of project facet Dynamic Web Module to 2.3.
【ESP32学习-1】Arduino ESP32开发环境搭建
ES6 grammar summary -- Part I (basic)
單片機藍牙無線燒錄
map文件粗略分析
Basic knowledge of lithium battery
JS正则表达式基础知识学习
Basic operations of databases and tables ----- creating data tables
[Offer29] 排序的循环链表
Gateway 根据服务名路由失败,报错 Service Unavailable, status=503