CS609 Assignment 1 Solution Idea!..
#include<BIOS.H> #include<DOS.H> char st1[80] ={"Virtual University of Pakistan$"}; char st2[80] ={"Washi Ali$"}; char st2[80] ={"Tufail$"}; void interrupt (*oldint65)( ); void interrupt newint65( ); void main() { oldint65 = getvect(0x65); setvect(0x65, newint65); keep(0, 1000); } void interrupt newint65( ) { switch (_AH) { case 0: _AH = 0x09; _DX = (unsigned int) st1; geninterrupt (0x21); break; case 1: _AH = 0x09; _DX = (unsigned int) st2; geninterrupt (0x21); break; case 2: _AH = 0x09; _DX = (unsigned int) st3; geninterrupt (0x21); break; } } }```SOLVED CS609 Quiz No.2 Solution and Discussion
-
______________ used to program various common parameters of transfer for all the channels. CS609
(DMA command register) Page 191
This is the command register. It is used to program various common parameters of
transfer for all the channels. -
Blocks can be termed as______________. CS609
sectors per track (Page 202)
Blocks
• Blocks are the sectors per track
•Smallest addressable unit in memory
•Address of block is specified as a unique
combination of three parameters (i.e. track, head,
sec) -
Extended BIOS services require that the address of the block is specified as _______. CS609
LBA address (Page 210)Extended services require that the address of the block is specified as a LBA address.
-
Highest physical capacity of the disk according to the IDE interface is approximately _________. CS609
(127GB) Page 212Highest IDE capacity
• Hence highest physical capacity of the disk
according to the IDE interface is
255x16x65536x512 = 127GB
•Extended BIOS functions allow to access disk
with sizes greater than 504 MB through LBA
translation. -
________ are the longitudinal division of the disk. CS609
(Sector) Page 201
Tracks are the circular division of the disk and the sectors are the longitudinal division of
the disk as shown in the diagram above. -
_________ can be used to simulate a DMA request through software (Choose best option). CS609
(DMA request register) Page 192
-
A DMA cannot work in ___________ mode.
-
__________ will specify if the DMA transfer will happen as a single transfer, block transfer or demand transfer. ( command register Page 73)


100% Off on Your FEE Join US! Ask Me How?


