mirror of
https://github.com/whscullin/apple1js.git
synced 2024-12-04 21:49:51 +00:00
73 lines
3.4 KiB
JavaScript
73 lines
3.4 KiB
JavaScript
// Game of Life (life.txt by John Conway and Larry Nelson)
|
|
// Submitted by Tom Owad on August 15, 2004 - 5:16pm
|
|
// Apple I | 1970 | Games
|
|
// The classic Game of Life. Written in machine code.
|
|
// http://ddi.cs.uni-potsdam.de/HyFISCH/Produzieren/lis_projekt/proj_gamelife/ConwayScientificAmerican.htm
|
|
|
|
/*
|
|
C100R
|
|
2000.3FFFR
|
|
2000R
|
|
*/
|
|
|
|
tapes['Life'] = {
|
|
script: 'C100R\n2000.21B7R\n2000R\n',
|
|
tracks: [[ // 2000.3FFFR
|
|
0xA2, 0x00, 0xA9, 0xA0, 0x9D, 0x00, 0x24, 0x9D,
|
|
0x00, 0x25, 0x9D, 0x00, 0x26, 0x9D, 0x00, 0x27,
|
|
0xE8, 0xD0, 0xF1, 0xBD, 0x80, 0x21, 0x20, 0xEF,
|
|
0xFF, 0xE8, 0xE0, 0x38, 0xD0, 0xF5, 0x20, 0x02,
|
|
0x21, 0xC9, 0x8D, 0xD0, 0xF9, 0x20, 0x3F, 0x21,
|
|
0x29, 0x3F, 0x69, 0x20, 0x85, 0xF9, 0xA0, 0x00,
|
|
0x20, 0x3F, 0x21, 0x29, 0x03, 0x18, 0x69, 0x24,
|
|
0x85, 0xF1, 0xA5, 0xFA, 0x85, 0xF0, 0xA9, 0xAA,
|
|
0x91, 0xF0, 0xC6, 0xF9, 0xD0, 0xEA, 0xA9, 0x24,
|
|
0x85, 0xF9, 0xA9, 0x40, 0x85, 0xF8, 0xA2, 0x27,
|
|
0xA9, 0xAD, 0x9D, 0xD8, 0x27, 0x9D, 0x40, 0x24,
|
|
0xCA, 0x10, 0xF7, 0xB1, 0xF8, 0x20, 0xEF, 0xFF,
|
|
0xE6, 0xF8, 0xD0, 0xF7, 0xE6, 0xF9, 0xA5, 0xF9,
|
|
0xC9, 0x28, 0xD0, 0xEF,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