Sim6502 is a 6502 Macro Assembler/Disassembler/Editor for 6502/65C02/65816 and 6502 simulator
Sim6502 was originally written by Michal Kowalski, later updated and maintained by Daryl Rictor
This version has been modified to read & write OSI 65V & 65A Monitor file formats (.65a/.lod) as 
well as OSI/MOS checksum formats

In addition, this build now includes a built-in OSI C1P/C2P/UK101 simulator.  The OSI Simulator Window 
is started from the View menu.  When invoked, it adds the appropriate monitor ROM and BASIC version
to the simulator memory.  It also includes a simulated serial port at the standard addresses.

Interaction with the OSI Window is done with normal typing.  Windows characters are converted to 
simulated key presses in the OSI layout. So if you want to type a '"' character, select the '"'
key from the windows keyboard, instead of SHIFT-2 used with physical mappings. Unfortunately this 
may prevent the correct operation of some programs that rely on polling for continuous presses, or
specific locations on the keyboard that differ between OSI and standard PC keyboards.

The configuration are as follows: 
C2P - SYN600 ROM at $FD00-$FFFF  BASIC w/ gc fix @ $A000-$BFFF Serial port at $FC00 64x32/32x32 video OSI font
C1P - SYN600 ROM at $F800-$FFFF  BASIC w/ gc fix @ $A000-$BFFF Serial port at $F000 32x32/64x16 video OSI font
UK101-Newmon 64x16 at $F800-$FFFF UK101 BASIC w/ gc fix $A000-$BFFF Serial Port at $F000 64x16 video UK101 font

To start interaction with the OSI window, load & assemble your program. Start the debugger, and open the 
OSI Simulator Window.  Next start program execution in the OSI ROM by selecting 
Simulator/Generate Interrupt/RST then begin running the program under Simulator/Run menu, or the RUN 
toolbar button or F5.  You should see the familiar boot prompt.

Note: 
* Close the Command Log window when not needed to speed up single step or program end as it takes a while
to fill it's 100K entry list afer a run session.
* The simulator does not attempt to limit speed or provide a real-time simulation of OSI hardware.
* No simulation of disk controller or other hardware configurations has been attempted.
* Video does not support color.



This program has been compiled to run on any version of Windows from Windows 2000 to the latest version.
*V1.3.5.2 - Updated window positioning, show OSI gfx in hex views, set program ranges in Save/binary options dialog
*V1.3.5.3 - Added OSI Simulator Window

Find Daryl's versions at https://sbc.rictor.org/kowalski.html
Michal Kowalski's original version is on github https://github.com/mikekov/6502