scene.org File Archive

File download

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

File size:
1 081 804 bytes (1.03M)
File date:
2022-12-30 11:32:13
Download count:
all-time: 8

Preview

  • solarbreeze_superpet_apl_vc3-22/file_id.txt 1.26K
  • solarbreeze_superpet_apl_vc3-22/sp9000lang.d80 520.75K
  • solarbreeze_superpet_apl_vc3-22/vccc22superpet1.JPG 87.50K
  • solarbreeze_superpet_apl_vc3-22/vccc22superpet2.JPG 96.16K
  • solarbreeze_superpet_apl_vc3-22/vccc22superpetapl.pdf 912.91K

file_id.diz

Author: solarbreeze
Category: Christmas Challenge
System: Commodore SuperPET
Language: Waterloo microAPL v1.0 interpreter
Length of source code: 162 Bytes

Instructions: Load a Vice xpet session launched as follows:  
xpet +sound -truedrive -superpet -cpu6809 -model SuperPET -drive8type 8050             -9 sp9000lang.d80

Type "APL" at the Waterloo microSystems menu prompt to launch Waterloo microAPL and then load the workspace using
)LOAD DISK/1.VCCC22

The APL workspace variables can be listed with )VARS and array variables inspected by typing their names into the interpreter, such as A, C, or K.


Description of how the code works:
Place a line of data into array A, concatenate the rest of the data and reshape into a 9x9 array as C. D is vertical rotation, the upper half is now built but with an overbuilt middle. Next, horizontal rotation, and to handle the overbuilt centers we twice cut in half while dropping the extra middle lines then catting back together. Evaluation of the expression prints the array. 


Files:
file_id.diz
vccc22superpet1.jpg (code ready to run)
vccc22superpet2.jpg (after hitting return)
sp9000lang.d80 (Waterloo languages disk with APL and saved workspace)
vccc22superpetapl.pdf (documentation of APL code and process)