Please discuss about the assignment
Assignment No. 03
CS609 – System Programming
Total Marks: 10
Due Date: 23/01/2017
Rules for Marking:
It should be clear that your assignment will not get any credit if:
(Strict disciplinary action will be taken in this case).
Question 1 (10 Marks)
Write a C program for setting up a slave DMA channel 1 to transfer 40 bytes by keeping the following points in mind.
NOTE: Do not worry about the output and just concentrate on logic. There should be no error in your program. Do not put any query on MDB about this assignment, if you have any query then email at email@example.com.
Deadline: Your assignment must be uploaded/submitted on or before 23rd January 2017.
mujtba kya ye final solution hai?
is ko c language main likhna hai?
lo g chck it i thnk thk ha ye
Kia ye file thek hai?
no errors hy is maaa too
CS 609 ASSIGNMENT 3 SOLUTION FALL 2016
unsigned long int temp;
unsigned int i;
unsigned int count=48;
void main (void)
temp=(unsigned long int)_DS;
temp = temp 4L; i = *((unsigned int *)(&temp)); temp = temp>>16L;
outportb (0x81,*((unsigned char *)(&temp)));
outportb(0x06,*(((unsigned char *)(&i))));
outportb(0x06,*(((unsigned char *)(&i))+1));
outportb(0x07,*((unsigned char *)(&count)));
This program is to transfer 48 byte with channel 3.
Watch lecture no 24 and try to edit this program according to assignment requirements... Just little bit change is required..
koi mukamal solution be send kar do C main