scene.org File Archive

File download

<root>­/­parties­/­2024­/­vccc24­/­christmas_challenge/anderszapac_vic20_basic_146b_vc3-2024.zip

File size:
25 474 bytes (24.88K)
File date:
2024-12-29 14:13:04
Download count:
all-time: 0

Preview

  • vcc24-vic-v1-code.png 20.59K
  • vcc24-vic-v1-result.png 5.55K
  • vcc24-vic-v1.bas 181B
  • vcc24-vic-v1.diz 653B
  • vcc24-vic-v1.prg 148B

file_id.diz

Author: Anders Carlsson <anders.carlsson@sfks.se>
System: Commodore VIC-20
Language: BASIC V2 (default)
Source code ASCII: 181 characters (with control characters)
Executable size: 146 characters (excluding 2 byte load address)
Size after loading: 144 bytes
Size after execution: 186 bytes

How to run:

1. Start a VIC-20 emulator like xvic/VICE in unexpanded mode
2. Drop PRG file into the emulator
3. Program loads and autostarts

The program first plots the top three characters, then draws three horizontal
and three vertical lines. The variable K is used to detect where the plus signs
should end up, essentially a MOD function.