scene.org File Archive

File download

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

File size:
5 652 bytes (5.52K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 2

Screenshot (by Demozoo)

Screenshot

Preview

  • bbcsnow 374B
  • bbcsnow.inf 43B
  • file_id.diz 1.56K
  • result.png 569B
  • source.png 1.47K
  • source.txt 2.57K
  • xbbcsnow 80B
  • xbbcsnow.inf 35B

file_id.diz

SNOW

Author: regregex
Category: Christmas Challenge
System: BBC Micro A/B/Master, Acorn Electron
Language: 6502 assembler (MASM)
Len source code: 374 bytes
Len exe file:     80 bytes
Len code only:    80 bytes
Instructions:
  Install and open BeebEm ( http://www.mkw.me.uk/beebem/ ).
  Click File -> Disc Options -> New Disc 0, enter bbcsnow.ssd
  Click Edit -> Import Files to Disc -> Disc 0, select xbbcsnow.inf
  At the BASIC prompt, type */X.BBCSNOW and press RETURN.

  To reproduce the screenshots:
  Click Hardware -> BBC Model -> BBC Master 128
  Enter the following:
  *INSERT 9
  *CONFIGURE FILE 9
  *CONFIGURE MODE 4
  Press Ctrl+F12 (CTRL+BREAK), releasing Ctrl last.
  Then follow the instructions above.
  To show the editor screen, import bbcsnow.inf as above, then enter:
  *EDIT BBCSNOW
  Shift+F5, 4, RETURN hides the function key display.
  Shift+F10 (SHIFT+F0) hides newline markers.

Description: The program displays a specific snowflake pattern on the
screen.
It selects display MODE 4, which automatically clears the screen.
For each character cell in a rectangle left of the centre line it prints
an asterisk, if marked on one of two copies of a bitmap, or if lying on
an axis; otherwise a space is printed.  The characters chosen are pushed
on the stack and popped in reverse order to print the right half of the
pattern.  The program waits for a keypress before exiting.

Comments:
Suitable for an SBC running BASIC if selection of MODE 4 is removed.
Delete values ,4,22 from the source or patch the binary with bytes
&FF, &FF.