Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
63Activity
×

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Study of the techniques for emulation programming by Victor Moya del Barrio

Study of the techniques for emulation programming by Victor Moya del Barrio

Ratings:

4.4

(5)
|Views: 30,861|Likes:
Published by Moe B. Us
In the time I started to learn about how an emulator is programmed I found that there was a limited amount of documentation. Documentation about how an emulator should be programmed or about the characteristics of the machines to be emulated. Thinking about how to contribute to the emulation I found that the second part would mean the construction of a database with all the information available of a large amount of computers and systems. This wasn’t very suited neither with a university project for
with my own preferences, and there are a few sites in Internet which more or less serve to that purpose. The first part meant to study and learn the various techniques and knowledges related to emulator programming. Since I like a lot learning and also writing I thought that could be my way to contribute. So I thought it would be nice to have a large, ordered and precise documentation about how to program an emulator. That is the purpose of this document and my work in the last months
In the time I started to learn about how an emulator is programmed I found that there was a limited amount of documentation. Documentation about how an emulator should be programmed or about the characteristics of the machines to be emulated. Thinking about how to contribute to the emulation I found that the second part would mean the construction of a database with all the information available of a large amount of computers and systems. This wasn’t very suited neither with a university project for
with my own preferences, and there are a few sites in Internet which more or less serve to that purpose. The first part meant to study and learn the various techniques and knowledges related to emulator programming. Since I like a lot learning and also writing I thought that could be my way to contribute. So I thought it would be nice to have a large, ordered and precise documentation about how to program an emulator. That is the purpose of this document and my work in the last months

More info:

Published by: Moe B. Us on Jun 04, 2007
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

04/28/2013

pdf

text

original

 
 
Study of the techniques for emulationprogramming
(By a bored and boring guy)
The Author: Victor Moya del BarrioDirector: Agustin Fernandez
Computer Science Engenieering – FIB UPC
18 June 2001
 
2
 
3
 
Contents
Chapter 1. Introduction. 9
1. Motivation and purpose of the study.
9
2. What do we call an emulator?
10
3. Small history of emulation.
11
4. Related topics.
12Chapter 2. Introduction to the process of emulation. 14
1. Basic structure/algortihm of an emulator. 142. The CPU emulation core. 17
2.1. CPU emulator: Interpreter 182.2. CPU emulator: Binary Translation. 18
3. The memory emulation subsistem. 204. CPU and emulated devices communication. Interrupts and timing. 215. Graphic hardware emulation. 226. Sound hardware emulation. 237. Other devices. 248. Testing the emulator. 249. Searching for information and other aspects of emulation. 25
Chapter 3. CPU emulation: Interpreters. 26
1. Basic interpreter CPU emulator. 26
The CPU status. 26The fetch-decode loop. 30Instruction emulation. 36Flags. 38Memory. 39Interrupts. 41Core interface. 42
Appendix A: Space Invaders/i8080 Tutorial. 44
2. Assembly Emulators. 44
Portabilty vs performace. 45Similiraties between CPUs. 46Register usage. 46Optimizations. 47Code emitters vs assembly macros. 50
3. Threaded Code. 51

Activity (63)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Jorge Martinez liked this
Paco Meralgo liked this
hugues412 liked this
Ana Mateus liked this
levieuxdjo liked this
Brian Ernst liked this
remcrash liked this
0x13 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->