Micro Op SYS (DOS) - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Micro Op SYS (DOS)

Description:

FDISK. MSD. SYS. 4. Types of RAM Memory. Conventional Memory. 0K to 640K. Everything must run in conventional memory. Upper Memory. 640K to 1MB (1024K) ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 16
Provided by: kevincr
Learn more at: http://faculty.ccri.edu
Category:
Tags: dos | sys | fdisk | micro

less

Transcript and Presenter's Notes

Title: Micro Op SYS (DOS)


1
Micro Op SYS (DOS)
  • Chapters 8, 10, 12, 13, 14

2
DOS Commands
  • DEFRAG
  • SCANDISK
  • MSAV
  • MSBACKUP

3
DOS Commands (cont)
  • FDISK
  • MSD
  • SYS

4
Types of RAM Memory
  • Conventional Memory
  • 0K to 640K
  • Everything must run in conventional memory
  • Upper Memory
  • 640K to 1MB (1024K)
  • Device drivers and BIOS
  • Extended Memory
  • Above 1MB

5
HIMEM.SYS and EMM386.EXE
  • Contain in the CONFIG.SYS file
  • devicec\dos\himem.sys
  • This allows the usage above conventional memory
  • Devicec\dos\emm386.exe
  • This manages items in upper memory
  • Must come after HIMEM.SYS

6
Loading Items in Memory
  • DEVICE
  • Loads a driver into conventional memory
  • devicec\mouse.sys
  • DEVICEHIGH
  • Loads a driver into upper memory
  • devicehighc\mouse.sys
  • DOSHIGH
  • Loads DOS into extended memory

7
DOS Commands
  • MEM
  • /C what is running in conventional memory
  • Memmaker

8
Batch Files
  • Group of commands that the computer automatically
    executes as a set
  • Similar to a program
  • Must popular batch file is the AUTOEXEC.BAT
  • Executed each time DOS starts

9
Batch file Commands
  • REM
  • Allows you to make comments inside the batch file
    that will not be executed
  • PAUSE
  • Temporarily halts execution of a batch file
  • Message appears after this is executed saying
    Press any key when ready

10
Batch file Commands (cont)
  • ECHO
  • Lets the computer know if to just execute command
    or to execute and display command
  • _at_ECHO OFF just execute
  • _at_ECHO ON execute and display
  • Also allows for messages to be printed
  • ECHO This is a test
  • This is a test
  • ECHO
  • Gives a blank line

11
Create a Batch File
  • EDIT filename.bat
  • To move around the screen, you have to use the
    arrow keys
  • To access the menu at the top, press the ALT key
    and then the appropriate arrow keys

12
Special DOS commands inside Batch Files
  • GOTO
  • Allows you to skip DOS commands
  • CHOICE
  • Allows you to pick from a menu
  • choice /C123E /N Choose a menu option
  • /c tells the computer to have options. If /c
    is not used, then CHOICE uses Y/N
  • /n do not display the options after the
    statement
  • IF ERRORLEVEL number
  • Evaluates as true when the previously executed
    batch file command has an error condition equal
    to or greater than the number
  • if errorlevel 1 goto end

13
_at_ECHO OFFSTARTCLSECHO ECHO Main MenuECHO
ECHO 1. Word ProcessingECHO 2.
SpreadsheetsECHO 3. DatabaseECHO ECHO
CHOICE /C123E Choose a menu optionIF
ERRORLEVEL 4 GOTO ENDIF ERRORLEVEL 3 GOTO DBIF
ERRORLEVEL 2 GOTO SSIF ERRORLEVEL 1 GOTO WPGOTO
ENDDBCD\DBASEDBASEGOTO STARTSS
CD\LOTUS123GOTO STARTWPCD\WP51WPGOTO
STARTEND
14
Main Menu1. Word Processing2. Spreadsheets3.
DatabaseChoose a menu option 123E
15
PROJECT
Write a Comment
User Comments (0)
About PowerShow.com