scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/xeleh_amiga_asm_vc3-2023.zip

File size:
347 649 bytes (339.50K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 16

Screenshot (by pouët.net)

Screenshot

Preview

  • __MACOSX/xeleh_amiga_asm_vc3-2023/._result.png 220B
  • __MACOSX/xeleh_amiga_asm_vc3-2023/._source.png 631B
  • __MACOSX/xeleh_amiga_asm_vc3-2023/._v2.s 446B
  • __MACOSX/xeleh_amiga_asm_vc3-2023/._v3.s 446B
  • __MACOSX/xeleh_amiga_asm_vc3-2023/._v4.s 446B
  • xeleh_amiga_asm_vc3-2023/ dir
  • xeleh_amiga_asm_vc3-2023/determinants.png 152.50K
  • xeleh_amiga_asm_vc3-2023/file_id.diz 827B
  • xeleh_amiga_asm_vc3-2023/result.png 6.98K
  • xeleh_amiga_asm_vc3-2023/source.png 198.66K
  • xeleh_amiga_asm_vc3-2023/v1.s 1.75K
  • xeleh_amiga_asm_vc3-2023/v2.s 1.17K
  • xeleh_amiga_asm_vc3-2023/v3.s 1.24K
  • xeleh_amiga_asm_vc3-2023/v4.s 2.34K
  • xeleh_amiga_asm_vc3-2023/vccc2023 104B
  • xeleh_amiga_asm_vc3-2023/vccc2023.s 203B

file_id.diz

xeleh_amiga_asm_vc3-2023

Author:   Xeleh
Category: Christmas Challenge
System:   Amiga
Language: M68k Assembler, vasm
Len source code:
Len exe file:    104 bytes
Len code only:   68 bytes
Instructions:
Tested on FS-UAE with Kickstarts 1.3, 2.0 & 3.1. It should also work on WinUAE.
Description:
A determinant is calculated for each character position of the 19x19 object area.
The determinant of the positions belonging to any of the lines we need to draw satisfies any of the following formulas:
  - (column position + row position + 3 ) % 6 = 0   (45 degrees lines)
  - (column position - row position + 21) % 6 = 0   (135 degrees lines)
Where both row and column positions are zero-based and % stands for the modulo operation. 
Comments:
Thanks for organizing this challenge, Logiker. It was quite fun! :)