ウォンツテック

そでやまのーと

2007-04-14から1日間の記事一覧

メモリサイズ取得

int 15hのFunction 0xE801と0x88でのメモリサイズの取得が出来た /* We have to get the phisical memory map. * Using "Function E820" and "Function E801" but not "Function 88H", * we'll get it. * EAX 0xE820 - BIOS command to get the memory map *…

メモリマップ

メモリマップを取得しようと家にある実機3台で試したところ全部エラー(ah=0x86 Function not defined)となった。。 これじゃあ試しようがない。。仕方ないのでメモリサイズだけを取得する方法 int 0x15 Function 0xE801にするか。。

BIOS

http://hdebruijn.soo.dto.tudelft.nl/newpage/interupt/ 色々BIOSのファンクションコール回りが乗ってるサイトを探してたけど、いいサイトを見つけた。 このサイトはBIOSに限らずintをコールしている命令が羅列されている。 欲しい情報 int 15h function 0x…

実機FD読み込みバグ修正(print_debugでFDのエラーステータスが「4:sector mark not found」だった) FDのsectorに入れる値を間違えていた。(sectorは1〜18の値を入れる必要があるが、0を入れていた) > movb $0x1, (%si) # sector is 1