Coder Social home page Coder Social logo

hktechn0 / mist32e-cpubook Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 19 KB

「独自CPU開発で学ぶコンピュータのしくみ」ソフトウェア編 サンプルプログラム

Home Page: http://open-arch.org/book

License: BSD 2-Clause "Simplified" License

Makefile 7.32% C 87.50% Assembly 2.06% Python 3.13%

mist32e-cpubook's Introduction

mist32e-cpubook

「独自CPU開発で学ぶコンピュータのしくみ」ソフトウェア編 サンプルコード

http://www.shuwasystem.co.jp/products/7980html/4536.html

このリポジトリは、上記書籍 "30章 ソフトウェア開発" のためのサンプルコードです。

ライセンスは、2-clause BSD License ですので、書籍以外でも自由に利用していただいて構いません。 詳しくは LICENSE を御覧ください。

内容物

それぞれのディレクトリに Makefile が存在します。 基本的には、make をすると mist32-elf-gcc が入っていればコンパイルできます。

01_helloworld

30.2 章で作る、Hello, world を表示するサンプルコードです。

02_display_keyboard

30.3 章で作る、ディスプレイとキーボードのテストのサンプルコードです。

03_tetris

30.3 章で作る、テトリスの完成版サンプルコードです。

04_slideshow

30.4 章で作る、SD カードを利用した画像スライドショープログラムのサンプルコードです。

SD カードのサンプルイメージファイルについては、00_GET_SD_CARD_IMAGE.txt を御覧ください。

99_bitmap

04_slideshow のプログラムで利用するための、画像データの SD カードのイメージを生成するプログラムです。

以下のように利用します。

$ python bitmap.py [-o 出力ファイル] [画像ファイル1] [画像ファイル2] [画像ファイル...]

追加予定

定期的に git pull すると更新されると思います。 以下の様なものが今のところ動きそうです。

  • printf 関数
  • ファイルシステム
  • ベンチマーク
  • ファームウェア

バグや問題など

GitHub の Issue や Pull-Request でも受け付けています。

または、以下のページの連絡先からご意見をお送りください。

http://open-arch.org/book

mist32e-cpubook's People

Contributors

hktechn0 avatar

Watchers

 avatar

Forkers

odie8683

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.