Random reading and writing and Closing a fcb file, Basic Computer Science

The 21H function and the 22H function of the 21H interruption are the ones in charge of realizing the random readings and writings in that order. The random register number and the recent block are used to calculate the virtual position of the register to read or write. The AL register gives identical information for the in order reading of writing. The information to be read will be returned on the transfer region of the disk, similarly the information to be written resides on the DTA.


To close a file we utilize the 10H function of the 21H interruption. If after calling up this function, the AL register holds the FFH value, it means that the file has altered position, the disk was altered or there is error of disk access.
Posted Date: 5/4/2012 8:00:29 AM | Location : United States







Related Discussions:- Random reading and writing and Closing a fcb file, Assignment Help, Ask Question on Random reading and writing and Closing a fcb file, Get Answer, Expert's Help, Random reading and writing and Closing a fcb file Discussions

Write discussion on Random reading and writing and Closing a fcb file
Your posts are moderated
Related Questions

how can use joystick


QUESTION (a) Outline the five main steps in the Web Design Process (b) Draw an annotated diagram explaining how data is transmitted to web servers during a standard form sub

What is methods For handling Deadlocks?

Subroutine and Functions:  In a program, it is often necessary to repeat a statement or group of statements at several points to accomplish a particular task. Repeating the sa

Examples of Online Databases: The adoption of modern technology has resulted in the proliferation of machine readable databases. The National Library of Medicine (USA) designe

Algorithm : Once a problem has been defined precisely, a procedure or process must be designed to produce the required output from the given input. Since a computer is a machine t

Multiprogramming Multiprogramming means capability of several programs to simultaneously occupy a portion of the computer’s memory and compete for central processor time. Th

Programs - programming language: Programs to implement algorithms on the computer must be written in a language that the computer can understand. It is fruitful, therefore, to