Emulator of Single Board Computer
Emulator of Single Board Computer
Emulator of Single Board Computer
SBC 86
TABLE OF CONTENTS
1 INTRODUCTION 4
2 OPERATING INSTRUCTIONS OF SBC86 EMULATORS 5
2.1 SYSTEM 5
2.1.1 INSTALLATION 5
2.2 I8086GUI 6
2.2.1 SURFACE 6
2.2.2 THE MENU 7
2.2.3 SHORTCUT'S 7
2.3 I8086TEXT 8
2.4 CONFIGURATION FILE 9
2.4.1 BASIC SETTINGS 9
2.4.2 DEVICE SETTINGS 9
2.5 BASIC OPERATION OF SBC86 EMULATORS 9
3 FILE OVERVIEW 10
4 PROCESSOR 11
4.1 INTRODUCTION 11
4.2 INITIALIZATION AND TERMINATION 11
4.3 PROCESSOR FUNCTIONS 12
4.3.1 DATA STRUCTURES 12
4.3.2 REGISTER FUNCTIONS 14
4.3.3 RESOURCES FUNCTIONS 15
5 EMULATOR FEATURES AND opcode 16
5.1 FUNCTIONS OF SELECTED FILE I8086EMUFUNCS.C 16
5.1.1 MEMORY ACCESS FUNCTIONS 16
5.1.2 MEMORY ADDRESS DECODING A COMMAND 16
5.1.3 FUNCTIONS TO ACCESS THE I / O PORTS 17
5.1.4 STACK OPERATIONS 17
5.1.5 FUNCTIONS TO CORRECT THE flag register 18
5.1.6 ADDING A NEW opcode 18
1 INTRODUCTION
The SBC86 is a single board computer based on the Intel
8086 CPU, with 5 MHz and 16-bit registers. It has binary input
and output units, 8 LEDs and 8 switches. For inputs and
outputs, eight 7 - segment displays and a small keyboard at
your disposal.
will
-To start the emulator i8086gui call
Windows
i8086setup.exe double-click and follow the instructions
-To start the emulator Start-> Programs-click i8086emu>
i8086emu->
5
GTK 2.0 or later for CygWin. In order to install GTK under CygWin
needs in the setup.exe from CygWin in the input area "User URL"
address "http://web.sfc.keio.ac.jp/ s01397ms/cygwin ~ /" are
entered. Of the packages available there must Libs/gtk2-win32
and Libs / atk be installed.
(http://web.sfc.keio.ac.jp/ ~ s01397ms/cygwin/index.html.en)
ncurses
nasm-for example, the ASM files to assemble
(found under http://nasm.sourceforge.net/) 2.1.1 INSTALLATION
Linux
-in a console switch to the directory i8086emu/src
- "Make" call (GTK2 version is created)
-to the i8086sic plugin (serial interface) needs to use the adjusted
emu.cfg
will
-To start the emulator i8086gui call
Windows
i8086setup.exe double-click and follow the instructions
-To start the emulator Start-> Programs-click i8086emu>
i8086emu->
2.2 I8086GUI
i8086gui is a graphical interface for the SBC86 emulator. It is
created using GTK 2.0 and so on different platforms
portierbar.2.2.1 SURFACE
1:Open opens a file in the COM format.
2:Trace, step by step, here are the next instruction of the
program is executed.
3:Step over, in contrast to trace here that subroutines and
conditional pro gramme grind total processed.
4:Run, The program will start at the current position. Targeted
r -Change-Change