Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Pascal Форум Информер Страны мира
   Обработка Прерываний (ISR)    >>    atintvec
   
 
 Построение таблицы векторов прерываний BIOS  Дмитрий Стефанков 12.07.1994

Build the PC/AT ROM BIOS Interrupt Vector Table (Ints 00h-1Fh,70h-77h,02h,05h)



4k 
 

{ LIBRARY SYSTEM UTILITIES } { MODULE AT_INTERRUPT_VECTOR_TABLE_DUMP } { FILE NAME ATINTVEC.PAS } { PURPOSE Build the PC/AT ROM BIOS Interrupt Vector Table } { (Ints 00h-1Fh,70h-77h,02h,05h) } { VERSION 1.10 } { DATE 20-Sep-93 } { COMPANY Freelance Software Engineer } { ADDRESS Isakowskogo str, 4-2-30 } { Moscow, 123181 } { USSR } { Tel. 007 (095) 944-6304 } { COPYRIGHT NOTICE Copyright (C) 1987-1993, Dmitry Stefankov } { RESTRICTED RIGHTS AVAILABLE ONLY FOR FREE DISTRIBUTION, } { NOT FOR COMMERCIAL PURPOSE } { COMPILER Turbo Pascal Version 6.0 } { (Borland International Inc.) or compatible } { ARGUMENTS <infile> - input stream } { <outfile> - output stream } { SPECIAL Binary file must be exactly 65,536 bytes (64K) } { DESCRIPTION 1. Read ROM-image input stream } { 2. Extract the ROM BIOS vector information } { 3. Write converted output stream } {-----------------------------------------------------------------------} { Problem description: extracts from ROM BIOS binary image the hardware/software interrupt vector table (00h-1Fh,70h-77h) Data for application: input: ROM BIOS binary image (size = 64 KB) output: std ASCII file Instructions to compile: TPC atintvec.pas , where TPC is a Turbo Pascal command-line compiler Example to run: asc2bin.exe in.rom out.asc , where <in.rom> -> input filename <out.asc> -> output filename }