0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

OS自作 2日目

Posted at

##ブートプログラム内にデータを保存する
・ブートプログラムに制御が移った時にセグメントレジスタの値を初期化する
・アセンブラはプログラムが0x0000番地にロード、実行されるものと仮定している
 →ブートプログラムが0x7C00番地にロードされていることをORG命令で知らせる

###ALIGN命令について
・アライメント:メモリからデータを読み込むときにプロセッサのビット数に合わせてデータの境界を調整する必要がある

##文字を表示する
・BIOSコール
 ;入出力機を動作させるための関数
・int で出力用のBIOSコール

##文字列の表示
文字の表示を繰り返す

##コンピュータを再起動する
・BIOSコールを使って再起動を行う
・再起動する際には文字列を表示する

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?