scene.org File Archive

File download

<root>­/­parties­/­2025­/­vccc25­/­christmas_challenge/xeleh_pc_x86assembler_65b_vc3-2025.zip

File size:
196 497 bytes (191.89K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 2

Preview

  • __MACOSX/._code.png 163B
  • __MACOSX/._file_id.diz 163B
  • __MACOSX/._result.png 163B
  • __MACOSX/._v1a.asm 163B
  • __MACOSX/._v1b.asm 163B
  • __MACOSX/._v1c.asm 163B
  • __MACOSX/._v1d.asm 163B
  • __MACOSX/._v1e.asm 163B
  • __MACOSX/._v2a.asm 163B
  • __MACOSX/._v2b.asm 163B
  • __MACOSX/._vccc2025.asm 163B
  • __MACOSX/._vccc2025.com 163B
  • code.png 174.26K
  • file_id.diz 775B
  • result.png 20.64K
  • v1a.asm 2.12K
  • v1b.asm 1.91K
  • v1c.asm 1.84K
  • v1d.asm 1.62K
  • v1e.asm 1.82K
  • v2a.asm 1.68K
  • v2b.asm 1.96K
  • vccc2025.asm 294B
  • vccc2025.com 65B

file_id.diz

xeleh_pc_x86assembler_65b_vc3-2025

Author:   Xeleh
Category: Christmas Challenge
System:   IBM PC or compatible
Language: x86 Assembler, NASM
Len source code:
Len exe file:    65 bytes
Len code only:
Instructions:
Tested on DOSBox-X, it should work also on DOSBox.
Description:
A determinant is calculated for each location of the 19x19 object area with a simple formula (row^2 + column^2). To accomplish simmetry, rows and columns go from -9 to 9.
For each location a '*' char is printed only if:
  - row is zero or column is zero (central lines)
  - determinant value is found on a lookup table
And that's it.
Comments:
Thanks again for organizing the challenge, Logiker. It makes the perfect excuse to craft a little bit of assembly code once a year! :)