.PNG support (Miscellaneous)
> You tested zlib with OW 1.7-RC2, no? Did you only compile to 32-bit or did
> you try with 16-bit DOS too? (Any .PNG viewer needs Inflate support).
Yes, I only tried 32-bit DOS, but later Carl Young said: "There is a ZLIB in the OW tree - in \contrib\zlib." see below
> Actually, I don't know if a 16-bit DOS .PNG viewer even exists (anyone??).
I have no idea, but I'm no authority, because I don't use .PNG very often.
This is "contrib\zlib\msdos\Makefile.w16":
# Makefile for zlib
# Open Watcom C/C++ 1.3 or later. Earlier versions may also work.
# Last updated: 12-Jun-2005
# To use, do "wmake -f makefile.w16"
# To compile in small model, set below: MODEL=s
# If you wish to reduce the memory requirements (default 256K for big
# objects plus a few K), you can add to the LOC macro below:
# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14
# See zconf.h for details about the memory requirements.
# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7)
# should be added to the environment via "set LOCAL_ZLIB=-DFOO" or added
# to the declaration of LOC here:
LOC = $(LOCAL_ZLIB)
# Type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc.
CPU_TYP = 0
# Memory model: one of S, M, C, L (small, medium, compact, large)
MODEL=l
# Target OS: one of dos, os2. Defaults to host OS. Uncomment to override.
#TARGET_OS=dos
#CC_TARGET=-bt=$(TARGET_OS)
#LD_TARGET=sys $(TARGET_OS)
CC=wcc
CFLAGS=-zq -m$(MODEL) -$(CPU_TYP) -wx -oaxt $(LOC) $(CC_TARGET)
LIB_CFLAGS=-zl $(CFLAGS)
LD=wlink
LDFLAGS= $(LD_TARGET) option quiet, map, stack=0x1500
# variables
ZLIB_LIB = zlib_$(MODEL).lib
OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzio.obj infback.obj
OBJ2 = inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
# targets
all: $(ZLIB_LIB) example.exe minigzip.exe
.c.obj:
$(CC) $(LIB_CFLAGS) $*.c
adler32.obj: adler32.c zlib.h zconf.h
compress.obj: compress.c zlib.h zconf.h
crc32.obj: crc32.c zlib.h zconf.h crc32.h
deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
gzio.obj: gzio.c zutil.h zlib.h zconf.h
infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h &
inffast.h inffixed.h
inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h &
inffast.h
inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h &
inffast.h inffixed.h
inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h
uncompr.obj: uncompr.c zlib.h zconf.h
zutil.obj: zutil.c zutil.h zlib.h zconf.h
example.obj: example.c zlib.h zconf.h
$(CC) $(CFLAGS) $*.c
minigzip.obj: minigzip.c zlib.h zconf.h
$(CC) $(CFLAGS) $*.c
# the command line is cut to fit in the MS-DOS 128 byte limit:
$(ZLIB_LIB): $(OBJ1) $(OBJ2)
if exist $(ZLIB_LIB) del $(ZLIB_LIB)
wlib -q $(ZLIB_LIB) $(OBJ1)
wlib -q $(ZLIB_LIB) $(OBJ2)
example.exe: example.obj $(ZLIB_LIB)
$(LD) $(LDFLAGS) file example.obj lib $(ZLIB_LIB)
minigzip.exe: minigzip.obj $(ZLIB_LIB)
$(LD) $(LDFLAGS) file minigzip.obj lib $(ZLIB_LIB)
test: example.exe minigzip.exe .symbolic
example
echo hello world | minigzip | minigzip -d
clean: .symbolic
-del *.obj
-del *.lib
-del *.exe
-del *.map
-del zlib_*.bak
-del foo.gz
---
Forum admin
Complete thread:
- Arachne DOS browser and piracy :-( - DOS386, 29.08.2007, 16:36 (Miscellaneous)
- Arachne DOS browser and piracy :-( - Steve, 29.08.2007, 21:08
- Arachne DOS browser and piracy :-( - rr, 29.08.2007, 21:31
- Arachne DOS browser and piracy - Steve, 30.08.2007, 00:28
- Arachne DOS browser and piracy :-( - rr, 29.08.2007, 21:31
- Arachne DOS browser and piracy :-( - rr, 29.08.2007, 21:30
- Arachne DOS browser and piracy :-( - Rugxulo, 30.08.2007, 03:50
- Arachne DOS browser and piracy :-( - Japheth, 30.08.2007, 07:32
- Arachne DOS browser and piracy :-( - Matjaz, 30.08.2007, 21:32
- Arachne DOS browser and piracy :-( - DOS386, 31.08.2007, 07:03
- Arachne DOS browser and piracy :-( - rr, 31.08.2007, 10:11
- Arachne DOS browser and piracy :-( - Matjaz, 31.08.2007, 11:03
- Arachne DOS browser and piracy :-( - rr, 31.08.2007, 11:55
- Arachne DOS browser and piracy :-( - Matjaz, 31.08.2007, 16:22
- Arachne DOS browser and piracy :-( - DOS386, 02.09.2007, 12:49
- Arachne DOS browser and piracy :-( - Matjaz, 02.09.2007, 14:54
- Arachne DOS browser works !!! - DOS386, 02.09.2007, 16:34
- Arachne DOS browser works !!! - rr, 02.09.2007, 17:28
- Arachne DOS browser works !!! - Laaca, 02.09.2007, 21:04
- Arachne DOS browser works !!! - DOS386, 02.09.2007, 16:34
- Arachne DOS browser and piracy :-( - Matjaz, 02.09.2007, 14:54
- Arachne DOS browser and piracy :-( - DOS386, 02.09.2007, 12:49
- Arachne DOS browser and piracy :-( - Matjaz, 31.08.2007, 16:22
- Arachne DOS browser and piracy :-( - rr, 31.08.2007, 11:55
- LXPIC - Rugxulo, 31.08.2007, 23:36
- .PNG support - Rugxulo, 01.09.2007, 17:26
- .PNG support - rr, 01.09.2007, 20:44
- .PNG support - Rugxulo, 02.09.2007, 03:15
- .PNG support | Stefan | PNG obsolete ?? - DOS386, 02.09.2007, 12:32
- .PNG support | Stefan | PNG obsolete ?? - Rugxulo, 02.09.2007, 22:05
- .PNG support | Stefan | PNG obsolete ?? - DOS386, 05.09.2007, 02:39
- .PNG support | Stefan | PNG obsolete ?? - Rugxulo, 02.09.2007, 22:05
- .PNG support | Stefan | PNG obsolete ?? - DOS386, 02.09.2007, 12:32
- .PNG support - Rugxulo, 02.09.2007, 03:15
- .PNG support - Steve, 02.09.2007, 01:42
- .PNG support - DOS386, 02.09.2007, 12:24
- .PNG support - Steve, 14.09.2007, 10:19
- .PNG support - rr, 14.09.2007, 10:27
- .PNG support - Rugxulo, 15.09.2007, 04:28
- .PNG support - rr, 16.09.2007, 18:07
- .PNG support - Rugxulo, 16.09.2007, 21:48
- .PNG support - rr, 16.09.2007, 18:07
- NOMSSI Viewer - Steve, 15.09.2007, 08:46
- NOMSSI Viewer - rr, 16.09.2007, 18:07
- .PNG support - Rugxulo, 15.09.2007, 04:28
- .PNG support - rr, 14.09.2007, 10:27
- .PNG support - rr, 01.09.2007, 20:44
- Arachne DOS browser | Eric's SLEEP - DOS386, 02.09.2007, 12:21
- Arachne DOS browser | Eric's SLEEP - rr, 02.09.2007, 18:30
- Arachne DOS browser and piracy :-( - Matjaz, 31.08.2007, 11:03
- Arachne DOS browser and piracy :-( - rr, 31.08.2007, 10:11
- Arachne DOS browser and piracy :-( - DOS386, 31.08.2007, 07:03
- list of Arachne forums (for potential helpers) - Rugxulo, 31.08.2007, 23:47
- Arachne DOS browser and Ethernet cards - DOS386, 11.09.2007, 06:29
- Arachne DOS browser and Ethernet cards - rr, 11.09.2007, 14:53
- Arachne DOS browser and Ethernet cards - DOS386, 13.09.2007, 03:02
- Arachne DOS browser and Ethernet cards - rr, 13.09.2007, 10:00
- Arachne DOS browser and Ethernet cards - DOS386, 16.09.2007, 00:31
- Arachne DOS browser and Ethernet cards - rr, 13.09.2007, 10:00
- Arachne DOS browser and Ethernet cards - DOS386, 13.09.2007, 03:02
- Arachne DOS browser and Ethernet cards - rr, 11.09.2007, 14:53
- Arachne DOS browser and piracy :-( - Steve, 29.08.2007, 21:08