{"published":"2021-08-22 00:00:00","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/katakanan/","blog_url":"https://e-tipsmemo.hatenablog.com/","provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/katakanan/20210804/20210804080502.png","author_name":"katakanan","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fe-tipsmemo.hatenablog.com%2Fentry%2F2021%2F08%2F22%2F000000\" title=\"NES Emulator in Rust : 2 CPU - e-tipsmemo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","description":"e-tipsmemo.hatenablog.com \u7d9a\u304d CPU #[derive(Default, Clone)] pub struct Cpu { pub pc: Cell<u16>, pub a: Cell<u8>, pub x: Cell<u8>, pub y: Cell<u8>, pub s: Cell<u8>, pub p: Cell<Status>, pub nmi: Cell<bool>, } \u30ec\u30b8\u30b9\u30bf\u3092\u7528\u610f\u3059\u308b\u3002Status\u306fbitflags crate\u3067flag\u7ba1\u7406\u3059\u308b\u3002 \u30e1\u30a4\u30f3\u30e1\u30e2\u30ea\u306fNES\u304c\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30e1\u30e2\u30ea\u30a2\u30af\u30bb\u30b9\u306fNES\u306e\u30e1\u30f3\u30d0\u95a2\u6570\u306b\u3057\u3066\u3042\u308b\u3002 \u3053\u3053\u3089\u8fba\u306f\u53c2\u8003\u30b5\u2026","blog_title":"e-tipsmemo","title":"NES Emulator in Rust : 2 CPU","width":"100%","height":"190","url":"https://e-tipsmemo.hatenablog.com/entry/2021/08/22/000000","categories":["Rust","\u30d7\u30ed\u30b0\u30e9\u30e0"]}