3a028fb6219f46dec01e9e00fd70e89df699ed58
The sim65 source code has been a construction site for over a decade. I was looking for a simple cc65 program execution environment for regression tests. So I decided to re-purpose sim65 for that task by removing about everything but the 6502 emulation. There's no memory mapped i/o emulation whatsoever. Rather exit(), open(), close(), read() and write() calls are supported by mapping them through a thin paravirtualization layer to the corresponding host os functions. Note: The sim65 6502 emulation provides means to switch between 6502 and 65C02 emulation but currently there are no actual 65C02 opcodes implemented.
cc65 is a complete cross development package for 65(C)02 systems, including
a powerful macro assembler, a C compiler, linker, librarian and several
other tools.
cc65 has C and runtime library support for many of the old 6502 machines,
including
- the following Commodore machines:
VIC20
C16/C116 and Plus/4
C64
C128
CBM 510 (aka P500)
the 600/700 family
newer PET machines (not 2001).
- the Apple ][+ and successors.
- the Atari 8 bit machines.
- GEOS for the C64 and C128.
- the Nintendo Entertainment System (NES).
- the Supervision console.
- the Oric Atmos.
- the Lynx console.
The libraries are fairly portable, so creating a version for other 6502s
shouldn't be too much work.
Description
Languages
C
62.7%
Assembly
35.3%
Makefile
0.7%
PHP
0.6%
Perl
0.3%
Other
0.3%