$IF 0 ----------------------------------------------------------------------------- BIOS Interrupt & Port I/O Routines Created with PowerBASIC for DOS 3.50 Copyright (C) 2002 by B‚la Valek E-mail: bvalek2@freemail.hu Version date: 10-20-2002 ----------------------------------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ----------------------------------------------------------------------------- $ENDIF DIM ABSOLUTE IntVector(255) AS DWORD AT &H0000 DIM ABSOLUTE BootStack(255) AS BYTE AT &H0030 DIM ABSOLUTE PortAddress(7) AS WORD AT &H0040 %COM1 = 0 %COM2 = 1 %COM3 = 2 %COM4 = 3 %LPT1 = 4 %LPT2 = 5 %LPT3 = 6 %LPT4 = 7 %EBDA = 7