What is System Programming? - PowerPoint PPT Presentation

About This Presentation
Title:

What is System Programming?

Description:

Lecture 24 Lecture 24 DMA Request Register DMA Mask 1 Register DMA Mask 2 Register DMA Mode Register Setup & Query of DMA Channels High Address Nibble/Byte # ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 10
Provided by: Drfarhat2
Category:

less

Transcript and Presenter's Notes

Title: What is System Programming?


1
Lecture 24
2
DMA Request Register
3
DMA Mask1 Register
4
DMA Mask2 Register
5
DMA Mode Register
6
Setup Query of DMA Channels
7
High Address Nibble/Byte
8
include ltdos.hgt include ltbios.hgt char st80
unsigned long int temp unsigned int i unsigned
int count48 void main (void) temp(unsigned
long int)_DS temp temp ltlt 4L i
((unsigned int )(temp)) temp tempgtgt16L
9
outportb (0x81,((unsigned char
)(temp))) outportb(0x06,(((unsigned char
)(i)))) outportb(0x06,(((unsigned char
)(i))1)) count-- outportb(0x07,((unsigned
char )(count))) outportb(0x07,(((unsigned
char)(count))1)) outportb(0x0b,0x0b)
outportb(0x08,0) outport(0x0a,3) getch()
Write a Comment
User Comments (0)
About PowerShow.com