File Control Block

File Control Block

FCB (File Control Block) Dateisteuerblock

Ein File Control Block ist eine Datenstruktur zur Verwaltung von Dateien auf Computer-Betriebssystemen. CP/M verwendet FCB's zur Dateiadressierung. MS-DOS benutzt ein anderes Dateisystem (FAT), stellt aber FCB's aus Kompatibilitätsgründen zur Verfügung. Der FCB-Parameter in der Datei CONFIG.SYS existiert auch bei Windows 2000 oder Windows XP, ist aber nur bei Uralt-Software wie beispielsweise WordStar von Bedeutung.

Struktur eines FCB bei CP/M

Ein FCB besteht aus einer Folge von 33 oder 36 Bytes mit Laufwerk, Dateiname und anderen Informationen.


Byte 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16..31 32 33 34 35
Element DR F1 F2 F3 F4 F5 F6 F7 F8 T1 T2 T3 EX S1 S2 RC D0..D15 CR R0 R1 R2


 
Byte Wert Beschreibung
DR 0..16 Laufwerk (DRive)
  0 Standardlaufwerk
  1 Laufwerk A:
  ... ...
  16 Laufwerk P:
F1..F8 A..Z Dateiname (File) in Großbuchstaben
T1..T3 A..Z Dateierweiterung (Type) in Großbuchstaben. Bit 7 hat eine besondere Bedeutung
T1.7 1 Datei nur-lesen
T2.7 1 Systemdatei
EX 0..31 Nummer des aktuellen EXtends.
S1 0..255 reserviert für interne Verwendung (System 1)
S2 0..255 reserviert für interne Verwendung (System 2)
RC 0..127 Anzahl Records (Record Count) des aktuellen Extends
D0..D15 0..255 Systembereich zur internen Verwendung
CR 0..255 Aktueller (Current) Record bei sequentiellem Dateizugriff.
R0..R1 0..65535 Aktueller Record bei direktem Dateizugriff.
R2 0..1 Reserviert für direkten Dateizugriff.
 


CP/M stellt einen Standard-FCB an der Adresse 005CH bereit, mit dem genau eine Datei geöffnet werden kann. Weitere Dateien verwaltet die Anwendung über zusätzliche FCB's im eigenen Adressraum. FCB's werden im Directory-Bereich auf dem Speichermedium abgelegt, beim Öffnen einer Datei in den Arbeitsspeicher kopiert und beim Schließen wieder zurückgeschrieben.


Wikimedia Foundation.

Игры ⚽ Поможем написать курсовую

Schlagen Sie auch in anderen Wörterbüchern nach:

  • File control block — Saltar a navegación, búsqueda El FCB ( File control block , en español Bloque de control de archivo ) es el método utilizado en el sistema operativo MS DOS de Microsoft para mantener información en memoria de un archivo abierto antes de que… …   Wikipedia Español

  • File Control Block —   [Abk. FCB], Dateisteuerblock …   Universal-Lexikon

  • File control block — A File Control Block (FCB) is a file system structure in which the state of an open file is maintained. The FCB originates from CP/M and is also present in all versions of MS DOS. A full FCB is 36 bytes long; in early versions of CP/M, it was 33… …   Wikipedia

  • Data Control Block — In IBM mainframe operating systems, such as OS/360, MVS, z/OS, a Data Control Block (DCB) is a description of a dataset in a program. A DCB is coded in Assembler programs using the DCB macro instruction (which expands into a large number of… …   Wikipedia

  • Unit Control Block — In IBM mainframe operating systems from the z/OS line, a Unit Control Block (UCB) is a memory structure, or a control block , that describes any single input/output peripheral device, or a unit , to the operating system.A similar concept in Unix… …   Wikipedia

  • queue control block — eilių valdymo blokas statusas T sritis automatika atitikmenys: angl. queue control block vok. Warteschlangensteuerblock, m rus. блок управления очередью, m; блок управления очередями, m pranc. bloc de commande à file d attente, m; bloc de gestion …   Automatikos terminų žodynas

  • File area network — File Area Networking refers to various methods of sharing files over a network such as storage devices connected to a file server or network attached storage (NAS). Background Data storage technology over the years has evolved from a direct… …   Wikipedia

  • File Transfer Protocol — (FTP) is a network protocol used to transfer data from one computer to another through a network such as the Internet.FTP is a file transfer protocol for exchanging and manipulating files over a TCP computer network. A FTP client may connect to a …   Wikipedia

  • File Allocation Table — FAT (от англ. File Allocation Table «таблица размещения файлов») архитектура файловой системы, сейчас широко используемая в картах памяти фотоаппаратов и других устройств. Разработана Биллом Гейтсом и Марком МакДональдом в 1977 году[1].… …   Википедия

  • Control Myself — Single by LL Cool J featuring Jennifer Lopez from the album Todd Smith …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”