⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 int2f.lst

📁 DOS SOURCE CODE,DOS-C started in 1988 as an experiment in writing device drivers in C for Microsof
💻 LST
字号:
Turbo Assembler	 Version 3.1	    04/11/13 12:54:49	    Page 1
int2f.ASM



      1				     ;
      2				     ; File:
      3				     ;				 int2f.asm
      4				     ; Description:
      5				     ;		       multiplex interrupt support code
      6				     ;
      7				     ;			     Copyright (c) 1996
      8				     ;			     Pasquale J. Villani
      9				     ;			     All Rights	Reserved
     10				     ;
     11				     ; This file is part of DOS-C.
     12				     ;
     13				     ; DOS-C is	free software; you can redistribute it and/or
     14				     ; modify it under the terms of the	GNU General Public License
     15				     ; as published by the Free	Software Foundation; either version
     16				     ; 2, or (at your option) any later	version.
     17				     ;
     18				     ; DOS-C is	distributed in the hope	that it	will be	useful,	but
     19				     ; WITHOUT ANY WARRANTY; without even the implied warranty of
     20				     ; MERCHANTABILITY or FITNESS FOR A	PARTICULAR PURPOSE.  See
     21				     ; the GNU General Public License for more details.
     22				     ;
     23				     ; You should have received	a copy of the GNU General Public
     24				     ; License along with DOS-C; see the file COPYING.	If not,
     25				     ; write to	the Free Software Foundation, 675 Mass Ave,
     26				     ; Cambridge, MA 02139, USA.
     27				     ;
     28				     ; $Logfile:   D:/dos-c/src/kernel/int2f.asv  $
     29				     ;
     30				     ; $Header:	  D:/dos-c/src/kernel/int2f.asv	  1.1	29 May 1996 21:03:46   patv  $
     31				     ;
     32				     ; $Log:   D:/dos-c/src/kernel/int2f.asv  $
     33				     ;
     34				     ;	  Rev 1.1   29 May 1996	21:03:46   patv
     35				     ; bug fixes for v0.91a
     36				     ;
     37				     ;	  Rev 1.0   19 Feb 1996	 3:34:38   patv
     38				     ; Initial revision.
     39				     ;
     40
     41
     42	0000			     _TEXT	     segment byte public 'CODE'
     43				     DGROUP	     group   _DATA,_BSS,_BSSEND		     ; small model
     44						     assume  cs:_TEXT,ds:DGROUP,ss:DGROUP
     45	0000			     _TEXT	     ends
     46
     47	0000			     _DATA	     segment word public 'DATA'
     48	0000			     _DATA	     ends
     49
     50	0000			     _BSS	     segment word public 'BSS'
     51	0000			     _BSS	     ends
     52
     53	0000			     _BSSEND	     segment byte public 'STACK'
     54	0000			     _BSSEND	     ends
     55
Turbo Assembler	 Version 3.1	    04/11/13 12:54:49	    Page 2
int2f.ASM



     56
     57
     58	0000			     _TEXT	     segment byte public 'CODE'
     59						     assume  cs:_TEXT
     60
     61						     public  _int2f_handler
     62	0000			     _int2f_handler:
     63	0000  FB				     sti			     ; Enable interrupts
     64	0001  80 FC 11				     cmp     ah,11h		     ; Network interrupt?
     65	0004  75 07				     jne     Int2f3		     ; No, continue
     66	0006			     Int2f1:
     67	0006  0A C0				     or	     al,al		     ; Installation check?
     68	0008  74 00				     jz	     FarTabRetn		     ; yes, just return
     69	000A			     Int2f2:
     70
     71	000A			     FarTabRetn:
     72	000A  CA 0002				     retf    2			     ; Return far
     73	000D			     Int2f3:
     74	000D  80 FC 10				     cmp     ah,10h		     ; SHARE.EXE interrupt?
     75	0010  74 F4				     je	     Int2f1		     ; yes, do installation check
     76	0012  80 FC 14				     cmp     ah,14h		     ; NLSFUNC.EXE interrupt?
     77	0015  74 EF				     je	     Int2f1		     ; yes, do installation check
     78	0017  CF				     iret			     ; Default,	interrupt return
     79
     80	0018			     _TEXT	     ends
     81
     82						     end
Turbo Assembler	 Version 3.1	    04/11/13 12:54:49	    Page 3
Symbol Table




Symbol Name			  Type	 Value

??DATE				  Text	 "04/11/13"
??FILENAME			  Text	 "int2f	  "
??TIME				  Text	 "12:54:49"
??VERSION			  Number 030A
@CPU				  Text	 0101H
@CURSEG				  Text	 _TEXT
@FILENAME			  Text	 INT2F
@WORDSIZE			  Text	 2
FARTABRETN			  Near	 _TEXT:000A
INT2F1				  Near	 _TEXT:0006
INT2F2				  Near	 _TEXT:000A
INT2F3				  Near	 _TEXT:000D
STANDALONE			  Text	 1
_INT2F_HANDLER (_int2f_handler)	  Near	 _TEXT:0000

Groups & Segments		  Bit Size Align  Combine Class

DGROUP				  Group
  _BSS				  16  0000 Word	  Public  BSS
  _BSSEND			  16  0000 Byte	  Public  STACK
  _DATA				  16  0000 Word	  Public  DATA
_TEXT				  16  0018 Byte	  Public  CODE


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -