iolo_pc_asm_57b_vc3-2024
Author: iolo^Compofillers
Category: Christmas Challenge
System: PC, MS-DOS
Language: Assembler (nasm)
Len source code: 315 bytes
Len exe file: 57 bytes
Len code only:
Instructions:
Execute the code under DOS-X emulator, MS-DOS 7.1 (or Windows 98 pure DOS mode) emulation. (should run on other systems too, not tested)
Description:
The code writes ditrctly to video memory. First it prints the top tie. Then it uses two nested loops to print the rest of the box.
For each line, using a rotation with carry, it determines if the line uses the "+ and -" or the "! and <space>" characters.
For each character in a line, using again a rotation with carry, it determines if the first or the second character is used.
Comments:
First entry for the contest :)