Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Installation of DosBox, Study Guides, Projects, Research of Computer Programming

How to install DosBox in laptop and computer see in this pdf

Typology: Study Guides, Projects, Research

2020/2021

Uploaded on 12/12/2021

60-hrushikesh-wagh
60-hrushikesh-wagh 🇮🇳

2 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computer Organization and Architecture Lab
Procedure for Installation of DOSBox and Execution of MASM files
Required for COA Lab Practicals
Download and Installation of DOSBOX:
Download DOSBox executable file for Windows from given link,
Link: https://www.dosbox.com/download.php?main=1
Installation of DOSBOX:
1. Open DOSBox-Installer.exe by double clicking.
2. Administrator alert box get open, click on YES to continue installation.
3. Now click on Next
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Installation of DosBox and more Study Guides, Projects, Research Computer Programming in PDF only on Docsity!

Computer Organization and Architecture Lab

Procedure for Installation of DOSBox and Execution of MASM files

Required for COA Lab Practicals Download and Installation of DOSBOX:

  • Download DOSBox executable file for Windows from given link, Link: https://www.dosbox.com/download.php?main=
  • Installation of DOSBOX:
    1. Open DOSBox-Installer.exe by double clicking.
    2. Administrator alert box get open, click on YES to continue installation.
    3. Now click on Next
  1. Again click Next
  2. Now Install
  3. Well Done, Installation is completed.
  4. Now click on close.
  1. You will see something like this: -
  2. In those windows, Window containing BLUE message box is the main window of DOSBox.
  3. Now firstly we need to mount drive, for that execute following command at z:> mount c c:\MASM click Enter.
  1. Then you will get message: “Drive C is mounted as local directory c:\MASM\”
  2. Then execute following command at z:> c: And hit Enter.
  3. Then your directory got change from Z: to C:
  4. Now let’s make first program, For that
  1. Now type sample 8086 program (for testing purpose) as given below: - CODE SEGMENT ASSUME CS: CODE MOV DL,30H MOV AH,02H INT 21H MOV AH,4CH INT 21H CODE ENDS END
  2. Now Save file, from File option in top menu bar.
  1. Now file saved successfully, Let’s Exit form editor.
  2. For that click on Exit in File option in top menu bar.
  3. Now let’s use following commands to run the program: m2 program1; Where, m2 → it is a macro assembler which converts 8086 assembly language program (.asm) to machine language code (.obj ). program1 → Above File name, where we have stored our program. ; → semicolon for command completion And hit Enter
  1. Now you will get warning in result, please ignore that warning and execute next command to run program using: program Where, program1 = Above File Name (it is an executable file) And hit Enter
  1. Now in result you will get 0 , which is correct answer.

Enjoy Learning, Keep Growing, Love Coding…...