How to let DOSBox automatically execute commands after startup

How to let DOSBox automatically execute commands after startup

Using DOSBox, you can simulate DOS under Windows and do some fun work. For example, learning 8086 assembly.

Every time you start DOSBox, you need to mount and change the drive letter. It's not fun when the program you are debugging keeps crashing.

You can think of ways to automate these fixed "routines".

Notice that when DOSBox is first started, there is a window that looks like this:


This file is responsible for the commands executed after DOSBox is started.

Find this file.

You can edit it with Notepad.

Scroll to the bottom, find the [autoexec] section, and add the following commands:

Then restart DOSBox.

screenshot? Not given.

Do it yourself!

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • Linux shell array and associative array usage examples
  • Android's implementation method of executing shell scripts in the Linux terminal to directly print the log of the currently running app
  • How to remotely batch execute Linux command programs using pyqt
  • Use of Zabbix Api in Linux shell environment
  • How to recover accidentally deleted messages files in Linux
  • Summary of solutions to common Linux problems
  • In-depth analysis of the Linux kernel macro container_of
  • Linux loading vmlinux debugging
  • Customization Method of Linux Peripheral File System
  • Detailed example of changing Linux account password

<<:  Detailed explanation of Mysql transaction processing

>>:  React Hooks Common Use Scenarios (Summary)

Recommend

DIV background semi-transparent text non-translucent style

DIV background is semi-transparent, but the words ...

Trash-Cli: Command-line Recycle Bin Tool on Linux

I believe everyone is familiar with the trashcan,...

Use CSS to switch between dark mode and bright mode

In the fifth issue of Web Skills, a technical sol...

Summary of the data storage structure of the nginx http module

Starting from this section, we will explain the i...

Analysis of the solution to Nginx Session sharing problem

This article mainly introduces the solution to th...

A detailed introduction to for/of, for/in in JavaScript

Table of contents In JavaScript , there are sever...

js to achieve simple accordion effect

This article shares the specific code of js to ac...

Essential Handbook for Web Design 216 Web Safe Colors

The color presentation on a web page will be affec...

How to install openssh from source code in centos 7

Environment: CentOS 7.1.1503 Minimum Installation...

Centos7 startup process and Nginx startup configuration in Systemd

Centos7 startup process: 1.post(Power-On-Self-Tes...

Research on the value of position attribute in CSS (summary)

The CSS position attribute specifies the element&...

Detailed explanation of common Docker Compose commands

1. The use of Docker compose is very similar to t...

Pure CSS to achieve cloudy weather icon effect

Effect The effect is as follows ​ Implementation ...

JS asynchronous code unit testing magic Promise

Table of contents Preface Promise chaining MDN Er...