scene.org File Archive

File download

<root>­/­parties­/­2021­/­lovebyte21­/­nanogame/daedaloff.zip

File size:
2 723 bytes (2.66K)
File date:
2021-03-15 20:28:25
Download count:
all-time: 31

Preview

  • daedaloff.prg 255B
  • file_id.diz 1.33K

file_id.diz

DAEDALOFF v1.0 - Daedaloff is a 255 byte game made for the Lovebyte 2021 Nanogame compo.

You find yourself in a maze, you can't find the exit. You see some strange buttons, 
pressing them gives a sound as if some walls are moving...
Can you escape the maze?

The maze was inspired by the famous Oneliner "10 PRINT CHR$(205.5+RND(1));:GOTO 10" but 
has a more sophisticated generator that also adds crossroads to the maze. The sprite 
costumes are created at the zeropage at $40 and $80.  Button placement is done by the 
same PRNG with different setting.

Sounds are realized by copying a fitting sequence of program code bytes from ROM over 
the SID registers.

The line number of the BASIC stub has three constants encoded for writing the right 
number of lines and for placing the sprite. Since the BASIC line number is copied to 
zeropage address $39/$3a after start this saves some bytes for varaibles setup.

The program is saved with a start address of $0802 (!) and has 253 bytes until 
(including) address $8fe. The relinking routing from Commodore BASIC recovers the byte 
in $0801. The program needs to be loaded with ",8,1". Together with the two-byte 
loading address the file has 255 byte. The program requires two blocks on a Commodore-
formatted disk, because one block can only store 254 bytes of payload and we have 255.