home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 3
/
CDPDIII.bin
/
pd
/
programming
/
assembler
/
thesource
/
volume2
/
source
/
system
/
asmmacros.lha
/
WaitForChar.i
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-11-16
|
474 b
|
13 lines
NOLIST
WaitForChar MACRO ; 10 Jan 88
*------------------------------; Start of WaitForChar macro.
; Put file handle in D1.
MOVE.L \1,D1
; Put timeout in D2.
MOVE.L #\2*10000,D2
CallLib WaitForChar,dos ; Call WaitForChar.
TST.L D0 ; Make the Z-flag indicate char availability.
*------------------------------; End of WaitForChar macro.
ENDM
LIST