Annotation of os2sdk/demos/apps/mandel/readme, revision 1.1.1.2

1.1.1.2 ! root        1: This directory contains the Mandelbrot demonstration program for OS/2 graphics.
1.1       root        2: Features of OS/2 that are demonstrated are:
1.1.1.2 ! root        3:        Use of 80287
        !             4:        Creating and using ring 2 IOPL segments
        !             5:        Ram semaphore usage
        !             6:        Thread creation and destruction
        !             7:        EGA screen save and restore (both text and graphics)
1.1       root        8: 
                      9: The specific API entry points used are:
1.1.1.2 ! root       10:        DosAllocSeg             Memory allocation
        !            11:        DosCreateThread         Thread creation
        !            12:        DosSemClear             Ram semaphore management
        !            13:        DosSemRequest           Ram semaphore management
        !            14:        DosSleep                Time delay
        !            15:        VioGetConfig            Getting display configuration
        !            16:        VioGetCurPos            Getting cursor position
        !            17:        VioGetCurType           Getting cursor information
        !            18:        VioGetMode              Getting current screen mode
        !            19:        VioGetPhysBuf           Getting access to display memory
        !            20:        VioModeUndo             Killing mode wait thread
        !            21:        VioModeWait             Initializing mode wait thread
        !            22:        VioReadCellStr          Reading current display text
        !            23:        VioSavRedrawUndo        Killing redraw wait thread
        !            24:        VioSavRedrasWait        Initializing screen redraw thread
        !            25:        VioScrLock              Locking screen for drawing
        !            26:        VioScrUnLock            Unlocking screen after drawing complete
        !            27:        VioSetCurPos            Setting cursor position
        !            28:        VioSetCurType           Setting cursor information
        !            29:        VioSetMode              Setting screen mode to character and graphics
        !            30:        VioSetState             Set EGA palette registers
        !            31:        VioWrtCellStr           Writing text to display
1.1       root       32: 
                     33: 
1.1.1.2 ! root       34: The files in this directory are listed below. Note only some of the CNT
        !            35: files are included due to space limits. You can
1.1       root       36: generate the rest yourself.
                     37: 
1.1.1.2 ! root       38:        readme.doc      This file
1.1       root       39: 
1.1.1.2 ! root       40:        makefile        Make rules for generating the programs
1.1       root       41: 
1.1.1.2 ! root       42:        m.bat           Batch file to generate zoom00.cnt and zoom01.cnt
1.1       root       43: 
1.1.1.2 ! root       44:        cmacros.inc     Include file defining C and assembler interface
1.1       root       45: 
1.1.1.2 ! root       46:        mandel.c        C routine to compute Mandelbrot set
        !            47:        manditer.asm    Assembler routine containing 80287 routine
        !            48:        mandel.exe      Executable for above
        !            49: 
        !            50:        mdraw.c         C routine to display Mandelbrot set
        !            51:        mdraw.h         Include file for display program
        !            52:        setscan.asm     Assembler routines for ring 2 EGA manipulation
        !            53:        ega.inc         Include file to define EGA registers
        !            54:        mdraw.def       Linker definition file for mdraw.exe
        !            55:        mdraw.exe       Executable for above
        !            56: 
        !            57:        mstat.c         C routine to display header information for .cnt file
        !            58:        mstat.exe       Executable for above
        !            59: 
        !            60:        cd14.cnt        Count file for a small area near the Mandelbrot set
1.1       root       61: 
                     62: For further information about the programs and how to use them, please read
                     63: the program headers in:
1.1.1.2 ! root       64:        mandel.c
        !            65:        mdraw.c
        !            66:        mstat.c
1.1       root       67: 
                     68: Note that for a worst case (all screen points within the Mandelbrot set), the
                     69: computation will require approximately 20 hours on an 8 mhz AT with a normal
1.1.1.2 ! root       70: 80287. The program mandel is 80287 limited so that only faster 80287 chips
1.1       root       71: will significantly speed up the computation.
                     72: 
1.1.1.2 ! root       73: To display the included set:
        !            74:        Boot OS/2
        !            75:        Start up a screen group
        !            76:        enter   mdraw cd14
1.1       root       77: 
1.1.1.2 ! root       78: MS C 5.1 compiler and runtime libraries and the MS assembler 4.00 are required
1.1       root       79: to build these programs.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.