This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Prepare the BIOS | |
org 0x7c00 ;; BIOS jumps here upon boot | |
bits 16 ;; 16-bit mode | |
;; Set the video mode to 80x25 text mode | |
;; see (https://en.wikipedia.org/wiki/INT_10H | |
;; and http://www.columbia.edu/~em36/wpdos/videomodes.txt) | |
;; a character in this buffer is 2 bytes (ascii + color) | |
mov ax, 0x0002 ;; ah = 0x00 -> set video mode |