SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Z80~Ex

ZiLOG Z80 CPU emulator

Features

  • precise opcode emulation (documented & undocumented)
  • exact timings for each opcode (including I/O operations)
  • full support for all interrupt modes
  • ability to create several virtual CPUs
  • written in pure ANSI C
  • compiles as a library, which may be used via simple callback-based API
  • disassembler included

Building and installation (*):

for build using GNU C (GCC - unix, mingw/cygwin - Win32, DJGPP - DOS(**)), type 'gmake'. static and shared libraries will appear in "./lib". also you may do "gmake static" for building only static library, or "gmake shared" for only shared library.

after successful build, issue "gmake install" as superuser. default install prefix is /usr/local, which can be changed in Makefile.

*)
support for non-GNU build methods is'nt included at the moment, feel free to contribute :)

**)
when building with DJGPP, use "gmake static" -- DOS does'nt support shared libraries

Usage

emulator

include <z80ex/z80ex.h> in your sources, link with "libz80ex" (-lz80ex).

for API documentation see "z80ex.h".

disassembler

include <z80ex/z80ex_dasm.h> in your sources, link with "libz80ex_dasm" (-lz80ex_dasm).

for API documentation see "z80ex_dasm.h". also look at the dasm.c at the "examples" directory


yours, Boo-boo
boo_boo(^at^)inbox.ru


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.