mirror of
https://github.com/whscullin/apple1js.git
synced 2024-11-29 05:49:20 +00:00
164 lines
8.2 KiB
JavaScript
164 lines
8.2 KiB
JavaScript
/*!
|
|
* MIT License
|
|
*
|
|
* Copyright (c) 2020 Jeff Jetton
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
* copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
* SOFTWARE.
|
|
*/
|
|
|
|
/*
|
|
* C100R
|
|
* 0300.06FFR
|
|
* 0300R
|
|
*/
|
|
|
|
tapes['Shut the Box'] = {
|
|
script: 'C100R\n0300.06FFR\n0300R\n',
|
|
tracks: [[
|
|
0xD8, 0xA2, 0xFF, 0x9A, 0xE8, 0x86, 0x12, 0xA9,
|
|
0x0F, 0x85, 0x18, 0xA9, 0x05, 0x85, 0x19, 0x20,
|
|
0xC9, 0x04, 0x20, 0xE8, 0x04, 0xD0, 0x0B, 0xA9,
|
|
0x44, 0x85, 0x18, 0xA9, 0x05, 0x85, 0x19, 0x20,
|
|
0xC9, 0x04, 0xA2, 0x08, 0xA9, 0x09, 0x85, 0x17,
|
|
0x95, 0x00, 0x38, 0xE9, 0x01, 0xCA, 0x10, 0xF8,
|
|
0xA9, 0x45, 0x85, 0x16, 0x20, 0xDA, 0x04, 0xA2,
|
|
0x00, 0xB5, 0x00, 0x20, 0xE2, 0x04, 0xE8, 0xE0,
|
|
0x09, 0xD0, 0xF6, 0xA5, 0x17, 0xD0, 0x2C, 0x20,
|
|
0xDA, 0x04, 0x20, 0xDA, 0x04, 0xA9, 0x2A, 0xA2,
|
|
0x28, 0x20, 0x08, 0x05, 0xA9, 0x20, 0xA2, 0x5C,
|
|
0x20, 0x08, 0x05, 0xA9, 0x3D, 0x85, 0x18, 0xA9,
|
|
0x06, 0x85, 0x19, 0x20, 0xCC, 0x04, 0xA9, 0x2A,
|
|
0xA2, 0x28, 0x20, 0x08, 0x05, 0x20, 0xDA, 0x04,
|
|
0x4C, 0x07, 0x04, 0xA9, 0x1C, 0x85, 0x18, 0xA9,
|
|
0x06, 0x85, 0x19, 0x20, 0xC9, 0x04, 0xA6, 0x12,
|
|
0xBD, 0xDC, 0x06, 0x85, 0x13, 0x4A, 0x4A, 0x4A,
|
|
0x4A, 0x85, 0x14, 0x20, 0xE2, 0x04, 0xA5, 0x16,
|
|
0xC9, 0x07, 0x30, 0x19, 0xA9, 0x26, 0x85, 0x18,
|
|
0xA9, 0x06, 0x85, 0x19, 0x20, 0xCC, 0x04, 0xA5,
|
|
0x13, 0x29, 0x0F, 0xAA, 0x20, 0xE2, 0x04, 0x8A,
|
|
0x18, 0x65, 0x14, 0x85, 0x14, 0x20, 0xDA, 0x04,
|
|
0xA0, 0x08, 0xB9, 0x00, 0x00, 0xC9, 0x2F, 0xF0,
|
|
0x10, 0x98, 0xAA, 0xA5, 0x14, 0xD5, 0x00, 0x30,
|
|
0x05, 0x38, 0xF5, 0x00, 0xF0, 0x62, 0xCA, 0x10,
|
|
0xF4, 0x88, 0x10, 0xE6, 0xA9, 0x72, 0x85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20, 0x4A, 0x45,
|
|
0x54, 0x54, 0x4F, 0x4E, 0x0D, 0x0D, 0x0D, 0x49,
|
|
0x4E, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x49,
|
|
0x4F, 0x4E, 0x53, 0x20, 0x28, 0x59, 0x2F, 0x4E,
|
|
0x29, 0x3F, 0x20, 0x00, 0x45, 0x4E, 0x54, 0x45,
|
|
0x52, 0x20, 0x4F, 0x4E, 0x45, 0x20, 0x4F, 0x52,
|
|
0x20, 0x4D, 0x4F, 0x52, 0x45, 0x20, 0x41, 0x56,
|
|
0x41, 0x49, 0x4C, 0x41, 0x42, 0x4C, 0x45, 0x20,
|
|
0x44, 0x49, 0x47, 0x49, 0x54, 0x53, 0x20, 0x54,
|
|
0x4F, 0x0D, 0x52, 0x45, 0x4D, 0x4F, 0x56, 0x45,
|
|
0x20, 0x54, 0x48, 0x45, 0x4D, 0x2E, 0x20, 0x20,
|
|
0x44, 0x49, 0x47, 0x49, 0x54, 0x28, 0x53, 0x29,
|
|
0x20, 0x50, 0x49, 0x43, 0x4B, 0x45, 0x44, 0x20,
|
|
0x4D, 0x55, 0x53, 0x54, 0x20, 0x48, 0x41, 0x56,
|
|
0x45, 0x20, 0x53, 0x41, 0x4D, 0x45, 0x20, 0x54,
|
|
0x4F, 0x54, 0x41, 0x4C, 0x20, 0x41, 0x53, 0x20,
|
|
0x44, 0x49, 0x43, 0x45, 0x0D, 0x0D, 0x4F, 0x4E,
|
|
0x4C, 0x59, 0x20, 0x31, 0x20, 0x44, 0x49, 0x45,
|
|
0x20, 0x52, 0x4F, 0x4C, 0x4C, 0x45, 0x44, 0x20,
|
|
0x49, 0x46, 0x20, 0x52, 0x45, 0x4D, 0x41, 0x49,
|
|
0x4E, 0x49, 0x4E, 0x47, 0x20, 0x44, 0x49, 0x47,
|
|
0x49, 0x54, 0x53, 0x0D, 0x54, 0x4F, 0x54, 0x41,
|
|
0x4C, 0x20, 0x36, 0x20, 0x4F, 0x52, 0x20, 0x4C,
|
|
0x45, 0x53, 0x53, 0x0D, 0x0D, 0x47, 0x41, 0x4D,
|
|
0x45, 0x20, 0x45, 0x4E, 0x44, 0x53, 0x20, 0x49,
|
|
0x46, 0x20, 0x4E, 0x4F, 0x20, 0x56, 0x41, 0x4C,
|
|
0x49, 0x44, 0x20, 0x43, 0x48, 0x4F, 0x49, 0x43,
|
|
0x45, 0x20, 0x4C, 0x45, 0x46, 0x54, 0x0D, 0x0D,
|
|
0x52, 0x45, 0x4D, 0x4F, 0x56, 0x45, 0x20, 0x45,
|
|
0x56, 0x45, 0x52, 0x59, 0x20, 0x44, 0x49, 0x47,
|
|
0x49, 0x54, 0x20, 0x54, 0x4F, 0x20, 0x57, 0x49,
|
|
0x4E, 0x21, 0x0D, 0x00, 0x59, 0x4F, 0x55, 0x20,
|
|
0x52, 0x4F, 0x4C, 0x4C, 0x20, 0x00, 0x20, 0x26,
|
|
0x20, 0x00, 0x53, 0x4F, 0x52, 0x52, 0x59, 0x2C,
|
|
0x20, 0x54, 0x52, 0x59, 0x20, 0x41, 0x47, 0x41,
|
|
0x49, 0x4E, 0x3A, 0x20, 0x00, 0x43, 0x4F, 0x4E,
|
|
0x47, 0x52, 0x41, 0x54, 0x55, 0x4C, 0x41, 0x54,
|
|
0x49, 0x4F, 0x4E, 0x53, 0x21, 0x0D, 0x0D, 0x0D,
|
|
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
|
|
0x20, 0x20, 0x59, 0x4F, 0x55, 0x27, 0x56, 0x45,
|
|
0x20, 0x53, 0x48, 0x55, 0x54, 0x20, 0x54, 0x48,
|
|
0x45, 0x20, 0x42, 0x4F, 0x58, 0x21, 0x0D, 0x0D,
|
|
0x0D, 0x00, 0x0D, 0x4E, 0x4F, 0x20, 0x4D, 0x4F,
|
|
0x52, 0x45, 0x20, 0x4D, 0x4F, 0x56, 0x45, 0x53,
|
|
0x0D, 0x0D, 0x00, 0x20, 0x44, 0x49, 0x47, 0x49,
|
|
0x54, 0x53, 0x20, 0x4C, 0x45, 0x46, 0x54, 0x20,
|
|
0x54, 0x4F, 0x54, 0x41, 0x4C, 0x49, 0x4E, 0x47,
|
|
0x20, 0x00, 0x4F, 0x4F, 0x4F, 0x48, 0x2E, 0x2E,
|
|
0x2E, 0x20, 0x53, 0x4F, 0x20, 0x43, 0x4C, 0x4F,
|
|
0x53, 0x45, 0x21, 0x0D, 0x0D, 0x4A, 0x55, 0x53,
|
|
0x54, 0x20, 0x4F, 0x4E, 0x45, 0x20, 0x44, 0x49,
|
|
0x47, 0x49, 0x54, 0x20, 0x4C, 0x45, 0x46, 0x54,
|
|
0x21, 0x00, 0x0D, 0x50, 0x4C, 0x41, 0x59, 0x20,
|
|
0x41, 0x47, 0x41, 0x49, 0x4E, 0x20, 0x28, 0x59,
|
|
0x2F, 0x4E, 0x29, 0x3F, 0x20, 0x00, 0x42, 0x59,
|
|
0x45, 0x21, 0x0D, 0x00, 0x11, 0x22, 0x33, 0x44,
|
|
0x55, 0x66, 0x12, 0x23, 0x34, 0x45, 0x56, 0x61,
|
|
0x13, 0x24, 0x35, 0x46, 0x51, 0x62, 0x14, 0x25,
|
|
0x36, 0x41, 0x52, 0x63, 0x15, 0x26, 0x31, 0x42,
|
|
0x53, 0x64, 0x16, 0x21, 0x32, 0x43, 0x54, 0x65
|
|
]]
|
|
};
|