1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-03-10 12:29:35 +00:00

First real commit to new git repository.

This commit is contained in:
Eric Smith
2014-11-23 02:24:10 -07:00
parent 7f516e7059
commit 324b0d9547
4 changed files with 1660 additions and 28 deletions

30
.gitignore vendored
View File

@@ -1,29 +1,3 @@
# Object files
ksim
*.o
*.ko
*.obj
*.elf
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
*~

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
CFLAGS = -Wall -Wextra -g
LDFLAGS = -g
all: ksim
clean:
rm ksim.o ksim
ksim: ksim.o

View File

@@ -1,2 +1,20 @@
ksim
====
ksim is an 8080 simulator that attempts to be very accurate. While
ksim may be minimally useful in its current form, it is primarily
intended as a reference implementation. There is currently no
documentation, and the code is not well-commented. Maximum performance
was not a goal, so very little optimization has been done. Interrupts
are not implemented, though they would be easy to add. There is crude
console I/O, and extremely crude disk I/O. It works just barely well
enough that I've successfully run CP/M.
As part of a Retrochallenge 2012 Winter Warmup project, I ran an 8080
exerciser and other instruction test programs on a Sol 20 to better
understand the behavior of the 8080's flags (which are NOT exactly the
same as those of the Z-80), and updated ksim to accurately simulate
the flags. There are a lot of Z-80 simulators out there, but fewer
8080 simulators, and fewer yet that get the flags right.
ksim is released under the FSF GPLv3 license.

1631
ksim.c Normal file

File diff suppressed because it is too large Load Diff