Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 1.81 KB

README.md

File metadata and controls

63 lines (35 loc) · 1.81 KB

lib68k

Motorola 680x0 Standalone Emulation Library

image

Motive:

The motive behind this repository is to provide a surrogate means of aiding in relevant Motorola 68000 developments.

Such is the case with one of the many ambitions, to create a dedicated OS Kernel specifically for this series of microprocessors

Created using ANSI C99 standard, this project aims to promote an ease of use means of creating a library that emulates the likeness of these microprocessors

Usage:

git clone this repository

make clean

make

the following output will vary depending on system:

Windows:

lib68k.a

UNIX:

lib68k.so

the makefile in question is universal, allowing for ease of use compiling on other systems

Example:

Below is an example provided to showcase how the OPCODE_HANDLER_TABLE is able to store and evaluate respective Opcodes and Operands

You can find the provided example Assembly code here

image

NOTE:

Some of the Opcodes and their extended addressing capabilities such as IMM, EA, DI, PI, etc - are all reserved for an eventual expansion on this Library.

As of right now, I wanted to focus on getting everything working with 68000 emulation to prioritise mdemu developments

Sources:

Motorola 680x0 Programmer Manual

Motorola 680x0 User Manual

68000 Memory Map

68000 ISA