亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rtterm.asm

?? [隨書類]Dos6.0源代碼
?? ASM
字號:
	TITLE	RTTERM - Termination module for BASIC runtime
;***
;RTTERM.ASM - Termination module for BASIC runtime
;
;	Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;	This module contains the termination routines for the BASIC 3.0
;	core runtime.  This module will always be present.
;
;******************************************************************************

	INCLUDE switch.inc
	INCLUDE rmacros.inc

;
;	Code Segments
;
	USESEG	<RT_TEXT>	;runtime core
	USESEG	<DV_TEXT>	; DV component I/O deinstall
	USESEG	<ER_TEXT>	;runtime error handler

;
;	Data Segments
;
	USESEG	<_DATA> 	;runtime data (initialized)
	USESEG	<_BSS>		;runtime data (uninitialized)
	USESEG	<BC_SAB>	;beginning of table of module start addresses
	USESEG	<BC_SA> 	;table of module start addresses
	USESEG	<BC_SAE>	;end of table of module start addresses
	USESEG	<XCB>		;beginning of C terminators
	USESEG	<XC>		;C terminators
	USESEG	<XCE>		;end of C terminators

	INCLUDE seg.inc
	INCLUDE messages.inc	;message/error definitions
	INCLUDE addr.inc
	INCLUDE files.inc
	INCLUDE event.inc	

	SUBTTL	Runtime data definitions for BASIC Runtime Core
	PAGE
;
;	Code externals
;
	externFP	B$IStop ;executor for STOP/BREAK in interpreter.
	externFP	exStEnd ;executor for SYSTEM/END in interpreter
	externFP	B$ULTerm ;user library termination
	externFP	UiTerm	;unhook UI interrupt vectors

	externFP	B$RTMDeinstall ;deinstall the RTM interrupt vector

	externFP	_exit	; C startup exit routine

sBegin	ER_TEXT 		
	externNP	B$ERR_NR	;No Resume error
sEnd	ER_TEXT 		


sBegin	RT_TEXT 		
	externFP	B$COMP_DISP	;common component dispatcher
	externNP	B$PUTNUM	;put numbered message
sEnd	RT_TEXT

sBegin	BC_SAE			
	DD	0		;terminate the start address list
sEnd	BC_SAE			

sBegin	XC			
	DD	B$TERM 		;stuff address of BEND in c-term vectors
sEnd	XC			

sBegin	_DATA

	externW b$term_disp	;"ONE" time termination dispatch vectors
	externW b$end_disp	;"END" time termination dispatch vectors
	externB b$inonerr	;on error in progress flag
	externW b$errnum	;Error number
	externB b$EventFlags	;Break key hit flag

sEnd	_DATA

sBegin	_BSS

	externB b$fRTInit

sEnd	_BSS


	SUBTTL	Runtime Core Termination
	PAGE
assumes CS,RT_TEXT		
sBegin	RT_TEXT			

;***
;B$CENP - Default termination routine for the runtime core.
;PLM B$CENP()
;
;Purpose:
;	Runtime entry point.  The last call in any basic module is a
;	call to B$CENP.  This is the default end procedure when no
;	explicit END or SYSTEM is performed.  This routine checks
;	to make sure that we are not in the middle of an ON ERROR.  If
;	ON ERROR is in progress then we issue a NO RESUME error and
;	let the error handler take over.  Otherwise we call a common
;	routine to clean up and terminate.
;
;Entry:
;	b$inonerr - non zero if ON ERROR is in progress.
;
;Exit:
;	None.
;
;Uses:
;	None.
;
;Exceptions:
;	Does not return.
;****
cProc	B$CENP,<PUBLIC,FAR,FORCEFRAME> 
cBegin
	CMP	b$inonerr,0	;Is error in progress?
	JZ	NOTERR		;continue if not
	JMP	FAR PTR B$ERR_NR ;No RESUME error
NOTERR:
	MOV	b$errnum,0	;reset error number for non error exit.
	JMP	exStEnd 	;branch to interpreter END executor
cEnd	nogen			
	PAGE
