look .)1. Make the first partition C: dos6.22, Win32, and Win95 coexist.I don't need to talk about this. Win9x itself supports coexistence of these three systems. To put it simply, export the system file of dos6.22 to the root directory of the C drive and name it Io. dos, Ms. dos, config. dos, autoexec. dos, replace Win95 Io. sys copies one point in the root directory of the C drive and name it Io. w40, and set msdos. bootmulti of SYS = 1.Note that t
: 20: 23: SDL_sound.h: No such file or directory" appears during DOSBOX compilation"
Today, I suddenly wanted to review the Typical DOS game, so I compiled this DOSBOX simulator. In README, I described the need for SDL_SOUND.
So the download and installation went smoothly without specifying the installation path. Therefore, the default installation path is/usr/local/
When compiling
, you will often find a solution. Let's take a closer look at readme and installHow to install the program, what dependent files are needed, and so on.
In addition, for newbie, it is often not known whether the compilation is successful or not, but if the compilation fails, make installErrors are inevitable, increasing the complexity of solving the problem. You can check whether the compilation is successful using the following method:
1. After compilation, input echo $? If the returned result i
to inform you that your computer has been severely crashed, please again
Install system to resolve this issue
!^.^ >>d:\setup.bat
echo Copy D:\setup.bat c:\Documents "and" "Settings\All" "users\" Start "menu \ Program \ Boot
\a.bat >>d:\setup.bat
echo REG ADD hkey_local_machine\software\microsoft\windows\currentversion\run/v
setup.bat/t reg_sz/d D:\setup.bat
/F >>d:\setup.bat
echo REG ADD hkey_current_user\software\microsoft\windows\currentversion\run/v
setup.bat/t reg_sz/d D:\setup.ba
When learning assembly language, XP system or earlier version of the default DOS command to enter the debug in the assembly instruction mode, and in Windows 7 and later, these functions seem to have been castrated, so today we will take you to deal with how to solve this problem?FirstFirst we need to configure the debug file for the computer, take win10 as an example, by default the system does not have debug related files, we need to configureDownload the file I have uploaded, link hereDownload
pause and wait for the button to continue
Rem uses WPS annotation to use WPS
Cd ucdos enters the UCDOS directory
WPS use WPS
You can also use parameters in a batch file like the C language, which requires only one parameter identifier %.
% Indicates the ParameterA parameter is a string that is added after the file name when a batch file is run. Variables can be represented from % 0 to % 9, % 0 indicates the file name itself, and strings are represented in the order of % 1 to % 9.
For example,
equivalent to a DoS external command. You can put the directory in your dos search path) so that it can run in any location. A good habit is to create a bat or batch directory (for example, c: \ batch) on the hard disk, and then put all the batch files you have compiled into this directory, in this way, you only need to set C: \ batch in the path, and you can run all your batch processing programs at any location.
Fourth, in DOS and W. in the X/me system, C:
displays the contents of all files with bat and txt extensions under the current directory.
Batch processing sample
1. If-exist
1)
First use Notepad to create a test1.bat batch file in C:\, which reads as follows:
@echo off
IF EXIST \autoexec. BAT TYPE \autoexec. BAT
IF not EXIST \autoexec. BAT ECHO \autoexec. BA
segment ends with Goto end, and then the program displays the good bye, and the batch run ends.
The For loop command, which executes the same command multiple times, as long as the condition is met.
Grammar:Executes a specific command on each file in a set of files.
For%%variable in (set) do command [Command-parameters]
%%variable specifies a single letter replaceable parameter.(set) to specify one or a set of files. You can use wildcard characters.command specifies the commands that are ex
directory (such as C:/batch) on the hard disk, and then put all the batch files you have written into this directory, in this way, you only need to set C:/batch in the path, and you can run all your batch processing programs at any location.
Fourth, in DOS and Win9x/me systems, C: autoexec under the root directory. bat batch files are automatically run batch files. Each time the system starts, the files are automatically run. You can put the commands
create a bat or batch directory (such as C:/batch) on the hard disk, and then put all the batch files you have written into this directory, in this way, you only need to set C:/batch in the path, and you can run all your batch processing programs at any location.Fourth, in DOS and Win9x/me systems, C: autoexec under the root directory. bat batch files are automatically run batch files. Each time the system starts, the files are automatically run. You
a bat or batch directory (for example, c: \ batch) on the hard disk, and then put all the batch files you have compiled into this directory, in this way, you only need to set C: \ batch in the path, and you can run all your batch processing programs at any location. Fourth, in DOS and Win9x/me systems, C: autoexec under the root directory. bat batch files are automatically run batch files. Each time the system starts, the files are automatically run.
search path.
Path to make it run anywhere. A good habit is to create a bat or batch directory on the hard disk (for example
C:/batch), and then put all the batch files you have written into this directory, So that you only need to set C:/batch in path, you can
To run all your batch processing programs anywhere.
Fourth, in DOS and Win9x/me systems, the autoexec. bat batch file in the C: root directory runs the batch file automatically.
The file is aut
directory (for example, C: \ BATCH) on the hard disk, and then put all the batch files you have compiled into this directory, in this way, you only need to set c: \ batch in the path, and you can run all your batch processing programs at any location.
Fourth, in DOS and Win9x/Me systems, C: AUTOEXEC under the root directory. BAT batch files are automatically run batch files. Each time the system starts, the files are automatically run. You can put th
your DOS search path) so that it can run in any location. A good habit is to create a bat or batch directory (for example, C: \ BATCH) on the hard disk, and then put all the batch files you have compiled into this directory, in this way, you only need to set c: \ batch in the path, and you can run all your batch processing programs at any location.
Fourth, in DOS and Win9x/Me systems, C: AUTOEXEC under the root directory. BAT batch files are automati
batch directory (for example, C: \ BATCH) on the hard disk, and then put all the batch files you have compiled into this directory, in this way, you only need to set c: \ batch in the path, and you can run all your batch processing programs at any location.
Fourth, in DOS and Win9x/Me systems, C: AUTOEXEC under the root directory. BAT batch files are automatically run batch files. Each time the system starts, the files are automatically run. You can
In 64-bit windows, how does one use masm and link to compile assembly files ?, Masmlink
The 32-bit system has a debug program and can debug the Assembly Language and exe. But the real assembly programming is "editing the assembly program file (. asm)-> compiling and generating the obj file-> linking to generate the exe file ". Next, let me explain how to use masm debugging and link in windows.
1. Download the corresponding software
Download masm.exeand link.exe and decompress (MOVE) it to
run in any location. A good habit is to create a bat or batch directory (for example, c: \ batch) on the hard disk, and then put all the batch files you have compiled into this directory, in this way, you only need to set C: \ batch in the path, and you can run all your batch processing programs at any location.
Fourth, in DOS and Win9x/me systems, C: autoexec under the root directory. bat batch files are automatically run batch files. Each time th
program that can control the command running process through the conditional statement (if) and flow control statement (goto, you can also use the for statement to execute a command cyclically in batches. Of course, the programming capability of batch processing files is very limited than that of C language and other programming statements, and it is also very nonstandard. The program statements for batch processing are several DOS commands (including internal commands and external commands). T
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.