floppyboot

bootsector Flappy Bird clone for x86
git clone git://squid-tech.com/floppyboot.git
Log | Files | Refs | README

commit 1e1ca312ceef8e7f97f4e19fc96338d3ad42b114
parent fb0b89d2e55b0514eee449990b600e0b7f7be6e0
Author: Josh Moore <jxm5210@rit.edu>
Date:   Sun, 12 Jan 2020 11:37:02 -0500

Basic graphics initialization

Diffstat:
Mfloppyboot.asm | 18++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/floppyboot.asm b/floppyboot.asm @@ -2,10 +2,24 @@ bits 16 org 0x7C00 boot: + ; set video mode to 40x25 16-color + MOV AH, 0x00 + MOV AL, 0x01 + INT 0x10 + ; set blue background + MOV AH, 0x0B + MOV BH, 0x00 + MOV BL, 0x01 + INT 0x10 + + ; disable the cursor + MOV AH, 0x01 + MOV CH, 0x3F + INT 0x10 halt: - cli - hlt + CLI + HLT times 510 - ($-$$) db 0 ; pad with zeroes to 510 bytes dw 0xAA55 ; bootloader magic