Giter Club home page Giter Club logo

emu's Introduction

emu

master: Build Status develop: Build Status

https://github.com/sk2sat/vm の設計とか色々見直して新しく作っているx86エミュレータ

ビルド

make

ビルドには以下のオプションが指定できます.

  • BUILD_TYPE: ビルドのタイプを指定できます. DebugReleaseが選択可能です. Debugを指定すると,DOUT()マクロによるデバッグ情報がエミュレーション時に表示されます. Releaseを指定すると,同マクロを無効化してコンパイルします. デフォルトではDebugが指定されています.

サンプル実行

make run

サンプルのバイナリのエミュレーションのテストが行えます. これには以下のオプションが指定できます.

  • ARCH アーキテクチャが選択できるような見た目をしていますが気のせいです. x86しか指定できないと思って下さい.

  • MEMSIZE メモリサイズを指定できます. 単位はMBです. デフォルトでは4MBになっています.

  • BIOS BIOSを指定できるような見た目をしていますが,これも気のせいです. 必ず--junk-biosを指定してください.

  • FLOPPY フロッピーディスクイメージが指定できます. ようはブートデバイスを設定するところです. --fda hoge.imgのように指定してください.

  • UI ユーザーインターフェースを選択できます. デフォルトでは--guiが指定されています. UI=""のようにすると,ウィンドウを出さないで実行します.

エラー

全然実装が進んでいないため、よくエラーが発生します。ここにはエラーの種類のメモをしておきます。

not implemented

このエラーは、実装されていない動作が要求された時に発生します。このエラーのうち、

not implemented: code = 16進数

となっているものは、16進数が示す機械語が実装されていない、というエラーです。

emu's People

Contributors

sksat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

emu's Issues

リンクに失敗する

リンク時に,ldが大量に

access beyond end of merged section

というエラーを吐く.また,arch/以下にtmp-arch.a\naddlibというファイルが出来る.

また,make arch/arch.aとするとarが

Syntax error in archive script, line 1

というエラーを出したので,arch/*/.aをarch/arch.aに纏める際におかしくなっていると思われる.

環境はArch Linux.
Ubuntu 16.04 xenialではこのようなエラーは出ず,正常にリンク出来たのでarのバージョンによるものだと思われる.
arのバージョンは2.29.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.