Play Journal Entries

Petit computer 3

くろねんどkurnnd

10/09/2017 10:40 AM ·Spoilers

BIGから16フォントを圧縮して持って来たのですが、このひととおり文字を表示させる自作プログラムを見て何かアドバイスを! 1行目はフォントテーブル 2行目はフォントデータ(16フォント1文字につき16bitを1文字として16文字) フォントの数は4180個

Advertisement

Comment

This post has no comments.

  • 四角四重にすると結構見やすいね。 ひらがなとかたかなならね。

    Yeahs0
    Played
  • ちょっと最適化。 1<<10よりPOW(2,10)の方が2倍ぐらい早いことがわかった。 次はFOR文は使わない方が早いのかどうかだ。誰か答えられるかな。

    Yeahs1
    Played
  • FORは遅いようで、高速化が必要な時はREPEAT使ってますね…

    Yeahs1
    Played
  • 1<<10よりPOW(2,10)の方が2倍ぐらい早い 3.5.2 ならそれは絶対無いです ∵ 1<<10 はコンパイル時に計算され、定数 1024 になるから で、 変数 << 変数 pow(変数, 変数) でも前者のが倍以上早いです。

    Yeahs2
    Played
  • >>>MIKI さっきもう一回試してみたところ、結果が逆になってました。すみません(^_^;)

    Yeahs0
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Post ID: 3DB-NBL7-DPU-2NL9-XW7-72HZ

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: