<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gutskun</author_name>
  <author_url>https://blog.hatena.ne.jp/gutskun/</author_url>
  <blog_title>ひとしれずひっそり</blog_title>
  <blog_url>https://katsuyoshi.hatenadiary.com/</blog_url>
  <categories>
    <anon>game</anon>
    <anon>ruby</anon>
  </categories>
  <description>IOの実装を進めた。 色々あるのだけと一番大きいのはシフトレジスタだ。 参考になるのはこのページで computerarcheology.com 最初は理解できなかったが16bitのシフトレジスタがあってout portの4番に書き込むと上位8bitにセットされる。 更に書き込むと前回のデータはシフトされて下位8bitに移り書き込んだデータが上位8bitにセットされる。 コードで書いたらこんな感じになるか @shift_data = 0 def out_port_4 val @shift_data &gt;&gt;= 8 @shift_data |= (val &amp; 0xff) &lt;&lt; 8 end そしてou…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkatsuyoshi.hatenadiary.com%2Fentry%2F2024%2F12%2F28%2F230644&quot; title=&quot;r8080でゲーム機のエミュレート 4 - ひとしれずひっそり&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/g/gutskun/20241228/20241228224414.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-12-28 23:06:44</published>
  <title>r8080でゲーム機のエミュレート 4</title>
  <type>rich</type>
  <url>https://katsuyoshi.hatenadiary.com/entry/2024/12/28/230644</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
