home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 April
/
Chip_1997-04_cd.bin
/
prezent
/
cb
/
data.z
/
SETTEXTB.ASM
< prev
next >
Wrap
Assembly Source File
|
1997-01-16
|
685b
|
39 lines
; *******************************************************
; * *
; * Delphi Runtime Library *
; * *
; * Copyright (c) 1996 Borland International *
; * *
; *******************************************************
INCLUDE SE.ASM
INCLUDE FILEIO.ASM
.386
.MODEL FLAT
PUBLIC _SetTextBuf
.CODE
; PROCEDURE _SetTextBuf( f: Text; p: Pointer; size: Longint );
_SetTextBuf PROC
; -> EAX Pointer to file variable
; EDX Pointer to new buffer
; ECX Size of new buffer
MOV [EAX].BufPtr,EDX
XOR EDX,EDX
MOV [EAX].BufSize,ECX
MOV [EAX].BufPos,EDX
MOV [EAX].BufEnd,EDX
RET
_SetTextBuf ENDP
END