Dec 192017
 
ASM and C source to the Stone Soup Group's Windows fractal generator.
File WINSRC17.ZIP from The Programmer’s Corner in
Category C Source Code
ASM and C source to the Stone Soup Group’s Windows fractal generator.
File Name File Size Zip Size Zip Type
3D.C 10493 2942 deflated
CALCFRAC.C 104693 27685 deflated
CALCMAND.ASM 27164 8616 deflated
CALCMAND.OBJ 3140 1829 deflated
CALMANFP.ASM 42735 7809 deflated
CALMANFP.OBJ 4886 2562 deflated
CMDFILES.C 61440 14826 deflated
COORD.DLG 1078 432 deflated
DECODER.C 14038 5016 deflated
DIALOG.C 19803 5425 deflated
DIALOG2.C 40835 5460 deflated
ENCODER.C 25923 7933 deflated
F16.C 2513 1245 deflated
FPU087.ASM 37309 9169 deflated
FPU087.OBJ 3636 2278 deflated
FPU387.ASM 10067 2632 deflated
FPU387.OBJ 1898 1109 deflated
FRACSUBA.ASM 8110 2367 deflated
FRACSUBA.OBJ 1458 890 deflated
FRACSUBR.C 34579 9770 deflated
FRACTALP.C 40595 6063 deflated
FRACTALS.C 80263 16127 deflated
FRACTINT.H 19135 6092 deflated
FRACTYPE.H 4389 1127 deflated
GIFVIEW.C 6400 2313 deflated
HELPDEFS.H 6305 1078 deflated
JB.C 8659 2370 deflated
LINE3D.C 73626 20816 deflated
LOADFILE.C 20352 5796 deflated
LORENZ.C 45754 9018 deflated
LSYS.C 21976 5004 deflated
LSYSA.ASM 3939 1126 deflated
LSYSA.OBJ 1212 689 deflated
MAINFRAC.C 15651 5076 deflated
MAKEWIN.BAT 25 25 stored
MATHTOOL.C 14828 3800 deflated
MATHTOOL.H 578 177 deflated
MATHTOOL.ICO 766 188 deflated
MATHTOOL.RC 521 239 deflated
MATHTOOL.RTF 3113 1160 deflated
MISCRES.C 24423 7300 deflated
MPMATH.H 5348 1487 deflated
MPMATH_A.ASM 16680 3101 deflated
MPMATH_A.OBJ 3099 1856 deflated
MPMATH_C.C 10884 3130 deflated
NEWTON.ASM 6053 2111 deflated
NEWTON.OBJ 1739 1075 deflated
PARSER.C 53706 10645 deflated
PLOT3D.C 9649 2341 deflated
PORT.H 1989 665 deflated
PROFILE.C 3391 966 deflated
PROFILE.H 224 119 deflated
QCWINFRA.MAK 3394 1099 deflated
SELECT.C 4740 858 deflated
SELECT.H 821 368 deflated
TARGA_LC.H 640 298 deflated
TESTPT.C 2091 908 deflated
TGAVIEW.C 1524 689 deflated
WGENERAL.ASM 13083 3693 deflated
WGENERAL.OBJ 1890 1208 deflated
WINDOS.C 36228 10542 deflated
WINFRACT.C 56829 12102 deflated
WINFRACT.DEF 800 434 deflated
WINFRACT.H 7438 1660 deflated
WINFRACT.HPJ 108 99 deflated
WINFRACT.ICO 766 213 deflated
WINFRACT.LNK 337 215 deflated
WINFRACT.MAK 2556 718 deflated
WINFRACT.PRJ 12600 3349 deflated
WINFRACT.RC 30726 4336 deflated
WINFRACT.RTF 51034 14104 deflated
WINSRC.DOC 2975 1231 deflated
ZOOM.DLG 607 285 deflated

Download File WINSRC17.ZIP Here

Contents of the WINSRC.DOC file


Let's start with the caveats:

You need either Microsoft C 5.1 or better (I use 6.00A) and the
Microsoft Windows 3.0 SDK, Borland's new C++ product for Windows
(which Mark Peterson uses), or Microsoft's QuickC-for-Windows to
rebuild WINFRACT from this ZIP file. You build Winfract with
Microsoft's product using the "makewin.bat" command. You build
Winfract with Borland's product using the PRJ file supplied by Mark.
You build Winfract with Microsoft's QuickC-for-Windows using
the "qcwinfra.mak" file as your project file.


---------

How this program works:

First of all, we got lucky. Fractint-for-DOS has, for some time, been
structured such that the working modules periodically call a routine
called 'keypressed()'. That routine both lets the calling program know if
there is a keypress or mouse movement waiting that is of interest to the
calling routine, and it handles the help (F1) and status (TAB) routines in a
manner invisible to the calling routine.

In the Windows environment, 'keypressed()' performs a 'peekmessage()'
function, checking for and processing any user activity, and returns
a value indicating that either nothing of interest has happened, or that
the calling program should terminate and return to the main routine which
will actually decide what to do.

Aside from the routines that are taken directly from Fractint-for-DOS,
the following routines are Windows-specific:

winsrc.doc - you're reading it right now
makefrac.bat - run this routine to make a new version of WINFRACT
winfract.prj - PRJ file which you use if you are using Borland's "C"
winfract.mak - the WINFRACT "make" file
winfract.def - the WINFRACT "def" file
winfract.rc - the WINFRACT "resource compiler" file
winfract.ico - the WINFRACT "icon"
winfract.rtf - the source for the HELP text
winfract.hpj - the project for the HELP text
winfract.h - generic WINFRACT include file
select.h - used by the zoom-box routines (stolen from the Windows SDK)
winfract.lnk - the list of files required by the LINK step
winlib.lst - used to build a LIB of FFD routines
winfract.c - the main WINFRACT routine
dialog.c - the first of two dialog modules
dialog2.c - the second of two dialog modules
windos.c - Windows routines that fake DOS routines
(routines such as 'keypressed()' are in here)
mainfrac.c - the main "Fractint" driver routine (called by winfract.c)
select.c - Zoom-box routines (stolen from the Windows SDK)
wgeneral.asm - WINFRACT assembler code
wgeneral.obj - compiled version of same (so you won't need an assembler)
mathtool.c - Mark Peterson's Math-Tools and other code
mathtool.h - include file for the above
mathtool.rtf - Help file for the above
mathtool.ico - Icon file for the above
profile.c - SSTOOLS.INI profiler
profile.h - include file for the above


 December 19, 2017  Add comments

Leave a Reply