<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dumbo001</author_name>
  <author_url>https://blog.hatena.ne.jp/dumbo001/</author_url>
  <blog_title>DumBo さんの Homebrew 開発日記</blog_title>
  <blog_url>https://dumbo001.hatenablog.com/</blog_url>
  <categories>
    <anon>ニンテンドーDS</anon>
    <anon>C言語</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>ゲーム作りのための道具作りシリーズです。 タイマーライブラリを作ってみました。 2 週間くらい構造に悩んでしまいましたがようやく望むカタチに収まりました。 任意個数のタイマーを動的に生成でき、それぞれが独立した時間計測を行うことが出来る、 そんな感じのライブラリです。 ARM9 側のタイマー割り込みを 1 つ使い、 基準となるカウンタ値をミリ秒間隔でインクリメントさせて、 各々のタイマーインスタンスは、その基準値からの差分で計測時間を割り出すような作りをしてます （タイマー割り込み資源は ARM7, ARM9 に各 4 つまでの為、 このようなエコ設計で複数タイマーを実現しなけばなりませんでし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdumbo001.hatenablog.com%2Fentry%2F20100531%2Fp1&quot; title=&quot;タイマーライブラリ。 - DumBo さんの Homebrew 開発日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/d/dumbo001/20100531/20100531203408.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-05-31 00:00:00</published>
  <title>タイマーライブラリ。</title>
  <type>rich</type>
  <url>https://dumbo001.hatenablog.com/entry/20100531/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
