<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>computeralgebra</author_name>
  <author_url>https://blog.hatena.ne.jp/computeralgebra/</author_url>
  <blog_title>非専門的シンギュラリティー研究所</blog_title>
  <blog_url>https://computeralgebra.hatenablog.com/</blog_url>
  <categories>
    <anon>X68000</anon>
    <anon>ChatGPT</anon>
  </categories>
  <description>Windows と X68000 で切り替えることができるグラフィックス機能のサンプルを作成中です。X68000 の IOCS の呼び出しでデータの領域のアドレスを渡すものがありますが、C++ のインラインアセンブラで変数のアドレスを渡そうとすると(エミュレーターで動作させてみると)うまくいきません。『プログラマーのためのX68000環境ハンドブック』ではプログラムの後にデータの領域が取られていて、C++ のインラインアセンブラを使う場合でもそれと同じようにプログラムの後にデータの領域を確保していったんそこにコピーした後で IOCS の呼び出しをすれば動作します。これは正しいやり方とは思えない…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcomputeralgebra.hatenablog.com%2Fentry%2F2025%2F06%2F30%2F231156&quot; title=&quot;X68000(20) - 非専門的シンギュラリティー研究所&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://m.media-amazon.com/images/I/215gGcYXiIL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-30 23:11:56</published>
  <title>X68000(20)</title>
  <type>rich</type>
  <url>https://computeralgebra.hatenablog.com/entry/2025/06/30/231156</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
