Micro Cornucopia #46 Mar89.Pdf
Total Page:16
File Type:pdf, Size:1020Kb
No. 46 March-April 1989 $3.95 THE MICRO TECHNICAL Software Tools OK, you asked for it, an issue dedicated (mostly) to software. The Art of Disassembly page 8 Using Sourcer to create commented, assembly source from object files. Handling Interrupts page 16 WithAnyC Hacking Sprint: page 36 Creating Display Drivers Annual C Reviews Comparing the latest, page 40 greatest C compilers. And More ... Turning A PC Into An page 24 Embedded Control System Bringing Up A Surplus page 28 68000 Board Part 2 of Karl Lunt's cheap 68000 project. Plus: Practical Fractals 32 Shareware you must register 62 And Much, Much, More 04 o 74470 19388 3 '.Aztec C ROM Cross Deve)opmel1tSyslems Produce Fast, TightC Code with LessrEtTort i Aztec CROM Cross Development systems areth~ Systems give you the best results - choice of more . clean, tight and fast running code. professional ROM Aztec C systems are available for a variety developers. of targets and for both MS-DOS or Apple So when you're 100kingJor Macintosh hosts! And, Aztec C systems the best results, insist ()n come complete with all the tools to edit, Aztec C ROM Cross Devel()pment compile, assemble, optimize.and, now, Systems. Call today and find out·mote source debug your C code in less time and about our complete line of Cross·· with less effort. Development Systems. Quality, tight code that's. fast and efficient. An abundance of tools to produce better Supported targets include: the 68xxx family, the full 8086 family, the results in less time. That's why Aztec C 80801280 family and the 6502 family of microprocessors. 1-800-221-0440(O~;de (NJand· 1 201 5422121 Telex:4995812MANX ebyMJ\NX Outside U.S.) --- . Fax: 201/542-8386 SOFTWARE SYSTEMS One Industrial Way Eatontown, New Jersey 07724 Reader Service Number 17 Quality & Price You Can't Pass Up! SUPER 80386 SYSTEM 8/20 mhz features an 80386· 20 CPU on a full size DTK motherboard with 28MB 32 bit memory slots. Accepts 80387·20. This machine runs an incredible Norton SI test of 24! For quality and reliability we've included a 40 MB Miniscribe hard drive, 1. 2MB & 360K Toshiba or Teac floppy drives, monographics with green or amber monitor, 101 keyboard, 1 MB of 80 ns DRAM, DTK Bios, slide case, 2 serial ports, 1 parallel port, po~r supply, clock, calendar. FREE assembly and test· ing. One year warranty. 2 MB EMS configurations: MEMORY BOARDS towenase, color, etc. 0 0 0 0 0 0 • SCan XT SYSTEMS DTK 8 MB RAM card 0 0 0 0 • 0 • 0 •• 99 ~ Include: 640K RAM, serial/parallel/ (32 BIT, fK) game ports, clock/calendar, 101 key PC/XT keyboard, turbo switch able, slide cabi Floppy Controller ••••••••••••• 19 net, power supply, mono graphics Multi-f\..inction-1 ser/par/ DISK DRIVES (Continued) with amber/green monitor. 1 yearwarranty. clk/game/2 floppy ••••••••••• 47 AT 40 MB MiniScribe FREE assembly and testing. 640K RAM (0K) ••••••••••••••• 25 3650 (61 ms) 0 0 • 0 0 0 • 0 0 0 0 0 • 0 0339 4.77/10 with 2 Floppy ••••••••• 790 150 Watt Power Supply ••••••••• 50 AT 40 MB MiniScribe IFD and 1 Miniscribe HD: Slide case lock, LED ••••••••••• 38 3053 (25ms) • 0 0 • 0 0 0 0 0 •• 0 0 0 0489 4.77/10 with 20 MB HD •••••••• 995 AT 71MB MiniScribe 4.77/10 with 30 MB HD ••••••• 1010 AT 6085 (28ms) 0 0 0 • 0 0 • 0 • 0 0 0 0 • 0 649 200 Watt Power Supply ••••••••• 75 AT (MFM) HD & FD AT/386, Lock, LED •••••.•••••• 65 AT SYSTEMS Controller card DTK 000.000.110 Includes: 640K RAM, 1.2 MBFD, 1 Tower AT/386, Lock, LED & 200 Watt ps •••••••••• 239 WD ..... 0 0 0 .127 360K FD, 40 MB Miniscribe 3650HD AT RLL HD & FD serial/parallel/game ports, clock/cal Controller. 0 0 0 0 0 0 0 0 0 0 0 0 0 • 0 0 189 endar, 101 key turbo switchable key MOTIlERBOARDS board, slide cabinet, power supply, XT/Turbo 4.77/10 ............. 79 AT 6/10 Award/Phoenix! MONITORS monographics with amber or green EGA/CGA monitor. Full one year warranty. FREE DTK Bios •••••..••••• 0 •••• 249 (Autoswitch .31 dot) 0 0 • 0 • 0 •• 385 assembly and testing. AT 6/12 Award/Phoenix! 6/10 mhz .................. 1450 DTK Bios •••••••• 0•••• 0 ••• 299 CGA/EGA/VGA 12 mhz •••••••••• , ••••••••• 1495 Baby AT 6/12 AMI/DTK ••••••• 279 MultiSync (.31 dot) 0 0 0 0 0 0 0 0 0495 CGA Color • 0 0 0 0 0 0 0 0 0 0 • 0 0 0 0 0249 Color options for any kit (includes 803868/20 DTK Bios. o' ••• 0 ••• 937 video card and monitor) XT/AT Memory 0.......... $CALL Amber 12" TTL 00000000000000089 CGA Color •••••••.••••••••• 175 Green 12" TTL 0000.0000.0.0 •• 89 CGA/EGA Color •••.••••••••• 380 SOFfWARE VGAAnalog VGA (analog) ••••••••••••••• 650 MS DOS 3.21 w/GW Basic 0 ••••• 49 (Mitsubishi .28 dot) • 0 • 0 0 0 0 • 0549 CGA/EGAlVGA Multisync ••••• 450 DR DOS 3.3 w/GEM 0 0•• 0 •••••• 49 Color/Graphics/Par. 0 •• 0 0 0 0 0 0 0 049 Mono/Graphics/Par 0 0 • 0 0 0 0 0 0 • 049 PCXT&AT DISKDRlVES CGA/EGA/VGA (640x480) 0 0 0 • 0 169 Clock .•••••••••••••••••••••• 19 Teac/Toshiba 360K •• 0 ••••••••• 80 VGA Analog, STB Extra 0 0 •• 0 0 0 235 Game .•••••••••••••••••••••• 14 Teac/Toshiba 1.2 MB •••••••••• 105 Parallel (LPT 1, 2 or 3) ••••••••• 18 Teac/Toshiba 3112" 720K •••••••• 99 KEYBOARDS Serial Port Card - 1 installed Chicony Click 101 ••• 0 •• 0 • 0 0 0 • 049 Switchable Com 1, 2, 3 or 4 •••• 18 Teac/Toshiba 3112" 1.44 MB kit. •• 139 Keytronic KB101 00 •••••• 0 0 0 0 • 067 Kit for 2nd SerialPort •••••••••• 18 XT 20 MB Miniscribe Multi I/O 8425 (65ms) 0 .............. 279 Focus 101 Tactile, Serial/Par/Game •••••••••••• 32 8425 w/controller ••••••••••• 319 Switch able, Control Caps Lock, Dust Cover 00' •• 0 0 0 0 00000.0089 2nd Serial Kit ••••••••••••••• 30 XT 30 MB Miniscribe (#1 find by MicroC Staff) Multi Drive Controller •••••••••• 39 8438 (65ms) ...... 0 0 0 0 0 0 .. 0299 Supports 1.44, 720K, 1.2, 360K drives 8438 w/controller 0 0 0 0 0 0 0 0 0 0 0349 * All keyboards, XT/ AT switchable) * Prices are subject to change without notice. Shipping CHARGES will be added. BUILDING YOUR OWN CWNE V2.1 XT SYSTEM .. $49 ~Micro5~hEreNC .... FREE BOOKLET"·" ~COMrDUTCRIC' "HARDWARE MANUFACTURER - ,I I CJ VI SINCE 1983" *90-day warranty /W-day money back (subject to restrictions) AT SYSTEM ... $99 Orders Only: :[-800-234-8086 Tech cans: (503) 388-1194 855 NoW. WALL • BEND, OREGON 97701 Hours: Monday-Friday 9:00-5:30 Reader Service Number 2 MICRO CORNUCOPIA, #46, Mar-Apr, 1989 1 ,----",---------_.- SERIOUS DEBUGGJING at a REASONAB1LE lPRJIClE All the speed and power of a RUN CODEVIEW hardware-assisted debugger IN~~LY8K! at a software price ?/~.A!!!II~""" Soft-llL-".~_ CodeView is a great integrated debugger, but it uses over 200K of conventional memory. Hardware-level break points MagicCV uses advanced features of the 80386 REAL-TIME break points on memory locations, memory ranges, microprocessor to load Code View and symbols in execution, I/O ports, hardware and software interrupts. More extended memory. This allows MagicCV to run powerful break points than ANY software-only debugger on the Code View using less than 8K of conventional market. Soft-ICE gives you the power of an in-circuit emulator on memory on your 80386 PC. your desk. Don't let 640K be your limit! Break out of hung programs If you are closing in on the 640K limit and would With a keystroke - no external switch necessary. Even with like the power of Code View, MagicCV is for you. interrupts disabled. Don't let the debugger hide the bug! Breaks the 640K barrier Even if you're not closing in on the 640K limit, Soft-ICE uses ZERO bytes of memory in the first 1MB of address running Code View with MagicCV makes your space. This is especially useful for those subtle bugs that change debugging environment much closer to the end when the starting address of your code changes. With Soft-ICE user's program environment. You can use your code executes at the same address whether the debugger is Code View to locate subtle bugs that only occur when there is plenty of free memory, or those loaded or not. difficult bugs that only occur when your program Works with your favorite debugger is running with a couple of TSRs loaded. Soft-ICE can be used as a stand-alone debugger or it can add its powerful break points to the software debugger you already use. How MagicCV works You can continue to use your favorite debugger until you require MagicCV uses the 80386 to create a separate virtual machine for Code View. MagicCV uses Soft-~CE. Simply pop up the Soft-ICE window to set powerful real-tIme break points. When a break point is reached, your between 4K & 8K of conventional memory as a debugger will be activated. bridge between the DOS environment and CodeView. Solve tough systems problems too MagicCV is easy to use Soft~ICE is ideal for debugging TSRs, interrupt handlers, self bootmg programs, DOS loadable device drivers, non-DOS Ifyou are a Code View user, you already know how operating systems, and debugging within DOS & BIOS. Soft-ICE to use MagicCV too. Just type MCV instead of is also great for firmware development because Soft-ICE's break CV; everything else is automatic.