Home » Archimedes archive » Acorn User » AU 1998-07.adf » Regulars » StarInfo/Brobecker/Hanoi254

StarInfo/Brobecker/Hanoi254

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1998-07.adf » Regulars
Filename: StarInfo/Brobecker/Hanoi254
Read OK:
File size: 00FE bytes
Load address: 0000
Exec address: 0000
File contents
   10MODE9:OFF:FORc=1TO15:COLOURc,c*17,85,0:NEXT:a=256:DIMa(2):a()=a,0,0:FORc=1TO15:PROCa(c,0,a-c*16,c*8):NEXT:PROCb(15,0,1,2):END
   20DEFPROCb(b,d,e,f):IFNOTbTHEN
   30PROCb(b-1,d,f,e):PROCa(0,d,a(d),b*8):a(d)-=16:a(e)+=16:PROCa(b,e,a(e),b*8):PROCb(b-1,f,e,d)
   40ENDIF
   50ENDPROC
   60DEFPROCa(h,x,y,g):GCOLh:RECTANGLEFILLx*a+a-g,y,2*g,8:ENDPROC

a�9:�:�c=1�15:�c,c*17,85,0:�:a=256:�a(2):a()=a,0,0:�c=1�15:�a(c,0,a-c*16,c*8):�:�b(15,0,1,2):�
��b(b,d,e,f):�b�
S�b(b-1,d,f,e):�a(0,d,a(d),b*8):a(d)-=16:a(e)+=16:�a(b,e,a(e),b*8):�b(b-1,f,e,d)
(�
2�
<)��a(h,x,y,g):�h:ȓȐx*a+a-g,y,2*g,8:�
�
00000000  0d 00 0a 61 eb 39 3a 87  3a e3 63 3d 31 b8 31 35  |...a.9:.:.c=1.15|
00000010  3a fb 63 2c 63 2a 31 37  2c 38 35 2c 30 3a ed 3a  |:.c,c*17,85,0:.:|
00000020  61 3d 32 35 36 3a de 61  28 32 29 3a 61 28 29 3d  |a=256:.a(2):a()=|
00000030  61 2c 30 2c 30 3a e3 63  3d 31 b8 31 35 3a f2 61  |a,0,0:.c=1.15:.a|
00000040  28 63 2c 30 2c 61 2d 63  2a 31 36 2c 63 2a 38 29  |(c,0,a-c*16,c*8)|
00000050  3a ed 3a f2 62 28 31 35  2c 30 2c 31 2c 32 29 3a  |:.:.b(15,0,1,2):|
00000060  e0 0d 00 14 15 dd f2 62  28 62 2c 64 2c 65 2c 66  |.......b(b,d,e,f|
00000070  29 3a e7 ac 62 8c 0d 00  1e 53 f2 62 28 62 2d 31  |):..b....S.b(b-1|
00000080  2c 64 2c 66 2c 65 29 3a  f2 61 28 30 2c 64 2c 61  |,d,f,e):.a(0,d,a|
00000090  28 64 29 2c 62 2a 38 29  3a 61 28 64 29 2d 3d 31  |(d),b*8):a(d)-=1|
000000a0  36 3a 61 28 65 29 2b 3d  31 36 3a f2 61 28 62 2c  |6:a(e)+=16:.a(b,|
000000b0  65 2c 61 28 65 29 2c 62  2a 38 29 3a f2 62 28 62  |e,a(e),b*8):.b(b|
000000c0  2d 31 2c 66 2c 65 2c 64  29 0d 00 28 05 cd 0d 00  |-1,f,e,d)..(....|
000000d0  32 05 e1 0d 00 3c 29 dd  f2 61 28 68 2c 78 2c 79  |2....<)..a(h,x,y|
000000e0  2c 67 29 3a e6 68 3a c8  93 c8 90 78 2a 61 2b 61  |,g):.h:....x*a+a|
000000f0  2d 67 2c 79 2c 32 2a 67  2c 38 3a e1 0d ff        |-g,y,2*g,8:...|
000000fe