-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
4,161 additions
and
4,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
dist | ||
json/disks/index.js | ||
node_modules | ||
submodules | ||
tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
js/roms | ||
submodules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,71 @@ | ||
import { ReadonlyUint8Array } from '../../types'; | ||
|
||
export const BOOTSTRAP_ROM_16 = new Uint8Array([ | ||
0xa2, 0x20, 0xa0, 0x00, 0xa2, 0x03, 0x86, 0x3c, 0x8a, 0x0a, 0x24, 0x3c, | ||
0xf0, 0x10, 0x05, 0x3c, 0x49, 0xff, 0x29, 0x7e, 0xb0, 0x08, 0x4a, 0xd0, | ||
0xfb, 0x98, 0x9d, 0x56, 0x03, 0xc8, 0xe8, 0x10, 0xe5, 0x20, 0x58, 0xff, | ||
0xba, 0xbd, 0x00, 0x01, 0x0a, 0x0a, 0x0a, 0x0a, 0x85, 0x2b, 0xaa, 0xbd, | ||
0x8e, 0xc0, 0xbd, 0x8c, 0xc0, 0xbd, 0x8a, 0xc0, 0xbd, 0x89, 0xc0, 0xa0, | ||
0x50, 0xbd, 0x80, 0xc0, 0x98, 0x29, 0x03, 0x0a, 0x05, 0x2b, 0xaa, 0xbd, | ||
0x81, 0xc0, 0xa9, 0x56, 0x20, 0xa8, 0xfc, 0x88, 0x10, 0xeb, 0x85, 0x26, | ||
0x85, 0x3d, 0x85, 0x41, 0xa9, 0x08, 0x85, 0x27, 0x18, 0x08, 0xbd, 0x8c, | ||
0xc0, 0x10, 0xfb, 0x49, 0xd5, 0xd0, 0xf7, 0xbd, 0x8c, 0xc0, 0x10, 0xfb, | ||
0xc9, 0xaa, 0xd0, 0xf3, 0xea, 0xbd, 0x8c, 0xc0, 0x10, 0xfb, 0xc9, 0x96, | ||
0xf0, 0x09, 0x28, 0x90, 0xdf, 0x49, 0xad, 0xf0, 0x25, 0xd0, 0xd9, 0xa0, | ||
0x03, 0x85, 0x40, 0xbd, 0x8c, 0xc0, 0x10, 0xfb, 0x2a, 0x85, 0x3c, 0xbd, | ||
0x8c, 0xc0, 0x10, 0xfb, 0x25, 0x3c, 0x88, 0xd0, 0xec, 0x28, 0xc5, 0x3d, | ||
0xd0, 0xbe, 0xa5, 0x40, 0xc5, 0x41, 0xd0, 0xb8, 0xb0, 0xb7, 0xa0, 0x56, | ||
0x84, 0x3c, 0xbc, 0x8c, 0xc0, 0x10, 0xfb, 0x59, 0xd6, 0x02, 0xa4, 0x3c, | ||
0x88, 0x99, 0x00, 0x03, 0xd0, 0xee, 0x84, 0x3c, 0xbc, 0x8c, 0xc0, 0x10, | ||
0xfb, 0x59, 0xd6, 0x02, 0xa4, 0x3c, 0x91, 0x26, 0xc8, 0xd0, 0xef, 0xbc, | ||
0x8c, 0xc0, 0x10, 0xfb, 0x59, 0xd6, 0x02, 0xd0, 0x87, 0xa0, 0x00, 0xa2, | ||
0x56, 0xca, 0x30, 0xfb, 0xb1, 0x26, 0x5e, 0x00, 0x03, 0x2a, 0x5e, 0x00, | ||
0x03, 0x2a, 0x91, 0x26, 0xc8, 0xd0, 0xee, 0xe6, 0x27, 0xe6, 0x3d, 0xa5, | ||
0x3d, 0xcd, 0x00, 0x08, 0xa6, 0x2b, 0x90, 0xdb, 0x4c, 0x01, 0x08, 0x00, | ||
0x00, 0x00, 0x00, 0x00, | ||
0xa2,0x20,0xa0,0x00,0xa2,0x03,0x86,0x3c, | ||
0x8a,0x0a,0x24,0x3c,0xf0,0x10,0x05,0x3c, | ||
0x49,0xff,0x29,0x7e,0xb0,0x08,0x4a,0xd0, | ||
0xfb,0x98,0x9d,0x56,0x03,0xc8,0xe8,0x10, | ||
0xe5,0x20,0x58,0xff,0xba,0xbd,0x00,0x01, | ||
0x0a,0x0a,0x0a,0x0a,0x85,0x2b,0xaa,0xbd, | ||
0x8e,0xc0,0xbd,0x8c,0xc0,0xbd,0x8a,0xc0, | ||
0xbd,0x89,0xc0,0xa0,0x50,0xbd,0x80,0xc0, | ||
0x98,0x29,0x03,0x0a,0x05,0x2b,0xaa,0xbd, | ||
0x81,0xc0,0xa9,0x56,0x20,0xa8,0xfc,0x88, | ||
0x10,0xeb,0x85,0x26,0x85,0x3d,0x85,0x41, | ||
0xa9,0x08,0x85,0x27,0x18,0x08,0xbd,0x8c, | ||
0xc0,0x10,0xfb,0x49,0xd5,0xd0,0xf7,0xbd, | ||
0x8c,0xc0,0x10,0xfb,0xc9,0xaa,0xd0,0xf3, | ||
0xea,0xbd,0x8c,0xc0,0x10,0xfb,0xc9,0x96, | ||
0xf0,0x09,0x28,0x90,0xdf,0x49,0xad,0xf0, | ||
0x25,0xd0,0xd9,0xa0,0x03,0x85,0x40,0xbd, | ||
0x8c,0xc0,0x10,0xfb,0x2a,0x85,0x3c,0xbd, | ||
0x8c,0xc0,0x10,0xfb,0x25,0x3c,0x88,0xd0, | ||
0xec,0x28,0xc5,0x3d,0xd0,0xbe,0xa5,0x40, | ||
0xc5,0x41,0xd0,0xb8,0xb0,0xb7,0xa0,0x56, | ||
0x84,0x3c,0xbc,0x8c,0xc0,0x10,0xfb,0x59, | ||
0xd6,0x02,0xa4,0x3c,0x88,0x99,0x00,0x03, | ||
0xd0,0xee,0x84,0x3c,0xbc,0x8c,0xc0,0x10, | ||
0xfb,0x59,0xd6,0x02,0xa4,0x3c,0x91,0x26, | ||
0xc8,0xd0,0xef,0xbc,0x8c,0xc0,0x10,0xfb, | ||
0x59,0xd6,0x02,0xd0,0x87,0xa0,0x00,0xa2, | ||
0x56,0xca,0x30,0xfb,0xb1,0x26,0x5e,0x00, | ||
0x03,0x2a,0x5e,0x00,0x03,0x2a,0x91,0x26, | ||
0xc8,0xd0,0xee,0xe6,0x27,0xe6,0x3d,0xa5, | ||
0x3d,0xcd,0x00,0x08,0xa6,0x2b,0x90,0xdb, | ||
0x4c,0x01,0x08,0x00,0x00,0x00,0x00,0x00 | ||
]) as ReadonlyUint8Array; | ||
|
||
export const BOOTSTRAP_ROM_13 = new Uint8Array([ | ||
0xa2, 0x20, 0xa0, 0x00, 0xa9, 0x03, 0x85, 0x3c, 0x18, 0x88, 0x98, 0x24, | ||
0x3c, 0xf0, 0xf5, 0x26, 0x3c, 0x90, 0xf8, 0xc0, 0xd5, 0xf0, 0xed, 0xca, | ||
0x8a, 0x99, 0x00, 0x08, 0xd0, 0xe6, 0x20, 0x58, 0xff, 0xba, 0xbd, 0x00, | ||
0x01, 0x48, 0x0a, 0x0a, 0x0a, 0x0a, 0x85, 0x2b, 0xaa, 0xa9, 0xd0, 0x48, | ||
0xbd, 0x8e, 0xc0, 0xbd, 0x8c, 0xc0, 0xbd, 0x8a, 0xc0, 0xbd, 0x89, 0xc0, | ||
0xa0, 0x50, 0xbd, 0x80, 0xc0, 0x98, 0x29, 0x03, 0x0a, 0x05, 0x2b, 0xaa, | ||
0xbd, 0x81, 0xc0, 0xa9, 0x56, 0x20, 0xa8, 0xfc, 0x88, 0x10, 0xeb, 0xa9, | ||
0x03, 0x85, 0x27, 0xa9, 0x00, 0x85, 0x26, 0x85, 0x3d, 0x18, 0x08, 0xbd, | ||
0x8c, 0xc0, 0x10, 0xfb, 0x49, 0xd5, 0xd0, 0xf7, 0xbd, 0x8c, 0xc0, 0x10, | ||
0xfb, 0xc9, 0xaa, 0xd0, 0xf3, 0xea, 0xbd, 0x8c, 0xc0, 0x10, 0xfb, 0xc9, | ||
0xb5, 0xf0, 0x09, 0x28, 0x90, 0xdf, 0x49, 0xad, 0xf0, 0x1f, 0xd0, 0xd9, | ||
0xa0, 0x03, 0x84, 0x2a, 0xbd, 0x8c, 0xc0, 0x10, 0xfb, 0x2a, 0x85, 0x3c, | ||
0xbd, 0x8c, 0xc0, 0x10, 0xfb, 0x25, 0x3c, 0x88, 0xd0, 0xee, 0x28, 0xc5, | ||
0x3d, 0xd0, 0xbe, 0xb0, 0xbd, 0xa0, 0x9a, 0x84, 0x3c, 0xbc, 0x8c, 0xc0, | ||
0x10, 0xfb, 0x59, 0x00, 0x08, 0xa4, 0x3c, 0x88, 0x99, 0x00, 0x08, 0xd0, | ||
0xee, 0x84, 0x3c, 0xbc, 0x8c, 0xc0, 0x10, 0xfb, 0x59, 0x00, 0x08, 0xa4, | ||
0x3c, 0x91, 0x26, 0xc8, 0xd0, 0xef, 0xbc, 0x8c, 0xc0, 0x10, 0xfb, 0x59, | ||
0x00, 0x08, 0xd0, 0x8d, 0x60, 0xa8, 0xa2, 0x00, 0xb9, 0x00, 0x08, 0x4a, | ||
0x3e, 0xcc, 0x03, 0x4a, 0x3e, 0x99, 0x03, 0x85, 0x3c, 0xb1, 0x26, 0x0a, | ||
0x0a, 0x0a, 0x05, 0x3c, 0x91, 0x26, 0xc8, 0xe8, 0xe0, 0x33, 0xd0, 0xe4, | ||
0xc6, 0x2a, 0xd0, 0xde, 0xcc, 0x00, 0x03, 0xd0, 0x03, 0x4c, 0x01, 0x03, | ||
0x4c, 0x2d, 0xff, 0xff, | ||
0xa2,0x20,0xa0,0x00,0xa9,0x03,0x85,0x3c, | ||
0x18,0x88,0x98,0x24,0x3c,0xf0,0xf5,0x26, | ||
0x3c,0x90,0xf8,0xc0,0xd5,0xf0,0xed,0xca, | ||
0x8a,0x99,0x00,0x08,0xd0,0xe6,0x20,0x58, | ||
0xff,0xba,0xbd,0x00,0x01,0x48,0x0a,0x0a, | ||
0x0a,0x0a,0x85,0x2b,0xaa,0xa9,0xd0,0x48, | ||
0xbd,0x8e,0xc0,0xbd,0x8c,0xc0,0xbd,0x8a, | ||
0xc0,0xbd,0x89,0xc0,0xa0,0x50,0xbd,0x80, | ||
0xc0,0x98,0x29,0x03,0x0a,0x05,0x2b,0xaa, | ||
0xbd,0x81,0xc0,0xa9,0x56,0x20,0xa8,0xfc, | ||
0x88,0x10,0xeb,0xa9,0x03,0x85,0x27,0xa9, | ||
0x00,0x85,0x26,0x85,0x3d,0x18,0x08,0xbd, | ||
0x8c,0xc0,0x10,0xfb,0x49,0xd5,0xd0,0xf7, | ||
0xbd,0x8c,0xc0,0x10,0xfb,0xc9,0xaa,0xd0, | ||
0xf3,0xea,0xbd,0x8c,0xc0,0x10,0xfb,0xc9, | ||
0xb5,0xf0,0x09,0x28,0x90,0xdf,0x49,0xad, | ||
0xf0,0x1f,0xd0,0xd9,0xa0,0x03,0x84,0x2a, | ||
0xbd,0x8c,0xc0,0x10,0xfb,0x2a,0x85,0x3c, | ||
0xbd,0x8c,0xc0,0x10,0xfb,0x25,0x3c,0x88, | ||
0xd0,0xee,0x28,0xc5,0x3d,0xd0,0xbe,0xb0, | ||
0xbd,0xa0,0x9a,0x84,0x3c,0xbc,0x8c,0xc0, | ||
0x10,0xfb,0x59,0x00,0x08,0xa4,0x3c,0x88, | ||
0x99,0x00,0x08,0xd0,0xee,0x84,0x3c,0xbc, | ||
0x8c,0xc0,0x10,0xfb,0x59,0x00,0x08,0xa4, | ||
0x3c,0x91,0x26,0xc8,0xd0,0xef,0xbc,0x8c, | ||
0xc0,0x10,0xfb,0x59,0x00,0x08,0xd0,0x8d, | ||
0x60,0xa8,0xa2,0x00,0xb9,0x00,0x08,0x4a, | ||
0x3e,0xcc,0x03,0x4a,0x3e,0x99,0x03,0x85, | ||
0x3c,0xb1,0x26,0x0a,0x0a,0x0a,0x05,0x3c, | ||
0x91,0x26,0xc8,0xe8,0xe0,0x33,0xd0,0xe4, | ||
0xc6,0x2a,0xd0,0xde,0xcc,0x00,0x03,0xd0, | ||
0x03,0x4c,0x01,0x03,0x4c,0x2d,0xff,0xff | ||
]) as ReadonlyUint8Array; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,37 @@ | ||
import { ReadonlyUint8Array } from '../../types'; | ||
|
||
export const rom: ReadonlyUint8Array = new Uint8Array([ | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x18, 0x00, 0x00, 0x00, 0x01, | ||
0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, | ||
0x26, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x60, 0x60, 0x60, | ||
0x60, 0x60, 0x60, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd6, | ||
0x00, 0x00, 0x00, 0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x38,0x00,0x18, | ||
0x00,0x00,0x00,0x01,0x20,0x00,0x00,0x00, | ||
0x00,0x00,0x20,0x21,0x22,0x23,0x24,0x25, | ||
0x26,0x27,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x60, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | ||
0x00,0x00,0x00,0xd6,0x00,0x00,0x00,0x00, | ||
]); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.