;***
;B$CEND,B$IEND - Termination routine for the runtime core.
;PLM B$CEND()
;PLM B$IEND()
;
;Purpose:
;	Runtime entry point for SYSTEM and END.  Calls common routine
;	to clean up and terminate runtime.
;	B$CEND is specific to the compiler, B$IEND is specific to
;	the interpreter.  Note that compiled code executing an END in
;	the interpreter environment will cause the runtime to JMP to
;	the interpreter END executor.
;
;Entry:
;	None.
;
;Exit:
;	None.
;
;Uses:
;	None.
;
;Exceptions:
;	Does not return.
;****
cProc	B$CEND,<PUBLIC,FAR,FORCEFRAME> 
cBegin
	MOV	b$errnum,0	;reset error number for non error exit.
	JMP	exStEnd 	;branch to interpreter END executor
				;fall into B$END (doesn't return)
cEnd	nogen			

labelFP <PUBLIC,B_IEND> 	;Intepreter reachable label
cProc	B$IEND,<PUBLIC,FAR,FORCEFRAME> 
cBegin				
	CALL	CloseFiles	; close all files NOW, while we can still
				; print error messages
	cCall	B$ULTerm	;terminate user libraries
	MOV	b$errnum,0	;reset error number for non error exit.
	JMP	SHORT EndNoClose ; go into B$END (doesn't return)
cEnd	nogen			
	PAGE
;***
;B$END - Common termination routine for the runtime core.
;PLM B$END()
;DBCS-callback
;
;Purpose:
;	Common routine to perform runtime termination.	Indirectly
;	dispatches to all routines in the b$rtterm dispatch vector.
;	This routine exits to DOS by calling the c termination routine
;	_exit.	_exit will then call B$TERM to finish runtime termination
;
;Entry:
;	None.
;
;Exit:
;	None.
;
;Uses:
;	None.
;
;Exceptions:
;	Does not return.
;****
cProc	B$END,<PUBLIC,NEAR>			
cBegin

	CALL	CloseFiles	; close all files NOW, while we can still
				; print error messages.  If we do get an
				; error, we will eventually make it back
				; here.

EndNoClose:			; entry point for B$IEND
	XOR	AX,AX		;0 termination code
	cCall	_exit,<AX> 	; does not return
cEnd	<nogen> 		

cProc	CloseFiles,<NEAR>	
cBegin
	MOV	b$inonerr,-1	; don't allow ON ERROR after this point
	CMP	b$fRTInit,0	; was RT ever initiliazed?
	JZ	@F		; brif no, the following would hang
	MOV	SI,OFFSET DGROUP:b$end_disp ; "END" time termination vecs
	cCall	B$COMP_DISP	; indirectly call END time term, which
				; will close all files.  Do this NOW so
				; that errors are recoverable.


@@:				
cEnd				
	PAGE
;***
;B$TERM - Common termination routine for the runtime core.
;PLM B$TERM ()
;
;Purpose:
;	Common routine to perform runtime termination.	Indirectly
;	dispatches to all routines in the b$rtterm dispatch vector.
;	This routine is called by _exit (c termination) when all XC
;	segment routines are dispatched to.
;
;Entry:
;	b$enddisp - contains dispatch addresses for component specific
;		    "END" time termination routines.  Points to B$NearRET if
;		    no specific termination is needed.
;	b$termdisp - contains dispatch addresses for component specific
;		    "One" time termination routines.  Points to B$NearRET if
;		    no specific termination is needed.
;
;Exit:
;	None.
;
;Uses:
;	None.
;
;Exceptions:
;	Does not return.
;****
cProc	B$TERM,<PUBLIC,FAR>,<SI>		
cBegin

;	If chaining in progress, just return.  No BASCOM termination
;	should be done.


;	NOTE: QBI calls UiInit after B$IINIT.	This is the matching
;	call to UiTerm.  It is placed in the runtime for code size,
;	as all exit paths will come through this code.

	cCall	UiTerm				;Unhook UI interrupts
@@:						

;	Deinstall the RTM interrupt vector.  This is placed first to
;	to ensure that the vector is always installed and deinstalled
;	once under all circumstances.

	cCall	B$RTMDeinstall 		;deinstall the RTM interrupt vector

	CMP	b$errnum,FE_NOTHINGBASE	;check for fatal init errors
	JAE	EXITQUICK		;brif fatal init error
	CALL	CloseFiles		; "End" time termination.  Should
					; already be done.  Just doing
					; it to be safe.
	MOV	SI,OFFSET DGROUP:b$term_disp	;"One" time termination vecs
	cCall	B$COMP_DISP			;do ONE time termination
EXITQUICK:
	mov	b$fRtInit,0		; Runtime no longer initialized
cEnd						


;***
; B$BREAK
;
;Purpose:
; Moved with revision [16].
; Internal entry point to print Break message and terminate.
;
;Entry:
; none
;
;Exit:
; Doesn't
;
;Modifies:
;	ALL
;*****
cProc	B$BREAK,<NEAR,PUBLIC>
cBegin

	AND	b$EventFlags,NOT CNTLC ; reset break flag
	JMP	B$IStop		; let interpter stop execution

cEnd	nogen

;***
; B$IEndSt   - END Statement support for interpreter.
;PLM B$IEndSt()
;
;Purpose:
;	Added as part of [13].
;	This routine supports the interpreter end statement.  This routine
;	closes files, resets devices etc.
;
;Entry:
;	None.
;Exit:
;	None.
;Uses:
;	None.
;Exceptions:
;	None.
;****
cProc	B$IEndSt,<PUBLIC,FAR>,<SI>
cBegin
	MOV	SI,OFFSET DGROUP:b$end_disp	;"END" time termination vecs
	cCall	B$COMP_DISP			;indirectly call END time term.
	MOV	b$inonerr,0			;reset on error flag
cEnd
sEnd	RT_TEXT
	END

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91丨九色丨国产丨porny| 99视频一区二区| 捆绑调教美女网站视频一区| 麻豆精品一区二区| 国产**成人网毛片九色| 成人久久久精品乱码一区二区三区| 国产999精品久久| 色94色欧美sute亚洲线路一ni| 99精品热视频| 日韩情涩欧美日韩视频| 国产精品视频在线看| 亚洲激情图片一区| 久久成人久久爱| 成人h动漫精品一区二| 欧美日韩不卡视频| 日韩丝袜情趣美女图片| 国产精品亲子伦对白| 午夜视频一区二区| 欧美aaaaa成人免费观看视频| 国产99久久久国产精品免费看 | 免费不卡在线视频| av午夜一区麻豆| 欧美久久久一区| 日韩免费在线观看| 一二三四社区欧美黄| 国产中文字幕一区| 欧美日韩国产高清一区二区三区 | 91免费国产在线| 欧美一区二区美女| 亚洲欧洲美洲综合色网| 久久99国产精品尤物| 91精品91久久久中77777| 一区在线播放视频| 成人a免费在线看| 中文av一区特黄| 国产成人av电影在线| 精品国产一区二区三区久久影院 | 欧美一区二区三区免费在线看| 一区二区三区在线视频播放| 99久久久精品| 《视频一区视频二区| 一区二区在线观看视频在线观看| 欧美成人高清电影在线| 亚洲超丰满肉感bbw| 欧美性一二三区| 有坂深雪av一区二区精品| 久久精品国产亚洲a| 91色.com| 亚洲图片欧美综合| 国产精品一区二区三区99| 精品一区二区免费看| 91碰在线视频| 欧美视频精品在线观看| 日韩高清不卡一区二区| 欧美人与禽zozo性伦| 91国偷自产一区二区开放时间| 亚洲成人av一区二区三区| 免费成人在线观看视频| 国产精品乱码久久久久久| 国产精品久久久久久久久晋中| 夫妻av一区二区| 《视频一区视频二区| 蜜臀91精品一区二区三区| 国产精品全国免费观看高清| 午夜av电影一区| 日韩免费成人网| 中文字幕一区二区在线播放| 欧美午夜精品一区| 99国产精品国产精品毛片| 亚洲成人综合网站| 捆绑调教一区二区三区| 欧美日产国产精品| 色综合久久综合| 亚洲精品久久嫩草网站秘色| 亚洲色图欧美在线| 色综合色综合色综合色综合色综合| 午夜精品一区二区三区免费视频| 另类中文字幕网| 久久国产综合精品| 91视频观看视频| 欧美无人高清视频在线观看| 视频在线在亚洲| 国产精品一区二区在线观看不卡| 日韩欧美国产麻豆| 午夜精品福利在线| 久久久不卡影院| 久久影院午夜论| 高清不卡一二三区| 日日摸夜夜添夜夜添精品视频| 91在线观看高清| 国产精一区二区三区| 亚洲女爱视频在线| 欧美日韩精品专区| 91在线你懂得| 欧美影院一区二区三区| 欧美成人一区二区三区在线观看| 一二三四区精品视频| 欧美日韩中文国产| 亚洲三级视频在线观看| 欧美日韩精品一区二区在线播放| av在线不卡电影| 丝袜诱惑制服诱惑色一区在线观看 | 精品久久久久久综合日本欧美| 欧美日本在线一区| www久久精品| 中文字幕一区二区三区在线播放| 337p亚洲精品色噜噜噜| 丁香婷婷综合五月| 精品不卡在线视频| 在线播放91灌醉迷j高跟美女| 成人性色生活片免费看爆迷你毛片| 国产成人日日夜夜| 国产91露脸合集magnet| 欧美精品v国产精品v日韩精品| 美女视频网站久久| 精品一区二区三区在线播放| 精品欧美一区二区三区精品久久| 亚洲精品中文在线| av不卡免费电影| 欧美激情艳妇裸体舞| 欧美成人video| 色婷婷久久综合| 99精品欧美一区| 3atv在线一区二区三区| 国产91精品入口| 久久理论电影网| 国产在线不卡一区| 久久成人免费日本黄色| 首页亚洲欧美制服丝腿| 亚瑟在线精品视频| 欧美在线视频全部完| 国产精品一区二区在线观看网站| 免费看欧美美女黄的网站| 欧美日韩在线播| 337p粉嫩大胆色噜噜噜噜亚洲| 国产精品99久久久久久久vr| 日本不卡一二三区黄网| 日本大香伊一区二区三区| 一区二区三区四区蜜桃| 自拍av一区二区三区| 91最新地址在线播放| 欧美一级精品在线| 欧美三级日韩三级| 国产欧美综合在线观看第十页| 国产三级欧美三级| 日本免费在线视频不卡一不卡二| 在线电影欧美成精品| 亚洲自拍偷拍av| 国产精品少妇自拍| 欧美三级在线看| 日韩欧美一区中文| 91国产成人在线| 国产精品亚洲一区二区三区妖精 | 色综合天天综合在线视频| av激情成人网| 专区另类欧美日韩| 91福利资源站| 日韩国产欧美视频| 欧美人体做爰大胆视频| 国产女人18毛片水真多成人如厕| 在线看国产日韩| 欧美二区乱c少妇| 国产成人免费在线视频| 一区二区三区四区在线播放| 亚洲大片一区二区三区| www.欧美色图| 91精品国产欧美日韩| 亚洲欧美激情小说另类| 从欧美一区二区三区| 日本成人在线不卡视频| 奇米影视7777精品一区二区| 欧美tickle裸体挠脚心vk| 亚洲愉拍自拍另类高清精品| 精品成人在线观看| 韩国视频一区二区| 欧美群妇大交群中文字幕| 日韩高清在线不卡| 国产乱国产乱300精品| 亚洲成人动漫精品| 亚洲一区二区三区不卡国产欧美| 97久久精品人人做人人爽50路| 蜜桃一区二区三区在线| 国产日韩欧美高清在线| 亚洲自拍与偷拍| 亚洲婷婷综合久久一本伊一区| 亚洲成a人片综合在线| 欧美高清在线视频| 在线观看www91| 欧美成人乱码一区二区三区| 国产欧美日韩另类一区| 欧美在线小视频| 91精品1区2区| 欧美日韩在线播放一区| 一区二区三区中文字幕精品精品| 欧美日产国产精品| 中文字幕欧美一| 欧美一区二区二区| 亚洲国产一二三| 亚洲视频免费在线观看| 久久精品av麻豆的观看方式|