WinComm/drv/kpcomm.lnk
2026-10-13 14:05:57 -05:00

22 lines
1.1 KiB
Text

# Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License.
# See LICENSE.md for license information.
# SPDX-License-Identifier: MIT
#
# kpcomm.lnk -- wlink directives for KPCOMM.DRV built with Open Watcom
# (watcom.mk): what commdrv.def gives MSVC's linker. The module name stays
# COMM, as USER.EXE imports the driver by that name, and the entry points
# keep the stock driver's ordinals. Code and data are fixed and preloaded.
# The sources' _export exports the entry points too (W1121, off): the
# ordinals come from here.
system windows_dll
disable 1121
option modname=COMM
option description 'KPCOMM -- High-Speed Serial Communications Driver'
option heapsize=1024
segment type code preload fixed
segment type data preload fixed
export INICOM.1, SETCOM.2, SETQUE.3, RECCOM.4, SNDCOM.5, CTX.6, TRMCOM.7, STACOM.8
export CEXTFCN.9, CFLUSH.10, CEVT.11, CEVTGET.12, CSETBRK.13, CCLRBRK.14, GETDCB.15
export WEP.16 resident
export SUSPENDOPENCOMMPORTS.17, REACTIVATEOPENCOMMPORTS.18, COMMWRITESTRING.19, READCOMMSTRING.20
export ENABLENOTIFICATION.100, COMMNOTIFYWNDPROC.101