	icc -q -c -Ss+ -Sp1 -W3 -Wcnd-  -O- -Gm-  -Tm -Ti+ -DDEBUG -Fo..\..\debug\vac3\_mmf.obj _mmf.c
@link.tmp
	ilink /NOFREE /A:4 /E /NOI /NOE /NOL /MAP /PM:VIO  /CO /BASE:0X10000 @link.tmp
***** running sample program

------------------------------------------
initialize
- WtkInitializeMmf: initialize support for memory mapped files

------------------------------------------
Testing in-memory pseudo file
- WtkAllocMmf: allocate in-memory only buffer
MMF: ALLOCATE 0x000A0000 (0x00008000)
- access dynamic memory buffer, writing 32768 bytes
- no trap so far !

------------------------------------------
Testing readwrite file access
- WtkAllocMmf: allocate readwrite file buffer: C:\TMP\mmftest.txt
MMF: ALLOCATE 0x000B0000 (0x00008000)
- access dynamic memory buffer of file, writing 32704 bytes
- no trap so far !
- WtkSetMmfSize: cut size to 16384
- WtkQueryMmfSize: file area size is 16384
- WtkUpdateMmf: update file
- WtkQueryFileSize: checked size of updated file is 16384

------------------------------------------
Release dynamic memory buffers used until here
- WtkFreeMmf: free in-memory buffer
MMF: FREE 0x000B0000 (0x00008000) rc=0
- WtkFreeMmf: free file buffer
MMF: FREE 0x000A0000 (0x00008000) rc=0

------------------------------------------
Reading file
- WtkAllocMmf: allocate readonly file: ?:\CONFIG.SYS
MMF: ALLOCATE 0x000A0000 (0x00100000)
- strlen: contents of file is 10267 bytes long
- WtkFreeMmf: free file area
MMF: FREE 0x000A0000 (0x00100000) rc=0

------------------------------------------
mapping opened file
- DosOpen: open file readonly: C:\CONFIG.SYS
- WtkAllocMmfFile: map open file
MMF: ALLOCATE 0x000A0000 (0x00100000)
- strlen: contents of file is 10267 bytes long
- 10 first lines of file
>>>>>>>>>>>
RUN=C:\genmac\DRIVER\HELPERW.EXE

REM [CONFIG.SYS]

REM [06/08/22 00:40:46]

REM [Sorted by cfgSort v5.0.4]

REM [Documentation: \ecs\doc\cfgsort\cfgsort.doc]



REM [1] Device Driver Statements

DEVICE=C:\OS2\BOOT\UNICODE.SYS

DEVICE=C:\OS2\LOG.SYS

IFS=C:\OS2\JFS.IFS /LW:5,20,4 /AUTOCHECK:*
<<<<<<<<<<<
- WtkFreeMmfFile: free file area
MMF: FREE 0x000A0000 (0x00100000) rc=0
- DosClose: close file again

------------------------------------------
cleanup
- WtkTerminateMmf: terminate support for memory mapped files

