<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>O3I</author_name>
  <author_url>https://blog.hatena.ne.jp/O3I/</author_url>
  <blog_title>CPU実験室</blog_title>
  <blog_url>https://yfl711.hateblo.jp/</blog_url>
  <categories>
    <anon>68k</anon>
    <anon>#工学</anon>
  </categories>
  <description>前に作ったDOS画面上で動作するテトリスを移植してみました。 キー入力関数kbhit()、getch()や乱数発生のrand()を作成してライブラリに追加しています。 乱数発生ルーチンは8086アセンブラで作られていた例を見つけてきてそっくりC言語に置き換え ています。乱数の質はかなり怪しいですがこういう用途であればまったく問題なし。 int rand(void) { static int be,bc; int ax,dx; ax=0x43FD; dx=0x0003; if((dx||be)==0){ ax*=bc; } else{ dx+=dx*bc+ax*ax; ax*=bc; } ax+…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyfl711.hateblo.jp%2Fentry%2F24063102&quot; title=&quot;テトリス - CPU実験室&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/O/O3I/20190804/20190804212124.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-08-18 07:39:23</published>
  <title>テトリス</title>
  <type>rich</type>
  <url>https://yfl711.hateblo.jp/entry/24063102</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
