SMAL32 (rev 9/03) INIT for game of life 09:10:15 Page 1 Tue Nov 30 2004 1 TITLE INIT for game of life 2 3 ; This file conforms to the specs for MP4; 4 ; it consists of a stream pairs of signed bytes, 5 ; each pair gives deltaX and deltaY for the coordinates 6 ; of the next spot on the screen to set, relative to the 7 ; previous spot. The end is signified by zero, zero. 8 9 INT INIT 10 +000000: 00 00 11 INIT: B 0, 0 ; start in screen center +000002: FD FD 12 B -3, -3 ; go left and up 3 +000004: 01 01 13 B 1, 1 ; draw line down and right +000006: 01 01 14 B 1, 1 +000008: 02 02 15 B 2, 2 +00000A: 01 01 16 B 1, 1 +00000C: 01 01 17 B 1, 1 +00000E: FF 00 18 B -1, 0 ; go left one +000010: FF FF 19 B -1, -1 ; draw line up and left +000012: FF FF 20 B -1, -1 +000014: FF FF 21 B -1, -1 +000016: FF FF 22 B -1, -1 +000018: FF FF 23 B -1, -1 +00001A: FF FF 24 B -1, -1 +00001C: 02 00 25 B 2, 0 ; go right two +00001E: 01 01 26 B 1, 1 ; draw line down and right +000020: 01 01 27 B 1, 1 +000022: 01 01 28 B 1, 1 +000024: 01 01 29 B 1, 1 +000026: 01 01 30 B 1, 1 +000028: 01 01 31 B 1, 1 +00002A: 00 00 32 B 0, 0 ; end of file 33 END no errors