scene.org File Archive

File download

<root>­/­parties­/­2022­/­vccc22­/­christmas_star_challenge/erkkah_ibmpc_asm_vc3-2022.zip

File size:
648 616 bytes (633.41K)
File date:
2022-12-30 11:32:13
Download count:
all-time: 13

Preview

  • code.jpg 525.79K
  • computershot.jpg 117.22K
  • file_id.diz 788B
  • screenshot.png 1.25K
  • star.asm 311B
  • star.com 66B
  • star_full.asm 2.03K

file_id.diz

Spinstarr 2022

Author: erkkah
Category: Christmas Challenge
System:   IBM PC running DOS
Language: 8086 Assembler - nasm
Len source code: 331
Len exe file:    66
Len code only:   66
Instructions:
    Install dosbox and run "dosbox -conf dosbox.conf star.com"
Description:
    Draws a 17x9 isosceles triangle pointing downwards and rotates
    it in 90 degree steps to create the star shape.

    The triangle is drawn one transformed asterisk at a time with a lot of
    unnecessary over-drawing to create an animated effect at 4.77 MHz.
    Replacing the value 360 at the b: label with 4 removes the effect.

    The transformation includes stride scaling to avoid having to map row/col
    coordinates to memory locations separately.
Comments:
    This was fun!