Last active
August 29, 2015 14:27
-
-
Save norbekaiser/740af88b274540724775 to your computer and use it in GitHub Desktop.
prints out hu with a line of stars above and beyond
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
mov ah, 0x0e ; teletype | |
mov al,'*' ; ascii | |
times 20 int 0x10 ; call 20 times interrupt 10 to print 20 * | |
; newline | |
mov al,0x0a ;Linefeed | |
int 0x10 | |
mov al,0x0d ;Cariage return | |
int 0x10 | |
; | |
mov al,'H' | |
int 0x10 | |
mov al,'u' | |
int 0x10 | |
; | |
mov al,0x0a ;Linefeed | |
int 0x10 | |
mov al,0x0d ;Cariage return | |
int 0x10 | |
; | |
mov al,'*' | |
times 20 int 0x10 | |
; | |
mov al,0x0a ;Linefeed | |
int 0x10 | |
mov al,0x0d ;Cariage return | |
int 0x10 | |
; | |
jmp $;//inf loop current line | |
times 510-($-$$) db 0 | |
dw 0xaa55 |
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
b4 0e b0 2a cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 | |
cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 | |
cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 b0 0a cd 10 | |
b0 0d cd 10 b0 48 cd 10 b0 75 cd 10 b0 0a cd 10 | |
b0 0d cd 10 b0 2a cd 10 cd 10 cd 10 cd 10 cd 10 | |
cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 | |
cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 b0 0a | |
cd 10 b0 0d cd 10 eb fe 00 00 00 00 00 00 00 00 | |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
* | |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |
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
Booting from Hard Disk... | |
******************** | |
Hu | |
******************** |
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
b0 2a cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 | |
cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 | |
cd 10 cd 10 cd 10 cd 10 cd 10 cd 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment