]> git.sur5r.net Git - cc65/commit
Turned sim65 into a lightweight cc65 execution environment.
authorOliver Schmidt <ol.sc@web.de>
Mon, 20 May 2013 18:20:14 +0000 (20:20 +0200)
committerOliver Schmidt <ol.sc@web.de>
Mon, 20 May 2013 18:20:14 +0000 (20:20 +0200)
commit3a028fb6219f46dec01e9e00fd70e89df699ed58
tree3d41ff42bd352e44c7b4396a9bbcadb4e613e3b1
parent753aa29b1550501283c2349bdee21ae1b57111f8
Turned sim65 into a lightweight cc65 execution environment.

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.
44 files changed:
src/Makefile
src/cc65.sln
src/sim65.vcxproj [new file with mode: 0644]
src/sim65/6502.c [new file with mode: 0644]
src/sim65/6502.h [new file with mode: 0644]
src/sim65/addrspace.c [deleted file]
src/sim65/addrspace.h [deleted file]
src/sim65/callback.c [deleted file]
src/sim65/callback.h [deleted file]
src/sim65/cfgdata.c [deleted file]
src/sim65/cfgdata.h [deleted file]
src/sim65/chip.c [deleted file]
src/sim65/chip.h [deleted file]
src/sim65/chipdata.h [deleted file]
src/sim65/chipif.h [deleted file]
src/sim65/chippath.c [deleted file]
src/sim65/chippath.h [deleted file]
src/sim65/chips/console.c [deleted file]
src/sim65/chips/ram.c [deleted file]
src/sim65/chips/rom.c [deleted file]
src/sim65/chips/stdio.c [deleted file]
src/sim65/chips/vic2.c [deleted file]
src/sim65/config.c [deleted file]
src/sim65/config.h [deleted file]
src/sim65/cpucore.c [deleted file]
src/sim65/cpucore.h [deleted file]
src/sim65/cpudata.h [deleted file]
src/sim65/cpus/6502.c [deleted file]
src/sim65/cputype.c [deleted file]
src/sim65/cputype.h [deleted file]
src/sim65/global.c [deleted file]
src/sim65/global.h [deleted file]
src/sim65/location.c [deleted file]
src/sim65/location.h [deleted file]
src/sim65/main.c
src/sim65/memory.c
src/sim65/memory.h
src/sim65/paravirt.c [new file with mode: 0644]
src/sim65/paravirt.h [new file with mode: 0644]
src/sim65/scanner.c [deleted file]
src/sim65/scanner.h [deleted file]
src/sim65/simdata.h [deleted file]
src/sim65/system.c [deleted file]
src/sim65/system.h [deleted file]