Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
1–10 of 14 posts
Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#2i assumed asm was the lowest level, is there some builtin font by default that can't be changed or something?
Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#3there's no comment section there so i'd figure i'd ask here: what is that font that it outputs? is that part of BIOS or something? or part of boot loader or PXE server? i assumed asm was the lowest level, is there some builtin font by default that can't be changed or something?
Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#4there's no comment section there so i'd figure i'd ask here: what is that font that it outputs? is that part of BIOS or something? or part of boot loader or PXE server? i assumed asm was the lowest level, is there some builtin font by default that can't be changed or something?
Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#5there's no comment section there so i'd figure i'd ask here: what is that font that it outputs? is that part of BIOS or something? or part of boot loader or PXE server? i assumed asm was the lowest level, is there some builtin font by default that can't be changed or something?
There is no terminal emulator here. This hello world text is written directly to video memory -- and yes, there is a character rom, so placing a string of words in memory OR'd with bits set for video attributes (the #defines there) make it color.
Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#6there's no comment section there so i'd figure i'd ask here: what is that font that it outputs? is that part of BIOS or something? or part of boot loader or PXE server? i assumed asm was the lowest level, is there some builtin font by default that can't be changed or something?
The default video bios mode is used as-is here, https://en.wikipedia.org/wiki/Video_BIOS There is no terminal emulator here. This hello world text is written directly to video memory -- and yes, there is a character rom, so placing a string of words in memory OR'd with bits set for video attributes (the #defines there) make it color.
Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#7Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#8http://www.pouet.net/prod.php?which=6951
There was a competition too, based on a standard appearance and behaviour, and the winner is 363 bytes:
https://files.scene.org/view/mags/hugi/compos/hc22fin.zip
Vaguely related; chess game in 487 bytes:
Re: Building a Tetris Clone in X86 Assembly, Pt. Ⅰ: Hello, World
#9there's no comment section there so i'd figure i'd ask here: what is that font that it outputs? is that part of BIOS or something? or part of boot loader or PXE server? i assumed asm was the lowest level, is there some builtin font by default that can't be changed or something?
The default video bios mode is used as-is here, https://en.wikipedia.org/wiki/Video_BIOS There is no terminal emulator here. This hello world text is written directly to video memory -- and yes, there is a character rom, so placing a string of words in memory OR'd with bits set for video attributes (the #defines there) make it color.
https://en.wikipedia.org/wiki/VGA-compatible_text_mode
(Many, including me, still consider the original IBM VGA text font to be one of the most well-designed and readable for displaying text.)