home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / zoa / wp42 / chapter14 / fig14.1.tif (.png) < prev    next >
Tagged Image File Format  |  1997-06-13  |  127KB  |  700x667  |  16-bit (16,482 colors)
Labels: bulletin board | dialog box | monitor
OCR: Text(DufPtr) cha ButPtr; main() Searcn or Text(ButPtr Far calls FindEntry(BufPtr) from C:to DisplayPrompt(); int DisplayPrompt() Far call from C to assemble Module MAIN.C Module SEARCH.C soode segment publ acode segment public FinOEnEn proc CocxToBuflot ableSearch Cooy ToBuffer proc nea ndEnto Near calls from TableSearch proc noa assembler TabieSaarch endr assembler Module MOVEDATA ASM Module FASTFIND ASM FIGURE 14.1 In large model prc ograms written primarily in C. or Pascal all the assembler code can be placed in a single segment. allowing near branches to be used within the assembler code even though far branches must be used whenever or Tascal code is involved rBulPtr Searchra DisplayP rompt seomen ToBuffor Copy proo FindFntry endn programs primaril