A look inside Sim68

Here follows a brief description of Sim68 source files,
ordered by logical groups.
Those in bold face are the files most likely to be accessed (in my experience!).

Simulator
The simulation engine, written in ANSI C (by Ted Dunning and me), is easily portable between 32 bit platforms (tested under Windows/Win32 APIs and Unix / gcc).

- dis.c : the 6811 disassembler and its tables
- sim.c : core of the simulator
- sim_io.c : misc. text-based I/O (loadind of S19 files, memory dumps, ...)
- sim_irq.c : interrupts and subsystems' simulation
- symbols.c : symbolic labels substituting addressed and hex values

Interface
Quite unportable code, implements the basic parts of application's interface.

- Application.cp : contains major part of the interface & some utility functions
- Dialogs.cp : implements behaviour of almost every dialog
- globals-MacStarter.cp : xWindow, base class of MacStarter hierarchy
- main.cp : low-level interface handling (AppleEvents, event loop, ...)
- TextWindow.cp : contains TextWindow class, a simple editor window
- OtherWindows.cp : various classes derived from TextWindow

Interface additions
This source files constitute extensions to the basic interface and are organized in a quite modular fashion. Every single 'Interface addition' could be removed commenting out #defines in the precompiled header, without compromising consistency of the entire application (sample #define switches are USE_EXEC_HISTORY, USE_SERIAL_IO, ... ).

- memoryMap.cp
- serial_io.c
- exec_history.cp
- branch_predict.cp
- debugSettings.cp
- variables.cp

In case you modify the sources, I just ask that you preserve the same logical organization (portable ANSI code, unportable interface, additions),
and, if possible, contact me before making radical changes. Thanks.