scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/alx-brainwave_pc-linux_assembler_vc3-2023.zip

File size:
103 529 bytes (101.10K)
File date:
2024-01-03 14:15:17
Download count:
all-time: 16

Screenshot (by pouët.net)

Screenshot

Preview

  • vc3-2023-pre/ dir
  • vc3-2023-pre/christmass-pattern-by-alx-code_screen.png 98.89K
  • vc3-2023-pre/christmass-pattern-by-alx-screenshot.png 4.47K
  • vc3-2023-pre/file_id.diz 1.21K
  • vc3-2023-pre/main.asm 3.14K
  • vc3-2023-pre/vc3_alx 125B

file_id.diz

vc3_alx (or name it the same as anther entries)

Author: alx/brainwave
Category: Christmas Challenge
System: x86, Linux
Language: Assembler
Len source code: 3216 bytes
Len exe file: 125 bytes
Len code only: 89 bytes
Instructions:

Run binary:
1. Open any linux terminal in any linux distribution.
2. Install unzip if you don't have them: `sudo apt-get install unzip` (or `sudo yum install unzip`, etc)
3. Unzip an archive: `unzip -q vc3_alx.zip`
4. Go to unpacked folder: `cd vc3_alx`
5. And run compiled binary: `./vc3_alx`

Compile and run source file:
1. Install nasm: `sudo apt-get install nasm` (or `sudo yum install nasm`, etc)
2. Or compile and run: `nasm -f bin -o vc3_alx main.asm; chmod +x vc3_alx; ./vc3_alx`

Description:
The output routines works like a pixel shaders: calls the same code for each symbol to count what will be printed.
Overall mechanics is quite simple: cycles and basic mathematics commands using simple i386/x86 instructions. The binary
header here is tinyest as I can do it at this moment. It's don't allow to write in memory any bite except machine stack.
Comments:
About 20 years ago or so I have coded some demoscene stuff for ZX-Spectrum. Now I decided to made by fist work for x86
architecture under Linux.