Using PCBug11 on any Windows machine (even Vista) ================================================= by Carl Barnes April 2008 revised 15 September 2009 www.technologicalarts.com PCBug11 is an indispensible program for working with 68HC11 systems. It is well-designed, well-documented, and easy to use. Unfortunately, it is DOS-based, and has some limitations which make it unusable with anything faster than an 80MHz Pentium. That problem can be solved, however, by using a freely available DOS emulator called DOS Box. Here are the steps to follow to get PCBug11 up and running: Download DOSBox v0.72 (or the latest available) from http://www.dosbox.com/ Create a new folder in the root of your C: drive, and call it DOSBOX Inside that folder, create a subfolder and name it PCBUG11 Put all the pcbug11 files there (or move pcbug342.exe there and double-click on the icon to auto-extract the files) Install DOSBox by double-clicking its icon Go to c:\Program Files and open the DOSbox program folder Look for and open dosbox.conf with EditPlus so that you can make the following changes (if you can't find dosbox.conf, see the note at the bottom of this document): - scroll down near the bottom of the file to the section called Serial - change the serial1 or serial2 entry (depending on which serial port you will use) from "dummy" to "directserial realport:com1" (or realport:com2) - scroll down to the [autoexec] section (around line 199) and add the following lines: mount C C:\DOSBOX C: CD PCBUG11 Save the file and exit Now you can launch DOSbox, and a DOS window will open on your screen ALT + ENTER will toggle between full-screen mode and window mode At the DOS prompt, type your pcbug11 startup command string. For example, for Adapt11C24DX with an 8MHz crystal, attached to com2, reset the board in Boot mode and type the following command line: pcbug11 -e port=2 __________________ Note: dosbox.conf may be in User\appdata\local\dosbox. If not, you can create a configuration file from DOSbox by using the following command at the DOSbox prompt: config -writeconf dosbox.conf The latest version of this document can be found at http://support.technologicalarts.ca/docs/PCBug11/