apple1js/tapes/lunar_lander.js
Will Scullin 41dbf0b420
First commit to github.
Based on original webpage version, modified to use
webpack and babel.
2019-09-04 20:03:11 -07:00

230 lines
12 KiB
JavaScript

/*
C100R
0300.09B8R
300R
*/
/*globals tapes: true */
tapes['Lunar Lander'] = {
script: 'C100R\n0300.09B8R\n300R\n',
tracks: [[ // 0300.09B8
0x20, 0x00, 0x04, 0x20, 0x00, 0x04, 0x20, 0x71,
0x06, 0x20, 0x00, 0x04, 0xA9, 0x00, 0x85, 0x00,
0x85, 0x01, 0x85, 0x05, 0x85, 0x08, 0x85, 0x09,
0xA9, 0x05, 0x85, 0x02, 0xA9, 0x50, 0x85, 0x04,
0xA9, 0x20, 0x85, 0x06, 0xA9, 0x01, 0x85, 0x07,
0x20, 0x00, 0x04, 0x20, 0x72, 0x07, 0x20, 0x00,
0x04, 0x20, 0x12, 0x06, 0x24, 0x08, 0x10, 0x10,
0x24, 0x05, 0x30, 0x12, 0x20, 0x00, 0x04, 0x20,
0x31, 0x08, 0xA9, 0x00, 0x85, 0x0A, 0xF0, 0x06,
0x20, 0x00, 0x05, 0x20, 0x2E, 0x05, 0x20, 0x58,
0x05, 0xA5, 0x04, 0xD0, 0x04, 0xA9, 0x00, 0x85,
0x09, 0x20, 0xB7, 0x05, 0x20, 0xF7, 0x05, 0xA5,
0x02, 0xF0, 0x03, 0x4C, 0x2E, 0x03, 0xA5, 0x01,
0xF0, 0x03, 0x4C, 0x2E, 0x03, 0x20, 0x00, 0x04,
0x20, 0x35, 0x04, 0x20, 0x00, 0x04, 0x20, 0x12,
0x06, 0x20, 0x00, 0x04, 0x20, 0x00, 0x04, 0xA5,
0x04, 0xF0, 0x14, 0xC9, 0x03, 0x90, 0x10, 0xC9,
0x07, 0x90, 0x06, 0x20, 0x06, 0x09, 0x4C, 0x9A,
0x03, 0x20, 0xA9, 0x08, 0x4C, 0x9A, 0x03, 0x20,
0x71, 0x08, 0x20, 0x00, 0x04, 0x20, 0x00, 0x04,
0x20, 0x43, 0x09, 0x20, 0x15, 0x04, 0xC9, 0x59,
0xF0, 0x0C, 0x20, 0x00, 0x04, 0x20, 0x00, 0x04,
0x20, 0x9A, 0x09, 0x4C, 0x1F, 0xFF, 0x4C, 0x09,
0x03, 0xA9, 0x0D, 0x20, 0xEF, 0xFF, 0xA9, 0x0A,
0x20, 0xEF, 0xFF, 0x60, 0xA9, 0x20, 0x20, 0xEF,
0xFF, 0x60, 0xAD, 0xAD, 0x12, 0xD0, 0x10, 0xFB,
0xAD, 0x10, 0xD0, 0x29, 0x7F, 0x20, 0xEF, 0xFF,
0x60, 0x49, 0x30, 0xC9, 0x0A, 0x10, 0x06, 0x4C,
0xE8, 0x03, 0xFA, 0x90, 0x03, 0x29, 0x0F, 0x60,
0xA9, 0xFF, 0x60, 0x00, 0x10, 0x38, 0x88, 0x03,
0x00, 0x00, 0x08, 0x01, 0x80, 0x08, 0x20, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x1C, 0xC4, 0x00,
0x48, 0xA9, 0x0D, 0x20, 0xEF, 0xFF, 0xA9, 0x0A,
0x20, 0xEF, 0xFF, 0x68, 0x60, 0x48, 0xA9, 0x20,
0x20, 0xEF, 0xFF, 0x68, 0x60, 0xAD, 0x11, 0xD0,
0x10, 0xFB, 0xAD, 0x10, 0xD0, 0x29, 0x7F, 0x20,
0xEF, 0xFF, 0x60, 0x49, 0x30, 0xC9, 0x0A, 0x30,
0x06, 0x4C, 0x32, 0x04, 0xFA, 0x90, 0x03, 0x29,
0x0F, 0x60, 0xA9, 0x99, 0x60, 0x20, 0x00, 0x04,
0x20, 0x53, 0x08, 0x20, 0x00, 0x04, 0x60, 0xA5,
0x06, 0x85, 0x0A, 0xA9, 0xFF, 0x85, 0x08, 0x60,
0x05, 0x00, 0xAA, 0xAE, 0x01, 0x00, 0x00, 0x00,
0xA9, 0x8D, 0xA2, 0x18, 0x20, 0xEF, 0xFF, 0xCA,
0xD0, 0xFA, 0x60, 0x00, 0x60, 0xFF, 0xFF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41,
0x52, 0x20, 0x4C, 0x41, 0x4E, 0x44, 0x45, 0x52,
0x0D, 0x0D, 0x0A, 0x4D, 0x49, 0x4E, 0x55, 0x53,
0x20, 0x56, 0x45, 0x4C, 0x4F, 0x43, 0x49, 0x54,
0x59, 0x20, 0x28, 0x2D, 0x29, 0x20, 0x4D, 0x45,
0x41, 0x4E, 0x53, 0x20, 0x44, 0x4F, 0x57, 0x4E,
0x57, 0x41, 0x52, 0x44, 0x0D, 0x4D, 0x4F, 0x56,
0x45, 0x4D, 0x45, 0x4E, 0x54, 0x0D, 0x0D, 0x50,
0x4C, 0x55, 0x53, 0x20, 0x20, 0x56, 0x45, 0x4C,
0x4F, 0x43, 0x49, 0x54, 0x59, 0x20, 0x28, 0x2B,
0x29, 0x20, 0x4D, 0x45, 0x41, 0x4E, 0x53, 0x20,
0x55, 0x50, 0x57, 0x41, 0x52, 0x44, 0x20, 0x4D,
0x4F, 0x56, 0x45, 0x4D, 0x45, 0x4E, 0x54, 0x0D,
0x0A, 0x0A, 0x4D, 0x41, 0x58, 0x49, 0x4D, 0x55,
0x4D, 0x20, 0x42, 0x55, 0x52, 0x4E, 0x20, 0x49,
0x53, 0x20, 0x33, 0x30, 0x20, 0x55, 0x4E, 0x49,
0x54, 0x53, 0x2F, 0x53, 0x45, 0x43, 0x2E, 0x20,
0x20, 0x28, 0x42, 0x55, 0x52, 0x4E, 0x20, 0x4D,
0x41, 0x59, 0x20, 0x42, 0x45, 0x20, 0x41, 0x4E,
0x59, 0x20, 0x49, 0x4E, 0x54, 0x45, 0x47, 0x45,
0x52, 0x20, 0x46, 0x52, 0x4F, 0x4D, 0x20, 0x30,
0x20, 0x54, 0x4F, 0x20, 0x33, 0x30, 0x29, 0x0D,
0x0D, 0x41, 0x20, 0x42, 0x55, 0x52, 0x4E, 0x20,
0x4F, 0x46, 0x20, 0x35, 0x20, 0x55, 0x4E, 0x49,
0x54, 0x53, 0x2F, 0x53, 0x45, 0x43, 0x20, 0x49,
0x53, 0x20, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52,
0x45, 0x44, 0x20, 0x54, 0x4F, 0x0D, 0x43, 0x41,
0x4E, 0x43, 0x45, 0x4C, 0x20, 0x47, 0x52, 0x41,
0x56, 0x49, 0x54, 0x59, 0x2E, 0x0D, 0x0D, 0x0A,
0x47, 0x4F, 0x4F, 0x44, 0x20, 0x4C, 0x55, 0x43,
0x4B, 0x21, 0xA9, 0x85, 0x8D, 0x04, 0x06, 0xA9,
0x07, 0x8D, 0x05, 0x06, 0xA9, 0x80, 0x8D, 0x0A,
0x06, 0x20, 0x01, 0x06, 0x60, 0x43, 0x4F, 0x4E,
0x54, 0x52, 0x4F, 0x4C, 0x20, 0x54, 0x4F, 0x20,
0x4C, 0x55, 0x4E, 0x41, 0x52, 0x20, 0x4D, 0x4F,
0x44, 0x55, 0x4C, 0x45, 0x3A, 0x0D, 0x0A, 0x42,
0x45, 0x47, 0x49, 0x4E, 0x20, 0x4C, 0x41, 0x4E,
0x44, 0x49, 0x4E, 0x47, 0x20, 0x50, 0x52, 0x4F,
0x43, 0x45, 0x44, 0x55, 0x52, 0x45, 0x0D, 0x0D,
0x0D, 0x0A, 0x20, 0x54, 0x49, 0x4D, 0x45, 0x20,
0x20, 0x48, 0x45, 0x49, 0x47, 0x48, 0x54, 0x20,
0x56, 0x45, 0x4C, 0x4F, 0x43, 0x49, 0x54, 0x59,
0x20, 0x46, 0x55, 0x45, 0x4C, 0x20, 0x55, 0x4E,
0x49, 0x54, 0x53, 0x20, 0x20, 0x42, 0x55, 0x52,
0x4E, 0x0D, 0x0A, 0x28, 0x53, 0x45, 0x43, 0x53,
0x29, 0x20, 0x28, 0x46, 0x45, 0x45, 0x54, 0x29,
0x20, 0x28, 0x46, 0x54, 0x2F, 0x53, 0x45, 0x43,
0x29, 0x20, 0x20, 0x52, 0x45, 0x4D, 0x41, 0x49,
0x4E, 0x49, 0x4E, 0x47, 0x0D, 0x0A, 0x00, 0x00,
0x00, 0x00, 0x00, 0x20, 0x28, 0x46, 0x45, 0x45,
0x54, 0x29, 0x00, 0x00, 0x00, 0x00, 0x20, 0x20,
0x28, 0x46, 0x54, 0x2F, 0x53, 0x45, 0x43, 0x29,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20,
0x52, 0x45, 0x4D, 0x41, 0x49, 0x4E, 0x49, 0x4E,
0x47, 0xA9, 0x48, 0x8D, 0x04, 0x06, 0xA9, 0x08,
0x8D, 0x05, 0x06, 0xA9, 0x0A, 0x8D, 0x0A, 0x06,
0x20, 0x01, 0x06, 0xA9, 0xFF, 0x85, 0x05, 0x60,
0x4F, 0x55, 0x54, 0x20, 0x4F, 0x46, 0x20, 0x46,
0x55, 0x45, 0x4C, 0xA9, 0x66, 0x8D, 0x04, 0x06,
0xA9, 0x08, 0x8D, 0x05, 0x06, 0xA9, 0x0A, 0x8D,
0x0A, 0x06, 0x20, 0x01, 0x06, 0x60, 0x4F, 0x4E,
0x20, 0x54, 0x48, 0x45, 0x20, 0x4D, 0x4F, 0x4F,
0x4E, 0xA9, 0x84, 0x8D, 0x04, 0x06, 0xA9, 0x08,
0x8D, 0x05, 0x06, 0xA9, 0x24, 0x8D, 0x0A, 0x06,
0x20, 0x01, 0x06, 0x60, 0x50, 0x45, 0x52, 0x46,
0x45, 0x43, 0x54, 0x20, 0x4C, 0x41, 0x4E, 0x44,
0x49, 0x4E, 0x47, 0x21, 0x07, 0x07, 0x07, 0x07,
0x0D, 0x0A, 0x43, 0x4F, 0x4E, 0x47, 0x52, 0x41,
0x54, 0x55, 0x4C, 0x41, 0x54, 0x49, 0x4F, 0x4E,
0x53, 0xA9, 0xBC, 0x8D, 0x04, 0x06, 0xA9, 0x08,
0x8D, 0x05, 0x06, 0xA9, 0x49, 0x8D, 0x0A, 0x06,
0x20, 0x01, 0x06, 0x60, 0x57, 0x45, 0x4C, 0x4C,
0x2C, 0x20, 0x59, 0x4F, 0x55, 0x20, 0x47, 0x4F,
0x54, 0x20, 0x44, 0x4F, 0x57, 0x4E, 0x20, 0x41,
0x4C, 0x49, 0x56, 0x45, 0x2C, 0x20, 0x42, 0x55,
0x54, 0x20, 0x44, 0x41, 0x4D, 0x41, 0x47, 0x45,
0x20, 0x54, 0x4F, 0x20, 0x59, 0x4F, 0x55, 0x52,
0x20, 0x43, 0x52, 0x41, 0x46, 0x54, 0x20, 0x0A,
0x48, 0x41, 0x53, 0x20, 0x53, 0x54, 0x52, 0x41,
0x4E, 0x44, 0x45, 0x44, 0x20, 0x59, 0x4F, 0x55,
0x20, 0x48, 0x45, 0x52, 0x45, 0x21, 0xA9, 0x19,
0x8D, 0x04, 0x06, 0xA9, 0x09, 0x8D, 0x05, 0x06,
0xA9, 0x28, 0x8D, 0x0A, 0x06, 0x20, 0x01, 0x06,
0x60, 0x59, 0x4F, 0x55, 0x20, 0x4A, 0x55, 0x53,
0x54, 0x20, 0x43, 0x52, 0x45, 0x41, 0x4D, 0x45,
0x44, 0x20, 0x41, 0x20, 0x32, 0x39, 0x20, 0x4D,
0x45, 0x47, 0x41, 0x42, 0x55, 0x43, 0x4B, 0x20,
0x4C, 0x41, 0x4E, 0x44, 0x45, 0x52, 0x21, 0x07,
0x07, 0x07, 0x07, 0xA9, 0x56, 0x8D, 0x04, 0x06,
0xA9, 0x09, 0x8D, 0x05, 0x06, 0xA9, 0x10, 0x8D,
0x0A, 0x06, 0x20, 0x01, 0x06, 0x60, 0x54, 0x52,
0x59, 0x20, 0x41, 0x47, 0x41, 0x49, 0x4E, 0x3F,
0x20, 0x20, 0x28, 0x59, 0x2F, 0x4E, 0x29, 0x20,
0x00, 0x04, 0xA9, 0x7D, 0x8D, 0x04, 0x06, 0xA9,
0x09, 0x8D, 0x05, 0x06, 0xA9, 0x1C, 0x8D, 0x0A,
0x06, 0x20, 0x01, 0x06, 0x60, 0x42, 0x55, 0x52,
0x4E, 0x20, 0x4F, 0x55, 0x54, 0x20, 0x4F, 0x46,
0x20, 0x52, 0x41, 0x4E, 0x47, 0x45, 0x2E, 0x20,
0x20, 0x20, 0x20, 0x20, 0x42, 0x55, 0x52, 0x4E,
0x20, 0x3F, 0xA9, 0xAD, 0x8D, 0x04, 0x06, 0xA9,
0x09, 0x8D, 0x05, 0x06, 0xA9, 0x0A, 0x8D, 0x0A,
0x06, 0x20, 0x01, 0x06, 0x60, 0x43, 0x4F, 0x4E,
0x54, 0x52, 0x4F, 0x4C, 0x20, 0x4F, 0x55, 0x54,
0xFF
]]
};