tomoyuki-nakabayashi / Rustemu86

Apache License 2.0
5 stars 0 forks source link

VGA Text modeがバイト単位でアクセスできない #22

Closed tomoyuki-nakabayashi closed 6 years ago

tomoyuki-nakabayashi commented 6 years ago

一応直しておくか。 内部的にバッファを持てば良いでしょう。

tomoyuki-nakabayashi commented 6 years ago

8, 16, 32, 64bitアクセス用のtraitが欲しいかな。

tomoyuki-nakabayashi commented 6 years ago

デフォルト実装では、u8を複数回呼び出すようにしておけばよいな。

tomoyuki-nakabayashi commented 6 years ago

https://stackoverflow.com/questions/26368288/how-do-i-stop-iteration-and-return-an-error-when-iteratormap-returns-a-result

tomoyuki-nakabayashi commented 6 years ago

https://doc.rust-lang.org/rust-by-example/error/result/result_map.html

tomoyuki-nakabayashi commented 6 years ago

MemoryAccess traitが実装できた。これをGtkVgaTextBufferでもimplしよう。

tomoyuki-nakabayashi commented 6 years ago

OK。終了。