home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
dos
/
sampler
/
03
/
tpprolog
/
bridge.asm
next >
Wrap
Assembly Source File
|
1988-01-18
|
612b
|
31 lines
; MASM assembler example of a bridge to the
; Turbo Pascal 4.0 unit initialization and
; exit procedures.
EXTRN SYSTEM_001:far,CRT_000:far,SYSTEM_003:far
PUBLIC SYSTEMINIT_0,CRTINIT_0,SYSTEMEXIT_0
BRIDGE segment
assume CS:BRIDGE
; Pass on call to SystemInit_0 to SYSTEM_001.
SystemInit_0 proc Far
call SYSTEM_001
ret
SystemInit_0 endp
; Pass on call to CrtInit_0 to CRT_000.
CrtInit_0 proc Far
call CRT_000
ret
CrtInit_0 endp
; Pass on call to SystemExit_0 to SYSTEM_003.
SystemExit_0 proc Far
call SYSTEM_003
ret
SystemExit_0 endp
BRIDGE ends
end