mirror of
https://github.com/whscullin/apple1js.git
synced 2024-11-26 17:49:44 +00:00
31 lines
1019 B
JavaScript
31 lines
1019 B
JavaScript
// Cellular Automaton
|
|
// https://mathworld.wolfram.com/CellularAutomaton.html
|
|
// By Will Scullin
|
|
|
|
|
|
/*
|
|
C100R
|
|
300.36FR
|
|
300R
|
|
*/
|
|
|
|
tapes['Cellular Automaton'] = {
|
|
script: 'C100R\n0300.036FR\n300R\n',
|
|
tracks: [[ // 300.036F
|
|
0xa9, 0x5a, 0xa2, 0x00, 0x4a, 0xa8, 0xa9, 0x00,
|
|
0x6a, 0x9d, 0x75, 0x03, 0x98, 0xe8, 0xe0, 0x08,
|
|
0xd0, 0xf2, 0xa9, 0x8d, 0x20, 0xef, 0xff, 0xa2,
|
|
0x00, 0xbd, 0x4d, 0x03, 0x30, 0x04, 0xa9, 0x20,
|
|
0x10, 0x02, 0xa9, 0x58, 0x20, 0xef, 0xff, 0xe8,
|
|
0xe0, 0x27, 0x90, 0xed, 0xad, 0x4d, 0x03, 0x0a,
|
|
0xa9, 0x00, 0x2a, 0xa2, 0xff, 0xe8, 0xa8, 0xbd,
|
|
0x4e, 0x03, 0x0a, 0x98, 0x2a, 0xa8, 0xb9, 0x75,
|
|
0x03, 0x9d, 0x4d, 0x03, 0x98, 0x29, 0x03, 0xe0,
|
|
0x27, 0x90, 0xea, 0xb0, 0xb3, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
|
]]
|
|
};
|