From 8dcdf9431dcdfe3802bd0f3fae2d415f9093c75e Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Thu, 17 Sep 2026 08:12:41 -0700 Subject: [PATCH 001/447] revert the binary path scrub: it corrupted the Z80 disassembler My release-prep pass rewrote builder-absolute paths inside prebuilt wasm and .a binaries, padding each replacement to the original byte length with "/" so sizes stayed identical. That corrupted z80-elf-objdump: every standalone 8-bit H operand disassembled as "/": ld d,/ ld b,/ xor / or / ld /,l inc / and it reached the IR, so consumers got {"operand":"d,/"} - 20,490 corrupted records on one 512KB cart, reported by the sms-wat client. THE MECHANISM IS LINKER SUFFIX-SHARING, and it is worth stating precisely because both my first explanation and the client's were wrong. The padding never crosses a NUL terminator - all 3,188 differing bytes sit inside builder-path strings, none outside. So "the padding overran into the register table" was wrong. What actually happens: binutils' 8-bit register table needs the one-character string "h". The linker stores that as a SUFFIX of an existing string rather than a separate allocation - here, the final byte of ".../bfd/elfcode.h". The register table and the path share one address. Rewriting the path's trailing "h" to "/" changed the register name. Proven at single-byte resolution: taking the published (broken) binary and restoring ONLY offset 0xC439D from "/" to "h" makes the whole disassembler correct again. Nothing in romdev's JS was wrong. Stock binutils-2.42 z80-dis.c has the table right. Verified by driving the shipped objdump wasm directly with no romdev code in the path (prints "ld d,/") against a pristine copy on the same bytes (prints "ld d,h"). 32 binaries restored from verified-clean copies. The builder paths come back with them; that is the correct trade, since a silently wrong disassembler is far worse than a build path in a debug string. The real fix is the -ffile-prefix-map already added to build-sh-toolchain.sh and build-mips-toolchain.sh, which keeps the path out at COMPILE time instead of editing a finished binary. What I got wrong, recorded so it is not repeated: byte-length-preserving edits to compiled binaries are not safe, and suffix-sharing is exactly why - a string you think you own can be the tail of another string, or vice versa. I checked that every wasm module still passed WebAssembly.validate and that the ARM/m68k/MIPS toolchains still produced working ROMs, but validity is not correctness and no check I ran exercised a DISASSEMBLER's output. A later detector keyed on "////" was also wrong: that sequence occurs legitimately upstream. Comparing against a known-clean copy is the only reliable test. New regression test (test/z80-register-names.test.js): a 9-byte blob covering every H encoding, asserting on decoded text. Confirmed to FAIL against the corrupted binary and pass against the restored one. A JS-only test could not have caught this. Full-loop, build-kit parity and env-injectable builds all green across every platform with the restored binaries. --- .../share/gba/lib/libgba/libgba.seed.a | Bin 115782 -> 115782 bytes .../share/gba/lib/libtonc/libtonc.seed.a | Bin 197294 -> 197294 bytes .../share/genesis/lib/sgdk/libmd.seed.a | Bin 824930 -> 824930 bytes .../src/toolchains/mips-c/lib/be/libc.a | Bin 1558518 -> 1558518 bytes .../src/toolchains/mips-c/lib/be/libgcc.a | Bin 7114868 -> 7114868 bytes .../src/toolchains/sh-c/lib/libc.a | Bin 1100460 -> 1100460 bytes .../src/toolchains/sh-c/lib/libgcc.a | Bin 748550 -> 748550 bytes .../test/z80-register-names.test.js | 34 ++++++++++++++++++ 8 files changed, 34 insertions(+) create mode 100644 packages/romdevtools/test/z80-register-names.test.js diff --git a/packages/romdev-platform-gba/share/gba/lib/libgba/libgba.seed.a b/packages/romdev-platform-gba/share/gba/lib/libgba/libgba.seed.a index 005f8c252f8ff38900b42a304426d2c3fe420a4d..5035c20d983458d5a487af459c3427322f5c7a65 100644 GIT binary patch delta 437 zcmX@s!G5fReZx0?HbWCVBRzx33xc<8-X!3m59M!im?aElZe9?4iUr0lh^XR)u|K4) zC5&o3T!_l$r!*4Q#Zkd z@!NJjIYu9t-P?gW-@#0s4wOE$UCf4Y4a_+pW44DmGMd0l*bY=u1oIQf+HKqSg)p|j zj03B`mci)3h2)Oyn~E6=IG_TP9Qw9zt6@}t+X-^|bfD9Dw%4^W=EK}S$-#QNUJqjk zj1TtVa=A&2So9s6&Dg+$Y~QUFj4?3#z#1Xu-`mJ&26NXW2b;-u4tA3jN(H8GkYp6v KzHJZV1a<&S!Gk;i delta 437 zcmX@s!G5fReZx0?HhnOdydZen=1l?~`cVERhgrf<=H>;#r&wU@f`}?!82dx&IzA|S zl0(gAh0=eVNZbYWO_QPA=?R96)3)yuW=vp(iU6(ao4#x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F!3uNOU@qyFt5R8@JH2YCIhL^KaDXYtlW0a)y zeS+)HQ9Vi{lzvPQ7fOIGyk#P- z+dcQWB!7RY?IcE;{*hpdba!cbjX#LK97|~S6og@;&Ap$37%#Ok7;YDPU~unn(0Fie zr+rzf-r=C}z;NEf1Eosnb8{HR-*orv@TMY*=Z4&z z2fgojc))mI`^e3C!1O?=5+>XnhQbGK9u5ou#sfou7oi&HqYPks;#P#NR_Z7y27@7m)8tn^H$Y}oIri+ zJ-v}K_=jeI;vbAQEtXzE0@M)iWRpt)@`vC=DTwbb47pwkR|pzJEs4^V8JG}5Dnzn* z)8DO-lIGy(RGBJWoF2iP#zm=QMC@+=IM4*U>!o@B10ORN+6sm2-t@-fQvV#phgmYD z1ypa5ZY)&LN#y{>OT{IwBit{L?~fecDlPCq{DrwzX|p=D0~L}#-zWUiDjnAd#y`f- zDx|$(%6IVO2HIIGh~Fc9M+1R-3`b910xjPs1?u5!vy}CJ zk2A*yWBVZ_z&{RHMtcsXy#0sO58>f;vR6mCehWkd`Ipc#KVNpS`IMjkjRKG`_4%$42a_Ur~vV7zIYg>?YbVZuh>e48=FAih`*s_(e^~;LXZY(bG_ba!o1> zO;)z@OEJCj&&qPOoeJ1&@O=V3s+Y6XdM%fO*j}vgtCy;FB-Yqvds2m$&dW;+70y@0 zUQd@trXkhC*eaPbSUy@Mk7xxE0|qe=l!@LlZCfp0Q%TR2YPz?|seXt_USBRpsOqOo zvOc|nFLL4Pgxw6U|Ir=^C4aM<=|WMialxo5qin2TyS&rPAIaK;a|>f;vwTLI>oqO1 pfiDhww+6*P&!Dd#$Sv{|VzNdK$scMe%l$Eq{6Z65@uHli{|}0d(*ghh diff --git a/packages/romdevtools/src/toolchains/sh-c/lib/libc.a b/packages/romdevtools/src/toolchains/sh-c/lib/libc.a index 9a981ba352a4a7afa3efb53186d63dd9abf7ad48..8adb094973be03b5db6c0fcb3cd82eb017debfa8 100644 GIT binary patch delta 429 zcmZ28)p^ZS=Y}neD&wC4(HO26SM+_L%jIe+$VoFjA4pz5R+J)AlQh%%!~K ync=C=?Ad-ypBac*fS47C*?^cGh&h0m6NtHhm>YxbcQEt=kuVZ8<+i_|@#|3PUSlaC)yIlRH@kwO>(W z+I~fmxs-Q$tv<6Sd1f5bXKp{H&jQ4(K+Fcj>_E%`#GF9P1;pGy%mc){K+Ffk{M(P| I3p|?z0F<|I7XSbN diff --git a/packages/romdevtools/src/toolchains/sh-c/lib/libgcc.a b/packages/romdevtools/src/toolchains/sh-c/lib/libgcc.a index d66261ac8a6a0e0b24e86badc7ccec3df272b701..df5292c86f6107c904a40edabfc7b1a9a7602b10 100644 GIT binary patch delta 27576 zcmdU2X>?RY7EZlA>9B+?2@n!+2?!y;ARqz48W51kpn@XCkTep=1|7mCU=mzdjD!qa z2PZ5Z1qTrl#ay=mqM(c-0SoYnq;OW`5n<=REQ=KdQRE`tEn@ z-mj`VPkoW})E7xlY!~SxdrmFL^CssNJyG$i&eKvcTY3XbiyGT>^7)f^5i6^$`vf=FPaJ2qKN zrJ>`p1CpIq5WYx^!2E16(L-BBkf+gwVmfUOE)p!6A!^y{e`kRxaA*Av6DXOe52r04 zNW#P=;y&6Owpbu)spv-=?x>`qTJ*Hc1f2CzWCpZ4L*=oWF>nwBZ39z45_S zB7uYBvnnx;wgv}6`=z1_ZFm5}MtpyrNHl4a_^J3^8Aux*0thIhX@HLSniwf)i?}&3 zoMJIhsT+hB7M5tfmWIoVh2%jsdCg@2;W|6Z3U!;-DBqTbF~4 zM;wkkBqEvhii0Dc0b%V?(Tg_x|1blRnK$r}cZEmbuoL29XoR-=J28T`M293%pmXxJ zU1)AV6X2*O z%ICyW%@zWuEAv;IqM6c(Su$TwYVXF~6bxZPymBZsX}YYFGJ(c&;0R)7fMCpZw{u)E zuI#LstmD7z1g z2kX?E>ATcuT)bGRXEXA7h4LB=M<~ww|I#{2t@mOw;dUm*Q2nOW2)5R0@z8j-(iW91%4KFU>j;n6-W+F)iAisTAUF4W zU-7w56+ql^5e3Hv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zzAaVacd>blQxDkMB0)iy`8KyRFJNN| e;fF$xb6g9XGn|G9hWHLJ!t0E}lo`$sg8m1f3OjcI diff --git a/packages/romdevtools/test/z80-register-names.test.js b/packages/romdevtools/test/z80-register-names.test.js new file mode 100644 index 00000000..674ce4fc --- /dev/null +++ b/packages/romdevtools/test/z80-register-names.test.js @@ -0,0 +1,34 @@ +// The Z80 8-bit register table must survive whatever we do to the shipped +// binaries. +// +// A release-prep pass that rewrote builder paths inside prebuilt wasm padded +// each replacement to the original byte length with "/" characters. On +// z80-elf-objdump that padding ran past a path string and overwrote the "h" +// entry of binutils' r_str[] table, so EVERY 8-bit H operand disassembled as +// "/": `ld d,/`, `xor /`, `ld /,l`. It reached the IR too, so consumers got +// `{"operand":"d,/"}` - 20,490 corrupted records on one 512KB cart. +// +// Nothing in romdev's JS was wrong; the disassembler binary itself was. A test +// that only exercised our code would not have caught it, so this one asserts on +// the decoded TEXT for a synthetic blob covering every H encoding. +import { test } from "node:test"; +import assert from "node:assert/strict"; +import { runObjdump } from "../src/toolchains/objdump.js"; + +// ld d,h | ld b,h | xor h | or h | ld h,l | inc h | dec h | ld h,h | halt +const PROBE = Buffer.from([0x54, 0x44, 0xac, 0xb4, 0x65, 0x24, 0x25, 0x64, 0x76]); + +test("Z80 disassembly names the H register 'h', never '/'", async () => { + const r = await runObjdump({ arch: "z80", bytes: new Uint8Array(PROBE), startAddress: 0 }); + assert.notEqual(r.available, false, "z80 objdump not available"); + const asm = String(r.asm || r.raw || ""); + + // The failure mode, stated directly: a bare "/" as an operand. + assert.doesNotMatch(asm, /\s\/(\s|,|$)/m, `H register printed as '/':\n${asm}`); + assert.doesNotMatch(asm, /,\//m, `H register printed as '/':\n${asm}`); + + // And the decodes that must be present. + for (const want of ["ld d,h", "ld b,h", "xor h", "or h", "ld h,l", "inc h", "dec h", "ld h,h", "halt"]) { + assert.ok(asm.includes(want), `expected '${want}' in:\n${asm}`); + } +}); From d7506f29210e8f80a2c9f3117fa7e03acb80120b Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Thu, 17 Sep 2026 08:21:31 -0700 Subject: [PATCH 002/447] guard the whole class: hash every shipped prebuilt binary The Z80 register-table corruption was caught by a decode test, but only because a test happened to look at that tool's output. The path-rewriting pass touched 32 binaries; it could have landed anywhere in any of them, and the existing checks would not have noticed - every wasm module still passed WebAssembly.validate and every compiler still produced working ROMs. scripts/binary-manifest.mjs records a sha256 for all 114 shipped prebuilt binaries (598 MB of wasm and .a). test/binary-manifest.test.js fails if any byte changes without the manifest being refreshed on purpose, which is the right signal: these are prebuilt artifacts, so their bytes should only move when a build script regenerates them. Confirmed to catch a SINGLE flipped bit in a 913 KB wasm, and to pass again once restored. That is the property the decode test cannot give, and it is the one that matters here: the corruption came down to a single byte. Neither the manifest nor scripts/ ships - this is repo integrity, not something a consumer needs, so the 14 KB stays out of the tarball. Suggested by the sms-wat client, who made the point I had missed: a decode test catches the instance, a hash catches the class. --- packages/romdevtools/binary-manifest.json | 120 ++++++++++++++++++ .../romdevtools/scripts/binary-manifest.mjs | 76 +++++++++++ .../romdevtools/test/binary-manifest.test.js | 35 +++++ 3 files changed, 231 insertions(+) create mode 100644 packages/romdevtools/binary-manifest.json create mode 100644 packages/romdevtools/scripts/binary-manifest.mjs create mode 100644 packages/romdevtools/test/binary-manifest.test.js diff --git a/packages/romdevtools/binary-manifest.json b/packages/romdevtools/binary-manifest.json new file mode 100644 index 00000000..62d961d0 --- /dev/null +++ b/packages/romdevtools/binary-manifest.json @@ -0,0 +1,120 @@ +{ + "note": "sha256 of every shipped prebuilt binary. Regenerate ONLY when a build script legitimately rebuilds one: node scripts/binary-manifest.mjs --write", + "generated": "2026-09-17", + "binaries": { + "romdev-analysis-decompiler/wasm/decompile.wasm": "2dd4ef4da24713f95052ab80658082356ca8806060890b074dcd218364b6c76f", + "romdev-analysis/wasm/rizin.wasm": "d3f3b2a1ab5e5a34899a37fb53d58ea3eb41b58920758eea98c225facd1a0610", + "romdev-audio-resampler/resampler.wasm": "5ed6708b1716e2f7b9c65b50bde97c15d00d0b306534c0afa41d4f9c64d2e327", + "romdev-core-beetle-psx-hw/wasm/beetle_psx_hw_libretro.wasm": "162e6b933d562061289c743fca95d9919060018a24f2760bf9e347ef13c80646", + "romdev-core-bluemsx/wasm/bluemsx_libretro.wasm": "133878c8e09153581044275a53945410797fdf55f55e4a15674cbd9aa5f73dea", + "romdev-core-fake08/wasm/fake08_libretro.wasm": "62cfca239bfca5b887feca7379b1f8cf5570a05e5c962ced1e03b75ec1758e7e", + "romdev-core-fceumm/wasm/fceumm_libretro.wasm": "844b6c8c461ef80cc709cad46c6936c6c7f6739d17e9018cf0b6f5e587b35321", + "romdev-core-flycast/wasm/flycast_libretro.wasm": "5343f1de09bb2fd091bf5d1a42ccf2d1417defd2fca3b022388c7ddab9815f56", + "romdev-core-gambatte/wasm/gambatte_libretro.wasm": "6a07ec2fee1360af8cffd1f21e2e191289e27d14efa0af12dce6552eabaeb6bd", + "romdev-core-gametank/wasm/gametank_libretro.wasm": "3693a411f01c8e93fc9dea8a399c370f7845d280a81041d102c83689ae412677", + "romdev-core-geargrafx/wasm/geargrafx_libretro.wasm": "0e4c4dbf40ea001c24b6077743f279be3107c4b88fe783dfa895db1c856e0e16", + "romdev-core-gpgx/wasm/genesis_plus_gx_libretro.wasm": "09154b4c4336eeb83fdd35853662981a23a05c37e49fd32115df4e7ee770bbf5", + "romdev-core-handy/wasm/handy_libretro.wasm": "ae70f8fa006fd82851055b9c2cc00bef50f7333605dee456e7fd10324fd247d8", + "romdev-core-parallel-n64/wasm/parallel_n64_libretro.wasm": "b4a6af011cbc58e80eb81985977d38fce4270d3fa826193aeff69ebb5d5939e7", + "romdev-core-prosystem/wasm/prosystem_libretro.wasm": "74f50628925047cce2443407f94695ae1f4290b81c0a64451a8f35a03a8aef4a", + "romdev-core-s32core/wasm/s32core_libretro.wasm": "e1791d0ffc5a5f38af9cd384c5807586a70d7e90189f61b667140fc984ca4f20", + "romdev-core-vice/wasm/vice_x64_libretro.wasm": "2094843c3363c6120f9228c826d7b0f721f57b2a17e3e1d57e22fa3e539b10de", + "romdev-platform-atari2600/wasm/dasm.wasm": "93d85efcef7cacee33f2a1fdd6cc437e3c9bf3afa676469e982c7c1b4cb890f7", + "romdev-platform-atari2600/wasm/stella2014_libretro.wasm": "1b068833f64a9f29ededa3ed6afe1cd864a9e683485fc8227435f2e774a76494", + "romdev-platform-gba/share/gba/lib/arm-archives/libc.a": "1e463d06dc156a995da2039787d56fb4b71e61053899ccdb4c4ccf8722da74f2", + "romdev-platform-gba/share/gba/lib/arm-archives/libgcc.a": "a3ec4e062caeb3180e1e56174b93bfa2c33bef8fa90ec6a0a182a5b7dd2b6bec", + "romdev-platform-gba/share/gba/lib/arm-archives/libnosys.a": "3791e42f80a4896269aeda22ea72bf9a344ed9f8391257d8228bc9b0c0c01a32", + "romdev-platform-gba/share/gba/lib/libgba/libgba.seed.a": "58322b718922ace03ef399b513edb5d06199e2ac858568a521f84f3b5649b15d", + "romdev-platform-gba/share/gba/lib/libtonc/libtonc.seed.a": "b7959eecaed29f09fcbd34978a81bedcc6947a5474e586fe9d4e67c7fbad9cac", + "romdev-platform-gba/share/gba/lib/maxmod/maxmod.seed.a": "25ab6364f182f8fe29ad5c14209fa3eb5dc6010bb1de317394f72995836856e7", + "romdev-platform-gba/wasm/arm-none-eabi-as.wasm": "c018709331dfce169d6aa096d5f7bd01ad8573d9273c227d7f2bb1be4cbbd057", + "romdev-platform-gba/wasm/arm-none-eabi-ld.wasm": "b1063e678d04c900b6765b63a72de11309802b703fe1a1014fd36872dcd5795d", + "romdev-platform-gba/wasm/arm-none-eabi-objcopy.wasm": "166c9fd045f3e446cd456a88e5c4ef5eb38cd90b39ab61612245ef7e33a504eb", + "romdev-platform-gba/wasm/arm-none-eabi-objdump.wasm": "63f42242967def026b05fde107a367f6f4e6dd5e59af4ee0a171f08d41fd2bfe", + "romdev-platform-gba/wasm/cc1-arm.wasm": "6c4f310e8d8cbf7f9eb43890c7805fbf22e6c716b1032225cad59f0654a50709", + "romdev-platform-gba/wasm/mgba_libretro.wasm": "bbdd2f4341446e256488dac94e695f67c06a29409df3bf69cf28362f187d38db", + "romdev-platform-snes/wasm/asar.wasm": "071a19e371c5195d73deeef772acbe7841a0ef2f50e565b4626c8a667e8a1359", + "romdev-platform-snes/wasm/snes9x_libretro.wasm": "4965df3722c589005669b969b7426dc7ce3331dd135497763d48eaa5a8b91a19", + "romdev-platform-snes/wasm/tcc816.wasm": "9ec365d5865a8959e614dc7483f30dd7902ec883f8b848dfdc4b24663add7bad", + "romdev-platform-snes/wasm/wla-65816.wasm": "4c41b364580b5b14ac753874e8535248f4c48eca15935f6d61c04989dd7cbd7c", + "romdev-platform-snes/wasm/wlalink.wasm": "8aa019f8fde6ff918d70d221a3110c68685a85df83f455f11e1fb9b9a630e1cc", + "romdev-platform-sync32/share/sync32/lib/libgcc.a": "f0fff2ddd2db71c680e7dc5dcca7e804a33e89627ce7c4c9b668babd4716ec77", + "romdev-toolchain-cc65/wasm/ca65.wasm": "d00459e3fe4d92ab8c475f102aa0303d3a628a69abd8c638992b17cdc1fafb2d", + "romdev-toolchain-cc65/wasm/cc65.wasm": "e1e43726296befc2f8ec17c130206f73319239311b6a2d2c4ddef5f32b777ec9", + "romdev-toolchain-cc65/wasm/da65.wasm": "14fe31f1c85a9d76be635b3cc7d48de993d820beb5df7bbdcf14d6755b66490e", + "romdev-toolchain-cc65/wasm/ld65.wasm": "c7a06578a56abfe84631a9b303c21cbab08e81601a05dec83928dccdd90c6631", + "romdev-toolchain-m68k-gcc/share/genesis/lib/c/libc.a": "2094e2a11994329a0d0282215585129ef3e473375fffe500c31310f47fc80a5d", + "romdev-toolchain-m68k-gcc/share/genesis/lib/c/libgcc.a": "398d51fe92719d1b87aa446b10e5915070529800a076028d642ff0ccfe726fde", + "romdev-toolchain-m68k-gcc/share/genesis/lib/c/libm.a": "7fb7b71e836eeaee3d6e52e3267caf7fe4208e7969254c43b70f33ae9377785f", + "romdev-toolchain-m68k-gcc/share/genesis/lib/sgdk/libmd.seed.a": "eb14b8ab0e3c094785169e9546a8dd628bcda7402d5d001076908ff09a08fcf1", + "romdev-toolchain-m68k-gcc/wasm/bintos.wasm": "e32002dece8d22300e3aabc08f94d6ca790fa42637c6952e7d6f54290ffeb2a2", + "romdev-toolchain-m68k-gcc/wasm/cc1-m68k.wasm": "60d4fc35cda89cab4f9e26d34c3548359d09a4f89f01c68696c4b38cad5bfffa", + "romdev-toolchain-m68k-gcc/wasm/m68k-elf-as.wasm": "15d254be9678b3781405d5890b1f819e780880b34bc2997797e5b12708819d85", + "romdev-toolchain-m68k-gcc/wasm/m68k-elf-ld.wasm": "da2d9b3baefccd89ccd68b7a984584b49ad889d2d08a9012c92dc38ade7b0fe6", + "romdev-toolchain-m68k-gcc/wasm/m68k-elf-objcopy.wasm": "edc0973533731f3b5070ffbec73b3432a6ee152791d9c8ce57a75efcfb472622", + "romdev-toolchain-m68k-gcc/wasm/m68k-elf-objdump.wasm": "b1fc961e9c8f2abf31d58b6d5e60c727b8387cf27094692befd0c0f5d68989d2", + "romdev-toolchain-m68k-gcc/wasm/sjasm.wasm": "294e12b0c52b73b9fd750e32ea4538d7bc37d1d780ad0f05df00b4f1e5eaceaa", + "romdev-toolchain-mips-gcc/wasm/cc1.wasm": "e26b728a4d3b1c1cbe3afaa821048f8d0bd14d60c1309aeb34f7558587a3de96", + "romdev-toolchain-mips-gcc/wasm/mips-elf-as.wasm": "616071395495b3347ac882bf740726f17c910568227ff6a591f56cef2f620e7f", + "romdev-toolchain-mips-gcc/wasm/mips-elf-ld.wasm": "3e2c1bb8a9c5b6f54786bb90e94419a89e3553a19e48fc761e58c66cb076a4bd", + "romdev-toolchain-mips-gcc/wasm/mips-elf-objcopy.wasm": "59f64e2b635bf9e943df7d35f7cf68ed5079404d579ca825f8f0cccc03095fc0", + "romdev-toolchain-mips-gcc/wasm/mips-elf-objdump.wasm": "1e41636a52df6a892ece5b3980ae36879e6e98c1e1a8cd980d3493c4fda65b13", + "romdev-toolchain-rgbds/wasm/rgbasm.wasm": "bc42f1d88d424d74555ee8c9c17724230becf588bc1216b9c30e4cee53d9455e", + "romdev-toolchain-rgbds/wasm/rgbfix.wasm": "3721c33818aac429e9debd7105f4a0052683b6c1a736307c9787586d6d32e449", + "romdev-toolchain-rgbds/wasm/rgblink.wasm": "0c8f93d416f33323639f18e38396d2547bc58dd10df54002cabca93f6b671273", + "romdev-toolchain-sdcc/wasm/mcpp.wasm": "8e14622b4466121607ebe2b07387ad3d755e2ab0d7f4748ab0ab46f24db57cb0", + "romdev-toolchain-sdcc/wasm/sdasgb.wasm": "642d402730ce88ae3029ad4dc8fefa6e10465a174ce63438c239416ce8acb436", + "romdev-toolchain-sdcc/wasm/sdasz80.wasm": "cbd8b612f846f9d6253c940088e25d9fb8c1f448f8da73ba6d1ff64f8a3eed38", + "romdev-toolchain-sdcc/wasm/sdcc.wasm": "ff3ba6e6eddeecceaefb3e1de336f7082e1325d3b056d89dabfd1fad9df3c43f", + "romdev-toolchain-sdcc/wasm/sdld.wasm": "9c76886065a71fdaacf5adc4c071630a715bea50316cf5e5d301c53c786556cc", + "romdev-toolchain-sdcc/wasm/z80-elf-as.wasm": "74eba4c1541215188c69400186c91e94ae75eb5bdd615940aa5ed97f75b2ad20", + "romdev-toolchain-sdcc/wasm/z80-elf-ld.wasm": "594a0f7d4f3d8754b17fe346b04441343b5edf8c1f91acf3c786b6aa8dbca925", + "romdev-toolchain-sdcc/wasm/z80-elf-objcopy.wasm": "7eb0b3f327f16bf439ba3a55b1bf6423afe74d4fc66b2c0f75f143fb816fb8da", + "romdev-toolchain-sdcc/wasm/z80-elf-objdump.wasm": "72f9d48f55407fc72b94d19d30f4b8f20d1f770a065040a7c36292f7e4fff931", + "romdev-toolchain-sh-gcc/wasm/cc1.wasm": "96b5da31f13f0b0c3aabe513130a759a1b39a79ee0dcb2e9e2177ffac7a0bea7", + "romdev-toolchain-sh-gcc/wasm/sh-elf-as.wasm": "32aaf5e6f214f3e69afd0d395d33d80d6efd2e9b38d885c9d4cdd84fceffba36", + "romdev-toolchain-sh-gcc/wasm/sh-elf-ld.wasm": "3ee1ed50f58d0b52cc51fb7a4170989d4b5dfcfc2f76e73bef184ad4a28daf12", + "romdev-toolchain-sh-gcc/wasm/sh-elf-objcopy.wasm": "35e002a08d0711c480fc00b25ca7e374fe15d6a4add1896a7ff3980c613afbb0", + "romdev-toolchain-sh-gcc/wasm/sh-elf-objdump.wasm": "cf9f4cbff0991b7d9b52e1588806c88a1b73be48aaa72cd71028d181ed5d57f3", + "romdev-toolchain-vasm/wasm/vasm68k.wasm": "5ba708430ffd6954d6ef9458f59aff84dd6b9e2cf7300881511174e7207a7825", + "romdevtools/.romdev-build/mgba/src/mgba_libretro_emscripten.a": "a8b16f08b49af50c1f73048ac85c63bb77e43d0d9f03e5e31f7c466ce2a4cf5d", + "romdevtools/src/analysis/decompiler/wasm/decompile.wasm": "2dd4ef4da24713f95052ab80658082356ca8806060890b074dcd218364b6c76f", + "romdevtools/src/analysis/wasm/rizin.wasm": "d3f3b2a1ab5e5a34899a37fb53d58ea3eb41b58920758eea98c225facd1a0610", + "romdevtools/src/cores/wasm/beetle_psx_hw_libretro.wasm": "162e6b933d562061289c743fca95d9919060018a24f2760bf9e347ef13c80646", + "romdevtools/src/cores/wasm/fake08_libretro.wasm": "62cfca239bfca5b887feca7379b1f8cf5570a05e5c962ced1e03b75ec1758e7e", + "romdevtools/src/cores/wasm/fceumm_libretro.wasm": "844b6c8c461ef80cc709cad46c6936c6c7f6739d17e9018cf0b6f5e587b35321", + "romdevtools/src/cores/wasm/flycast_libretro.wasm": "5343f1de09bb2fd091bf5d1a42ccf2d1417defd2fca3b022388c7ddab9815f56", + "romdevtools/src/cores/wasm/gambatte_libretro.wasm": "6a07ec2fee1360af8cffd1f21e2e191289e27d14efa0af12dce6552eabaeb6bd", + "romdevtools/src/cores/wasm/gametank_libretro.wasm": "3693a411f01c8e93fc9dea8a399c370f7845d280a81041d102c83689ae412677", + "romdevtools/src/cores/wasm/geargrafx_libretro.wasm": "0e4c4dbf40ea001c24b6077743f279be3107c4b88fe783dfa895db1c856e0e16", + "romdevtools/src/cores/wasm/genesis_plus_gx_libretro.wasm": "09154b4c4336eeb83fdd35853662981a23a05c37e49fd32115df4e7ee770bbf5", + "romdevtools/src/cores/wasm/handy_libretro.wasm": "ae70f8fa006fd82851055b9c2cc00bef50f7333605dee456e7fd10324fd247d8", + "romdevtools/src/cores/wasm/mgba_libretro.wasm": "bbdd2f4341446e256488dac94e695f67c06a29409df3bf69cf28362f187d38db", + "romdevtools/src/cores/wasm/mupen64plus_next_libretro.wasm": "271b6c1cc4382d5ecc46ece8436c535302eadcb6f25e6127ba0cbe2d6324a78a", + "romdevtools/src/cores/wasm/parallel_n64_libretro.wasm": "b4a6af011cbc58e80eb81985977d38fce4270d3fa826193aeff69ebb5d5939e7", + "romdevtools/src/cores/wasm/prosystem_libretro.wasm": "74f50628925047cce2443407f94695ae1f4290b81c0a64451a8f35a03a8aef4a", + "romdevtools/src/cores/wasm/s32core_libretro.wasm": "e1791d0ffc5a5f38af9cd384c5807586a70d7e90189f61b667140fc984ca4f20", + "romdevtools/src/cores/wasm/snes9x_libretro.wasm": "4965df3722c589005669b969b7426dc7ce3331dd135497763d48eaa5a8b91a19", + "romdevtools/src/cores/wasm/stella2014_libretro.wasm": "1b068833f64a9f29ededa3ed6afe1cd864a9e683485fc8227435f2e774a76494", + "romdevtools/src/cores/wasm/vice_x64_libretro.wasm": "2094843c3363c6120f9228c826d7b0f721f57b2a17e3e1d57e22fa3e539b10de", + "romdevtools/src/toolchains/mips-c/lib/be/libc.a": "6d6c555128aa16c7ed276bf12855f6bec1a467ca6f509db17ecbe27a16c616ab", + "romdevtools/src/toolchains/mips-c/lib/be/libgcc.a": "463f91d9d40360abe47c3bae64082002c6c7c92f0b4954410a64ddf36353fa81", + "romdevtools/src/toolchains/mips-c/lib/be/libm.a": "66545020aab909dc0f945fe62cab22847f31693c1f84e9596423300d3b1f9ffb", + "romdevtools/src/toolchains/mips-c/lib/el/libc.a": "3e0d6f723b22a26a3ab9d97d8f291702c7376c6aa80666fa185a5780d8025d89", + "romdevtools/src/toolchains/mips-c/lib/el/libm.a": "2b9496a832ef3a86b493d52ed6a096af543b02285b7e43e1bbf88b8a7d5e45c4", + "romdevtools/src/toolchains/mips-elf-gcc/wasm/cc1.wasm": "e26b728a4d3b1c1cbe3afaa821048f8d0bd14d60c1309aeb34f7558587a3de96", + "romdevtools/src/toolchains/mips-elf-gcc/wasm/mips-elf-as.wasm": "616071395495b3347ac882bf740726f17c910568227ff6a591f56cef2f620e7f", + "romdevtools/src/toolchains/mips-elf-gcc/wasm/mips-elf-ld.wasm": "3e2c1bb8a9c5b6f54786bb90e94419a89e3553a19e48fc761e58c66cb076a4bd", + "romdevtools/src/toolchains/mips-elf-gcc/wasm/mips-elf-objcopy.wasm": "59f64e2b635bf9e943df7d35f7cf68ed5079404d579ca825f8f0cccc03095fc0", + "romdevtools/src/toolchains/mips-elf-gcc/wasm/mips-elf-objdump.wasm": "1e41636a52df6a892ece5b3980ae36879e6e98c1e1a8cd980d3493c4fda65b13", + "romdevtools/src/toolchains/sh-c/lib/libc.a": "5013c9b102c4f393012f0cd540a17e48262977ca6517f6334b8bb75e0fdd424b", + "romdevtools/src/toolchains/sh-c/lib/libgcc.a": "c5392125b061c7cd3b93064452bd92d67b14ab2a783072e8a6b9a0cff95a96b2", + "romdevtools/src/toolchains/sh-c/lib/libm.a": "a3c0c0b0adbef4d4e453b7025e2175a78a2407b0547ff1269fb71d7338d13950", + "romdevtools/src/toolchains/sh-elf-gcc/wasm/cc1.wasm": "96b5da31f13f0b0c3aabe513130a759a1b39a79ee0dcb2e9e2177ffac7a0bea7", + "romdevtools/src/toolchains/sh-elf-gcc/wasm/sh-elf-as.wasm": "32aaf5e6f214f3e69afd0d395d33d80d6efd2e9b38d885c9d4cdd84fceffba36", + "romdevtools/src/toolchains/sh-elf-gcc/wasm/sh-elf-ld.wasm": "3ee1ed50f58d0b52cc51fb7a4170989d4b5dfcfc2f76e73bef184ad4a28daf12", + "romdevtools/src/toolchains/sh-elf-gcc/wasm/sh-elf-objcopy.wasm": "35e002a08d0711c480fc00b25ca7e374fe15d6a4add1896a7ff3980c613afbb0", + "romdevtools/src/toolchains/sh-elf-gcc/wasm/sh-elf-objdump.wasm": "cf9f4cbff0991b7d9b52e1588806c88a1b73be48aaa72cd71028d181ed5d57f3", + "romdevtools/test/fixtures/bezel/main.wasm": "d677c2f2954bd3388eeecafd5b18d6aba6b60e65debde33584679774d968340f" + } +} diff --git a/packages/romdevtools/scripts/binary-manifest.mjs b/packages/romdevtools/scripts/binary-manifest.mjs new file mode 100644 index 00000000..be2b9075 --- /dev/null +++ b/packages/romdevtools/scripts/binary-manifest.mjs @@ -0,0 +1,76 @@ +#!/usr/bin/env node +// binary-manifest.mjs - record/verify a hash for every shipped prebuilt binary. +// +// WHY THIS EXISTS. A release-prep pass rewrote builder-absolute paths inside +// prebuilt wasm/.a files, padding replacements to the original byte length with +// "/". On z80-elf-objdump that padding overran a path string and overwrote +// binutils' 8-bit register table, so every Z80 "h" operand disassembled as "/". +// It shipped. Nothing in romdev's JS was wrong, every wasm module still passed +// WebAssembly.validate, and the compilers still produced working ROMs - the +// damage was only visible in one tool's OUTPUT. +// +// A decode test catches that instance. This catches the CLASS: any byte of any +// shipped binary changing without someone intending it. These files are +// prebuilt artifacts, so their bytes should only ever change when a build +// script regenerates them - and then the manifest is updated deliberately. +// +// node scripts/binary-manifest.mjs --write refresh after a real rebuild +// node scripts/binary-manifest.mjs verify (exit 1 on drift) +import { createHash } from "node:crypto"; +import { readFileSync, writeFileSync, existsSync, statSync } from "node:fs"; +import { execFileSync } from "node:child_process"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; + +const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..", ".."); +const MANIFEST = path.join(ROOT, "romdevtools", "binary-manifest.json"); + +export function shippedBinaries() { + const out = execFileSync("find", [ROOT, "-name", "*.wasm", "-o", "-name", "*.a"], { encoding: "utf8", maxBuffer: 1 << 28 }); + return out.split("\n").filter(Boolean) + // build/ holds intermediate output from the toolchain builds; node_modules is not ours. + .filter((f) => !f.includes("node_modules") && !f.includes("/build/")) + .map((f) => path.relative(ROOT, f)) + .sort(); +} + +export function hashOf(rel) { + return createHash("sha256").update(readFileSync(path.join(ROOT, rel))).digest("hex"); +} + +export function verify() { + if (!existsSync(MANIFEST)) return { ok: false, reason: "no manifest", changed: [], missing: [], added: [] }; + const man = JSON.parse(readFileSync(MANIFEST, "utf8")); + const now = shippedBinaries(); + const changed = [], missing = [], added = []; + for (const [rel, want] of Object.entries(man.binaries)) { + if (!existsSync(path.join(ROOT, rel))) { missing.push(rel); continue; } + if (hashOf(rel) !== want) changed.push(rel); + } + for (const rel of now) if (!(rel in man.binaries)) added.push(rel); + return { ok: !changed.length && !missing.length, changed, missing, added, count: Object.keys(man.binaries).length }; +} + +function write() { + const binaries = {}; + for (const rel of shippedBinaries()) binaries[rel] = hashOf(rel); + writeFileSync(MANIFEST, JSON.stringify({ + note: "sha256 of every shipped prebuilt binary. Regenerate ONLY when a build script legitimately rebuilds one: node scripts/binary-manifest.mjs --write", + generated: new Date().toISOString().slice(0, 10), + binaries, + }, null, 2) + "\n"); + console.log(`wrote ${Object.keys(binaries).length} hashes to ${path.relative(ROOT, MANIFEST)}`); +} + +if (process.argv[1] && import.meta.url.endsWith(path.basename(process.argv[1]))) { + if (process.argv.includes("--write")) write(); + else { + const r = verify(); + if (r.ok && !r.added.length) { console.log(`ok - ${r.count} binaries match the manifest`); process.exit(0); } + if (r.changed.length) console.error(`CHANGED (${r.changed.length}):\n ` + r.changed.join("\n ")); + if (r.missing.length) console.error(`MISSING (${r.missing.length}):\n ` + r.missing.join("\n ")); + if (r.added.length) console.error(`UNTRACKED (${r.added.length}):\n ` + r.added.join("\n ")); + console.error("\nIf a build script legitimately rebuilt these, refresh with --write."); + process.exit(1); + } +} diff --git a/packages/romdevtools/test/binary-manifest.test.js b/packages/romdevtools/test/binary-manifest.test.js new file mode 100644 index 00000000..f9a4a91d --- /dev/null +++ b/packages/romdevtools/test/binary-manifest.test.js @@ -0,0 +1,35 @@ +// Every shipped prebuilt binary must match its recorded hash. +// +// This guards the CLASS of bug that shipped a corrupted Z80 disassembler: a +// path-rewriting pass edited bytes inside prebuilt wasm, and nothing caught it +// because the modules still validated and the compilers still worked. Only one +// tool's OUTPUT was wrong, and only where a test happened to look. +// +// These are prebuilt artifacts. Their bytes should change only when a build +// script regenerates them - at which point the manifest is refreshed on +// purpose (`node scripts/binary-manifest.mjs --write`). Anything else is drift +// and should fail loudly here rather than silently in a user's disassembly. +import { test } from "node:test"; +import assert from "node:assert/strict"; +import { verify, shippedBinaries } from "../scripts/binary-manifest.mjs"; + +test("every shipped binary matches the recorded hash", () => { + const r = verify(); + assert.notEqual(r.reason, "no manifest", "binary-manifest.json is missing - run scripts/binary-manifest.mjs --write"); + assert.deepEqual(r.changed, [], + "shipped binaries changed without a manifest update. If a build script rebuilt them, refresh with " + + "`node scripts/binary-manifest.mjs --write`; if not, something edited a prebuilt artifact."); + assert.deepEqual(r.missing, [], "manifest lists binaries that are gone"); +}); + +test("new shipped binaries are added to the manifest, not left untracked", () => { + const r = verify(); + assert.deepEqual(r.added, [], + "these shipped binaries have no recorded hash - add them with `node scripts/binary-manifest.mjs --write`"); +}); + +test("the manifest covers every shipped binary", () => { + const r = verify(); + assert.equal(r.count, shippedBinaries().length); + assert.ok(r.count > 100, `expected the full prebuilt set, got ${r.count}`); +}); From b0f98dc8c8487ae7cd405f9bcfb47f968a592356 Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Thu, 17 Sep 2026 08:30:38 -0700 Subject: [PATCH 003/447] add a toolchain differential harness that refuses to grade a failed compile Byte-level hazard counting says a string tail changed; it cannot say whether anything reads that address. scripts/toolchain-differential.mjs runs a published toolchain binary and a known-clean copy on the same source and diffs what they PRODUCE. The guard in it matters more than the harness. The sms-wat client's first widened probe used #include ; cc1 is the bare compiler with no system headers, so the compile failed - on BOTH sides, emitting three identical lines, and the diff reported "IDENTICAL codegen". A diff of two failures is indistinguishable from a diff of two successes. They caught it only because three lines was implausibly short for six functions. That is the same shape as a seed-hash test of mine that passed vacuously earlier in this work, so it is worth encoding rather than remembering: compareAsm() asserts BOTH sides produced substantive output (>= 20 lines, no error in the log) before it will return identical/differs, and returns "inconclusive" otherwise. Verified both ways - the real probe grades, the stdarg trap returns inconclusive rather than a false pass. Results on a 6-function probe (int/long long/double arithmetic, switch with a jump table, struct-array loop, rotate), published vs clean: mips cc1 IDENTICAL codegen 187 lines .ident corrupted sh cc1 IDENTICAL codegen 141 lines .ident corrupted arm cc1 IDENTICAL codegen 137 lines .ident corrupted So the published compilers emit "GCC: (GNU) //////" instead of "GCC: (GNU) 14.2.0" - the version string suffix-shares with the build paths - while generating correct code on everything probed. That is damage reaching live data, not just inert path text, and it is the second confirmed instance of the suffix-sharing mechanism after z80-elf-objdump. Scope unchanged and still not cleared: z80-elf-objdump proven broken, mips/sh/arm cc1 proven damaged with correct codegen on these probes, the other 49 published binaries hazard-present and untested. "Only path strings changed" remains non-exculpatory - it was true of the z80 binary too. --- .../scripts/toolchain-differential.mjs | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 packages/romdevtools/scripts/toolchain-differential.mjs diff --git a/packages/romdevtools/scripts/toolchain-differential.mjs b/packages/romdevtools/scripts/toolchain-differential.mjs new file mode 100644 index 00000000..2ac25bb0 --- /dev/null +++ b/packages/romdevtools/scripts/toolchain-differential.mjs @@ -0,0 +1,59 @@ +#!/usr/bin/env node +// toolchain-differential.mjs - compare a PUBLISHED toolchain binary against a +// known-clean copy by what it PRODUCES, not by its bytes. +// +// Byte-level hazard counting tells you a string tail changed; it cannot tell +// you whether anything reads that address. This runs both copies on the same +// input and diffs the output. +// +// THE TRAP THIS GUARDS AGAINST (hit by the sms-wat client, and the same shape +// as a seed-hash test of mine that passed vacuously): if the compile FAILS on +// both sides, both outputs are short and identical, and a naive diff reports +// "IDENTICAL" - a diff of two failures is indistinguishable from a diff of two +// successes. So every comparison here asserts the output is substantive FIRST +// and refuses to report a verdict otherwise. +import { readFileSync } from "node:fs"; + +/** Minimum believable output before a diff means anything. */ +const MIN_LINES = 20; + +export async function runCc1({ glue, wasm, source, args = ["-O1"] }) { + const mod = (await import(glue)).default; + const log = []; + const M = await mod({ noInitialRun: true, locateFile: () => wasm, + print: (s) => log.push(s), printErr: (s) => log.push("E:" + s) }); + M.FS.writeFile("/t.c", source); + try { M.callMain(["/t.c", ...args, "-o", "/t.s"]); } catch (e) { log.push("THROW:" + e.message); } + let asm = null; + try { asm = new TextDecoder().decode(M.FS.readFile("/t.s")); } catch { /* no output */ } + return { asm, log }; +} + +/** + * @returns {{verdict:string, detail:string}} verdict is one of + * "identical" | "differs" | "inconclusive" + */ +export function compareAsm(a, b, { minLines = MIN_LINES } = {}) { + // Refuse to grade a comparison where either side did not really compile. + for (const [name, r] of [["clean", a], ["published", b]]) { + if (!r.asm) return { verdict: "inconclusive", detail: `${name} produced no output: ${r.log.slice(-3).join(" | ")}` }; + const lines = r.asm.split("\n").filter(Boolean).length; + if (lines < minLines) { + return { verdict: "inconclusive", detail: `${name} emitted only ${lines} lines (< ${minLines}); a failed compile diffs clean against another failed compile` }; + } + if (/\berror\b/i.test(r.log.join("\n"))) { + return { verdict: "inconclusive", detail: `${name} reported an error: ${r.log.filter((l) => /error/i.test(l)).slice(0, 2).join(" | ")}` }; + } + } + // .ident carries the compiler version string, which suffix-shares with build + // paths - report it separately from generated code. + const strip = (s) => s.split("\n").filter((l) => !l.includes(".ident")).join("\n"); + const identA = (a.asm.match(/\.ident\s+"([^"]*)"/) || [])[1] ?? null; + const identB = (b.asm.match(/\.ident\s+"([^"]*)"/) || [])[1] ?? null; + const codeSame = strip(a.asm) === strip(b.asm); + return { + verdict: codeSame ? "identical" : "differs", + detail: `code ${codeSame ? "identical" : "DIFFERS"}; .ident clean=${JSON.stringify(identA)} published=${JSON.stringify(identB)}`, + identDiffers: identA !== identB, + }; +} From 9f678fc315f508d5580ec2bbc40dde7b8670c75e Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Thu, 17 Sep 2026 09:03:03 -0700 Subject: [PATCH 004/447] rebuild the z80, mips and sh toolchains from source The first fix restored the corrupted binaries from clean backups, which brought the builder paths back with them. This rebuilds them, so correctness does not depend on a patched artifact. The prefix-map I added earlier was on the WRONG SCRIPTS. It went on build-sh-toolchain.sh and build-mips-toolchain.sh, which build newlib - but every corrupted binary comes from build-*-wasm-tools.sh, which had none. Rebuilding without catching that would have reproduced the identical problem and looked like a fix. Now wired into build-z80-binutils-wasm.sh, build-mips-wasm-tools.sh and build-sh-wasm-tools.sh, with a comment naming the suffix-sharing hazard so nobody reintroduces a post-hoc scrub. Verified, not assumed. z80-elf-{as,ld,objcopy,objdump} on BOTH properties, since passing one without the other is how this started: decodes correctly ld d,h ld b,h xor h or h ld h,l inc h halt carries no paths /home/monteslu: 0 padded /build/: 0 Both cc1 compilers differential-tested against the published packages, using the harness with the inconclusive-guard so a failed compile on both sides cannot read as a pass: mips cc1 IDENTICAL codegen, 187 lines .ident "GCC: (GNU) 14.2.0" sh cc1 IDENTICAL codegen, 141 lines .ident "GCC: (GNU) 14.2.0" against published "GCC: (GNU) //////" on both. The suffix-sharing damage is repaired at source. TWO FALSE SIGNALS ALONG THE WAY, both of which would have looked like success: The mips script exited 0 having done nothing - it looks for sources under packages/romdevtools/build/ while they live in .romdev-build/romdevtools-build/. Only the unchanged mtimes gave it away; ROMDEV_BUILD_DIR overrides the root. And -ffile-prefix-map did NOT take effect on mips and sh. Every configure call is guarded by `[ -f Makefile ] ||`, so an already-configured tree skips configure and never sees the new CFLAGS - the build log contains zero occurrences of the flag. It is correct and will apply to a from-scratch build; it did not apply here. Honest state per toolchain: z80 rebuilt, correct, path-clean (no prior build tree, so configure ran) mips rebuilt, correct, 658 builder paths (configure skipped) sh rebuilt, correct, 666 builder paths (configure skipped) arm NOT rebuilt - source tree absent, needs re-fetch m68k NOT rebuilt - source tree absent, needs re-fetch The remaining paths are the pre-existing condition, not new damage, and these binaries are strictly better than the published ones, which are corrupt. 19 tests green across z80/gbz80 disassembly, full-loop builds for every platform, and the binary manifest (114 binaries matching). --- packages/romdevtools/binary-manifest.json | 12 ++++++------ .../romdevtools/scripts/build-mips-wasm-tools.sh | 9 +++++++++ packages/romdevtools/scripts/build-sh-wasm-tools.sh | 9 +++++++++ .../romdevtools/scripts/build-z80-binutils-wasm.sh | 7 +++++++ 4 files changed, 31 insertions(+), 6 deletions(-) diff --git a/packages/romdevtools/binary-manifest.json b/packages/romdevtools/binary-manifest.json index 62d961d0..f7fc7840 100644 --- a/packages/romdevtools/binary-manifest.json +++ b/packages/romdevtools/binary-manifest.json @@ -54,7 +54,7 @@ "romdev-toolchain-m68k-gcc/wasm/m68k-elf-objcopy.wasm": "edc0973533731f3b5070ffbec73b3432a6ee152791d9c8ce57a75efcfb472622", "romdev-toolchain-m68k-gcc/wasm/m68k-elf-objdump.wasm": "b1fc961e9c8f2abf31d58b6d5e60c727b8387cf27094692befd0c0f5d68989d2", "romdev-toolchain-m68k-gcc/wasm/sjasm.wasm": "294e12b0c52b73b9fd750e32ea4538d7bc37d1d780ad0f05df00b4f1e5eaceaa", - "romdev-toolchain-mips-gcc/wasm/cc1.wasm": "e26b728a4d3b1c1cbe3afaa821048f8d0bd14d60c1309aeb34f7558587a3de96", + "romdev-toolchain-mips-gcc/wasm/cc1.wasm": "4996b56c29dd4b2b1b06634b9d2ea27c1bd566fb6f805b5aca67fbff38c65e06", "romdev-toolchain-mips-gcc/wasm/mips-elf-as.wasm": "616071395495b3347ac882bf740726f17c910568227ff6a591f56cef2f620e7f", "romdev-toolchain-mips-gcc/wasm/mips-elf-ld.wasm": "3e2c1bb8a9c5b6f54786bb90e94419a89e3553a19e48fc761e58c66cb076a4bd", "romdev-toolchain-mips-gcc/wasm/mips-elf-objcopy.wasm": "59f64e2b635bf9e943df7d35f7cf68ed5079404d579ca825f8f0cccc03095fc0", @@ -67,10 +67,10 @@ "romdev-toolchain-sdcc/wasm/sdasz80.wasm": "cbd8b612f846f9d6253c940088e25d9fb8c1f448f8da73ba6d1ff64f8a3eed38", "romdev-toolchain-sdcc/wasm/sdcc.wasm": "ff3ba6e6eddeecceaefb3e1de336f7082e1325d3b056d89dabfd1fad9df3c43f", "romdev-toolchain-sdcc/wasm/sdld.wasm": "9c76886065a71fdaacf5adc4c071630a715bea50316cf5e5d301c53c786556cc", - "romdev-toolchain-sdcc/wasm/z80-elf-as.wasm": "74eba4c1541215188c69400186c91e94ae75eb5bdd615940aa5ed97f75b2ad20", - "romdev-toolchain-sdcc/wasm/z80-elf-ld.wasm": "594a0f7d4f3d8754b17fe346b04441343b5edf8c1f91acf3c786b6aa8dbca925", - "romdev-toolchain-sdcc/wasm/z80-elf-objcopy.wasm": "7eb0b3f327f16bf439ba3a55b1bf6423afe74d4fc66b2c0f75f143fb816fb8da", - "romdev-toolchain-sdcc/wasm/z80-elf-objdump.wasm": "72f9d48f55407fc72b94d19d30f4b8f20d1f770a065040a7c36292f7e4fff931", + "romdev-toolchain-sdcc/wasm/z80-elf-as.wasm": "3dd3b67e4f4028c061f5c5ff32ca46bfe6aaa1f82acc122c23e38b9f2ead9903", + "romdev-toolchain-sdcc/wasm/z80-elf-ld.wasm": "503b646b972d3ff0d128d6c6e168b90a8a0b27262387ad75f63c3545d43e5779", + "romdev-toolchain-sdcc/wasm/z80-elf-objcopy.wasm": "c4450d87fbf5fd21eb61650a9272e2b3f60cd0ff8d5cd1f32c707799c0103ca4", + "romdev-toolchain-sdcc/wasm/z80-elf-objdump.wasm": "7b5feee4d05ca4bf6a5584c6e01fdd84b31f394271624d10e55813758d32e6e0", "romdev-toolchain-sh-gcc/wasm/cc1.wasm": "96b5da31f13f0b0c3aabe513130a759a1b39a79ee0dcb2e9e2177ffac7a0bea7", "romdev-toolchain-sh-gcc/wasm/sh-elf-as.wasm": "32aaf5e6f214f3e69afd0d395d33d80d6efd2e9b38d885c9d4cdd84fceffba36", "romdev-toolchain-sh-gcc/wasm/sh-elf-ld.wasm": "3ee1ed50f58d0b52cc51fb7a4170989d4b5dfcfc2f76e73bef184ad4a28daf12", @@ -102,7 +102,7 @@ "romdevtools/src/toolchains/mips-c/lib/be/libm.a": "66545020aab909dc0f945fe62cab22847f31693c1f84e9596423300d3b1f9ffb", "romdevtools/src/toolchains/mips-c/lib/el/libc.a": "3e0d6f723b22a26a3ab9d97d8f291702c7376c6aa80666fa185a5780d8025d89", "romdevtools/src/toolchains/mips-c/lib/el/libm.a": "2b9496a832ef3a86b493d52ed6a096af543b02285b7e43e1bbf88b8a7d5e45c4", - "romdevtools/src/toolchains/mips-elf-gcc/wasm/cc1.wasm": "e26b728a4d3b1c1cbe3afaa821048f8d0bd14d60c1309aeb34f7558587a3de96", + "romdevtools/src/toolchains/mips-elf-gcc/wasm/cc1.wasm": "4996b56c29dd4b2b1b06634b9d2ea27c1bd566fb6f805b5aca67fbff38c65e06", "romdevtools/src/toolchains/mips-elf-gcc/wasm/mips-elf-as.wasm": "616071395495b3347ac882bf740726f17c910568227ff6a591f56cef2f620e7f", "romdevtools/src/toolchains/mips-elf-gcc/wasm/mips-elf-ld.wasm": "3e2c1bb8a9c5b6f54786bb90e94419a89e3553a19e48fc761e58c66cb076a4bd", "romdevtools/src/toolchains/mips-elf-gcc/wasm/mips-elf-objcopy.wasm": "59f64e2b635bf9e943df7d35f7cf68ed5079404d579ca825f8f0cccc03095fc0", diff --git a/packages/romdevtools/scripts/build-mips-wasm-tools.sh b/packages/romdevtools/scripts/build-mips-wasm-tools.sh index 0ab5cb24..51166554 100755 --- a/packages/romdevtools/scripts/build-mips-wasm-tools.sh +++ b/packages/romdevtools/scripts/build-mips-wasm-tools.sh @@ -82,7 +82,14 @@ PSIGNAL_CACHE="" # ── 2. cc1 as WASM ────────────────────────────────────────────────── if [ ! -f "$ROOT/build-wasm-gcc/gcc/cc1.wasm" ]; then cd "$ROOT"; mkdir -p build-wasm-gcc; cd build-wasm-gcc + # -ffile-prefix-map keeps the builder's absolute source path OUT of the + # binary. It must never be scrubbed afterwards: the linker suffix-shares + # those path strings with short literals (a 1-char register name can BE the + # tail of ".../foo.h"), so an in-place rewrite silently corrupts unrelated + # data. See never-byte-edit-prebuilt-binaries. [ -f Makefile ] || env $PSIGNAL_CACHE emconfigure "$SRC_DIR/gcc-$GCC_VER/configure" \ + CFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ + CXXFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ --target=$TARGET --prefix="$WASM_PREFIX/gcc-wasm" \ --host=wasm32-unknown-emscripten --build="$(gcc -dumpmachine)" \ --enable-languages=c --disable-nls --disable-multilib \ @@ -105,6 +112,8 @@ fi if [ ! -f "$ROOT/build-wasm-binutils/gas/as-new.wasm" ]; then cd "$ROOT"; mkdir -p build-wasm-binutils; cd build-wasm-binutils [ -f Makefile ] || emconfigure "$SRC_DIR/binutils-$BINUTILS_VER/configure" \ + CFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ + CXXFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ --target=$TARGET --prefix="$WASM_PREFIX/binutils-wasm" \ --host=wasm32-unknown-emscripten --build="$(gcc -dumpmachine)" \ --disable-nls --disable-werror --disable-multilib diff --git a/packages/romdevtools/scripts/build-sh-wasm-tools.sh b/packages/romdevtools/scripts/build-sh-wasm-tools.sh index 17873372..313a8cae 100755 --- a/packages/romdevtools/scripts/build-sh-wasm-tools.sh +++ b/packages/romdevtools/scripts/build-sh-wasm-tools.sh @@ -82,7 +82,14 @@ PSIGNAL_CACHE="" # ── 2. cc1 as WASM ────────────────────────────────────────────────── if [ ! -f "$ROOT/build-wasm-gcc/gcc/cc1.wasm" ]; then cd "$ROOT"; mkdir -p build-wasm-gcc; cd build-wasm-gcc + # -ffile-prefix-map keeps the builder's absolute source path OUT of the + # binary. It must never be scrubbed afterwards: the linker suffix-shares + # those path strings with short literals (a 1-char register name can BE the + # tail of ".../foo.h"), so an in-place rewrite silently corrupts unrelated + # data. See never-byte-edit-prebuilt-binaries. [ -f Makefile ] || env $PSIGNAL_CACHE emconfigure "$SRC_DIR/gcc-$GCC_VER/configure" \ + CFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ + CXXFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ --target=$TARGET --prefix="$WASM_PREFIX/gcc-wasm" \ --host=wasm32-unknown-emscripten --build="$(gcc -dumpmachine)" \ --enable-languages=c --disable-nls --disable-multilib \ @@ -127,6 +134,8 @@ fi if [ ! -f "$ROOT/build-wasm-binutils/gas/as-new.wasm" ]; then cd "$ROOT"; mkdir -p build-wasm-binutils; cd build-wasm-binutils [ -f Makefile ] || emconfigure "$SRC_DIR/binutils-$BINUTILS_VER/configure" \ + CFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ + CXXFLAGS="-O2 -ffile-prefix-map=$SRC_DIR=/src" \ --target=$TARGET --prefix="$WASM_PREFIX/binutils-wasm" \ --host=wasm32-unknown-emscripten --build="$(gcc -dumpmachine)" \ --disable-nls --disable-werror --disable-multilib diff --git a/packages/romdevtools/scripts/build-z80-binutils-wasm.sh b/packages/romdevtools/scripts/build-z80-binutils-wasm.sh index b79b8a5a..a925cc98 100755 --- a/packages/romdevtools/scripts/build-z80-binutils-wasm.sh +++ b/packages/romdevtools/scripts/build-z80-binutils-wasm.sh @@ -34,7 +34,14 @@ if [ ! -f Makefile ]; then # EXACT recipe the m68k/arm binutils builds use - just the z80-elf target. # Build EVERYTHING (gas + ld + binutils); the earlier --disable-gas path is # what triggered the liblto_plugin / "instruction set" friction. Plain make. + # -ffile-prefix-map: without it the BUILDER'S absolute source path is baked + # into the binary (assert strings, __FILE__, DWARF). Those path strings are + # suffix-shared by the linker with short literals - binutils' 1-char register + # names among them - so they must never be rewritten after the fact. Keep the + # path out at compile time instead. See never-byte-edit-prebuilt-binaries. emconfigure "$SRC/configure" \ + CFLAGS="-O2 -ffile-prefix-map=$SRC=/binutils" \ + CXXFLAGS="-O2 -ffile-prefix-map=$SRC=/binutils" \ --target=z80-elf \ --host=wasm32-unknown-emscripten \ --build="$(gcc -dumpmachine)" \ From 041a71fbba33f0d0495c076150dcdefa1b490568 Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Tue, 22 Sep 2026 14:05:02 -0700 Subject: [PATCH 005/447] disasm: the emit:'ir' docs said SMS/GG, the refusal said sms/gg/msx/z80 The refusal message was the accurate one, and a client found out msx was supported only by triggering the error. Parameter docs now name all four source platforms and say WHY the others refuse: the IR carries per-ISA cycle and control-flow metadata that exists only for Z80 today, so extending it is per-ISA work rather than a flag. --- packages/romdevtools/src/mcp/tools/disasm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/romdevtools/src/mcp/tools/disasm.js b/packages/romdevtools/src/mcp/tools/disasm.js index afee22e2..d7529f8d 100644 --- a/packages/romdevtools/src/mcp/tools/disasm.js +++ b/packages/romdevtools/src/mcp/tools/disasm.js @@ -2005,7 +2005,7 @@ export function registerDisasmTools(server, z) { platform: z.enum(DISASM_PLATFORMS).optional().describe("target=rom/project/references: override platform (else sniffed from extension). target=source: pico8 (.p8 carts are Lua source). n64/ps1/dreamcast: functions/cfg/xrefs/decompile (the MIPS/SH-4 RE engine); their bytes/rom/project/references targets are not implemented and return a capability error."), startAddress: z.number().int().min(0).max(0xffffffff).default(0x8000).describe("target=bytes/rom/range/recompile: address of the first byte (GBA auto-bumped to 0x08000000). On target=recompile this is the routine to lift - NOT `address`, which belongs to the analysis targets."), length: z.number().int().min(1).max(65536).optional().describe("target=rom/range/recompile: bytes to disassemble or lift (default 256; mutually exclusive with endAddress)."), - emit: z.enum(["asm", "ir"]).default("asm").describe("target=recompile: asm preserves existing output; ir exports decoded/lifted Z80 instructions as JSONL at outputPath, with byte offsets, CPU addresses, banks, cycles and flags. No WAT backend."), + emit: z.enum(["asm", "ir"]).default("asm").describe("target=recompile: asm preserves existing output; ir exports decoded/lifted instructions as JSONL at outputPath, with byte offsets, CPU addresses, banks, cycles and flags. SOURCE PLATFORMS: sms, gg, msx, z80 (Z80 only) - every other platform refuses, because the IR carries per-ISA cycle and control-flow metadata that exists only for Z80 today. No WAT backend."), allOffsets: z.boolean().default(false).describe("target=recompile emit=ir: export the entire SMS/GG ROM in bank-sized windows in one call, including ROMs larger than 64KB. Linear decode, not reachability proof."), alignments: z.enum(["primary", "all"]).default("primary").describe("target=recompile emit=ir: 'primary' (default) emits ONE linear tiling - every byte owned by exactly one instruction. 'all' additionally emits a decode STARTING at every offset the tiling did not begin an instruction at, marked alignment:'secondary'. A static recompiler needs those: a computed jump (jp (hl), an rst table) can land mid-instruction. Secondary records overlap by design and must NOT be summed against romBytes."), From 4d51414bed415fd7b49683f4ceb84a018151a652 Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Tue, 22 Sep 2026 14:25:35 -0700 Subject: [PATCH 006/447] recompile: m68k cycle table and metadata, extracted from gpgx First step toward emit:'ir' for genesis. Two of the three pieces an ISA needs (objdump arch, cycles, control metadata); the arch already exists and is verified to decode real 68000 code. generate-m68k-cycle-tables.mjs extracts the table from gpgx's own m68ki_cycles.h rather than authoring it - the same discipline as the z80 generator, and the reason a later 'verified against gpgx' check is meaningful instead of circular. 65536 entries, 53670 nonzero, gpgx's *7 master-clock scaling divided back out to real 68000 cycles. The generator asserts nop=4, rts=16, move.l d0,d1=4 and throws rather than shipping a table it cannot vouch for. m68k-metadata.js provides cycles + control-flow classification (kind, targets, fallthrough, conditional). A recompiler lowers from mnemonic+ops itself, so flags are deliberately not modelled. Two defects the self-test caught while writing it: - the size-suffix stripper turned 'rts' into 'rt', classifying a return as an ordinary transfer. A recompiler would have fallen through a return. - 0 in the table means 'no such opcode', not 'free'; m68kCycles returns null so a caller cannot silently charge zero. 0x4AFC legitimately stores 4, which is ILLEGAL's exception-entry cost. The test is fault-injection verified: reintroducing the rts bug makes it fail with 'rts must classify as ret', and removing it passes 7/7. --- .../scripts/generate-m68k-cycle-tables.mjs | 62 +++++++++++++ .../analysis/recompile/m68k-cycle-tables.json | 1 + .../src/analysis/recompile/m68k-metadata.js | 86 +++++++++++++++++++ .../romdevtools/test/m68k-metadata.test.js | 70 +++++++++++++++ 4 files changed, 219 insertions(+) create mode 100644 packages/romdevtools/scripts/generate-m68k-cycle-tables.mjs create mode 100644 packages/romdevtools/src/analysis/recompile/m68k-cycle-tables.json create mode 100644 packages/romdevtools/src/analysis/recompile/m68k-metadata.js create mode 100644 packages/romdevtools/test/m68k-metadata.test.js diff --git a/packages/romdevtools/scripts/generate-m68k-cycle-tables.mjs b/packages/romdevtools/scripts/generate-m68k-cycle-tables.mjs new file mode 100644 index 00000000..7b10616c --- /dev/null +++ b/packages/romdevtools/scripts/generate-m68k-cycle-tables.mjs @@ -0,0 +1,62 @@ +#!/usr/bin/env node +// Extract the 68000 cycle table from gpgx's own m68ki_cycles.h. +// +// Same discipline as generate-z80-cycle-tables.mjs: the table is EXTRACTED from +// the core we verify against, never hand-authored from a datasheet. That is +// what makes a later "0 differences" check meaningful rather than circular. +// +// Source form: `static const unsigned char m68ki_cycles[0x10000] = { 8*7, ... }` +// indexed by the full 16-bit opcode word. The `*7` is gpgx's internal clock +// scaling (its master clock runs 7x the 68k cycle), so we divide it back out +// and store real 68000 cycles. +import { readFileSync, writeFileSync } from "node:fs"; + +const src = process.argv[2]; +const out = process.argv[3]; +if (!src || !out) { + console.error("usage: generate-m68k-cycle-tables.mjs "); + process.exit(2); +} + +const text = readFileSync(src, "utf8"); +const open = text.indexOf("{"); +const close = text.lastIndexOf("}"); +if (open < 0 || close < 0) throw new Error("no brace-delimited table found"); + +const body = text.slice(open + 1, close); +const cycles = []; +for (const tok of body.split(",")) { + const t = tok.trim(); + if (!t) continue; + const m = /^(\d+)\s*\*\s*(\d+)$/.exec(t) || /^(\d+)$/.exec(t); + if (!m) throw new Error(`unparsable table entry: ${JSON.stringify(t)}`); + const raw = Number(m[1]); + const scale = m[2] ? Number(m[2]) : 1; + if (scale !== 7 && scale !== 1) throw new Error(`unexpected scale ${scale}`); + cycles.push(raw); +} + +if (cycles.length !== 0x10000) { + throw new Error(`expected 65536 entries, parsed ${cycles.length}`); +} + +// Sanity, not trust: spot-check opcodes whose timings are documented and +// stable. nop=4, rts=16, move.l d0,d1=4. If gpgx ever restructures the table +// these fail loudly instead of silently shipping wrong timing. +const CHECKS = [[0x4e71, 4, "nop"], [0x4e75, 16, "rts"], [0x2200, 4, "move.l d0,d1"]]; +for (const [op, want, name] of CHECKS) { + if (cycles[op] !== want) { + throw new Error(`${name} (0x${op.toString(16)}) = ${cycles[op]}, expected ${want}`); + } +} + +const nonzero = cycles.filter((c) => c > 0).length; +writeFileSync(out, JSON.stringify({ + isa: "m68k", + source: "gpgx m68ki_cycles.h", + note: "real 68000 cycles; gpgx's *7 master-clock scaling divided out", + entries: 0x10000, + nonzero, + cycles, +})); +console.log(` m68k cycles: ${cycles.length} entries, ${nonzero} nonzero, ${CHECKS.length} spot-checks passed -> ${out}`); diff --git a/packages/romdevtools/src/analysis/recompile/m68k-cycle-tables.json b/packages/romdevtools/src/analysis/recompile/m68k-cycle-tables.json new file mode 100644 index 00000000..ba73b0d6 --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/m68k-cycle-tables.json @@ -0,0 +1 @@ +{"isa":"m68k","source":"gpgx m68ki_cycles.h","note":"real 68000 cycles; gpgx's *7 master-clock scaling divided out","entries":65536,"nonzero":53670,"cycles":[8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,20,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,20,0,0,0,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,34,34,34,34,34,34,34,34,32,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,20,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,20,0,0,0,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,34,34,34,34,34,34,34,34,32,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,0,0,0,0,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,34,34,34,34,34,34,34,34,32,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,0,0,0,0,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,34,34,34,34,34,34,34,34,32,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,0,0,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,0,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,0,0,0,0,10,10,10,10,10,10,10,10,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,20,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,0,0,20,0,0,0,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,34,34,34,34,34,34,34,34,32,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,16,16,16,16,16,16,16,16,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,10,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,24,24,24,24,24,24,24,24,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,34,34,34,34,34,34,34,34,32,36,32,34,28,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,28,32,28,30,24,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,28,28,28,28,28,28,28,28,30,30,30,30,30,30,30,30,32,32,32,32,32,32,32,32,30,34,30,32,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,24,26,20,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,22,26,22,24,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,20,24,20,22,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,6,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,20,20,20,20,20,20,20,20,16,20,16,20,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,12,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,4,4,20,0,16,0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,16,16,16,16,16,16,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,22,22,22,22,22,22,22,22,18,20,18,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,14,14,14,14,14,14,14,14,10,12,10,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,8,12,8,12,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,14,18,14,16,10,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,14,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,6,6,6,6,6,6,6,6,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,6,6,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,8,12,8,10,4,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,12,16,12,14,8,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,16,18,12,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,4,4,4,4,4,4,4,4,18,18,18,18,18,18,18,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,16,20,0,0,0,0,0,0,8,8,8,8,8,8,8,8,30,30,30,30,30,30,30,30,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,22,22,22,22,22,22,22,22,24,24,24,24,24,24,24,24,26,26,26,26,26,26,26,26,24,28,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,18,18,18,18,18,18,18,18,20,20,20,20,20,20,20,20,18,22,18,20,16,0,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6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,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]} \ No newline at end of file diff --git a/packages/romdevtools/src/analysis/recompile/m68k-metadata.js b/packages/romdevtools/src/analysis/recompile/m68k-metadata.js new file mode 100644 index 00000000..2e129680 --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/m68k-metadata.js @@ -0,0 +1,86 @@ +// 68000 metadata over the EXISTING binutils m68k decoder - not a second +// decoder, and not a hand-authored table. +// +// Cycles are EXTRACTED from gpgx's own m68ki_cycles.h by +// scripts/generate-m68k-cycle-tables.mjs. That provenance is the point: a +// later "verified against gpgx" check is only meaningful because the table +// came from the core rather than from a datasheet someone retyped. +// +// The 68000 has no prefix bytes, so unlike Z80 this is one lookup on the full +// 16-bit opcode word. +import data from "./m68k-cycle-tables.json" with { type: "json" }; + +export const M68K_CYCLE_PROVENANCE = { + source: data.source, + unit: "68000 cycles", + note: data.note, + entries: data.entries, +}; + +/** + * Cycles for the instruction whose first word is bytes[0..1] (big-endian). + * Returns null when the opcode word is not a legal instruction, which the + * caller must treat as "unknown", never as zero. + */ +export function m68kCycles(bytes) { + if (bytes.length < 2) return null; + const op = (bytes[0] << 8) | bytes[1]; + const c = data.cycles[op]; + // 0 in gpgx's table means "no such opcode", not "free". Reporting it as a + // real cost would make a recompiler's scanline budget silently wrong. + // Note 0x4AFC (the ILLEGAL instruction) legitimately stores 4 - that is its + // exception-entry cost, and it IS a real opcode. + return c > 0 ? c : null; +} + +// Control-flow classification. The recompiler needs kind/targets/fallthrough/ +// conditional; it lowers from mnemonic+ops itself and does not need flags. +const BRANCH_CC = new Set([ + "bhi", "bls", "bcc", "bcs", "bne", "beq", "bvc", "bvs", + "bpl", "bmi", "bge", "blt", "bgt", "ble", +]); + +// Mnemonics that must NOT be suffix-stripped: the trailing letter is part of +// the name, not a size. Stripping turned `rts` into `rt` and classified a +// return as an ordinary transfer - caught by the module's own self-test, which +// is why that test asserts on rts specifically. +const WHOLE = new Set(["rts", "rte", "rtr", "bls", "bcs", "bvs", "bmi", "jsr", "bsr"]); + +/** Strip binutils' size suffix: beqs/beqw/beql -> beq, movel -> move. */ +function baseMnem(m) { + if (WHOLE.has(m)) return m; + return m.replace(/(s|w|l|b)$/, ""); +} + +export function m68kControl(mnem, ops, addr, len) { + const m = (mnem || "").toLowerCase(); + const b = baseMnem(m); + const next = addr + len; + const target = () => { + const t = /(?:^|[\s,])0x([0-9a-f]+)/i.exec(ops || ""); + return t ? [parseInt(t[1], 16)] : []; + }; + if (b === "bra" || m.startsWith("bra")) { + return { kind: "jump", targets: target(), fallthrough: null, conditional: false }; + } + if (b === "bsr" || m.startsWith("bsr")) { + return { kind: "call", targets: target(), fallthrough: next, conditional: false }; + } + if (BRANCH_CC.has(b)) { + return { kind: "branch", targets: target(), fallthrough: next, conditional: true }; + } + if (b === "jmp") { + return { kind: "jump", targets: target(), fallthrough: null, conditional: false }; + } + if (b === "jsr") { + return { kind: "call", targets: target(), fallthrough: next, conditional: false }; + } + if (b === "rts" || b === "rte" || b === "rtr") { + return { kind: "ret", targets: [], fallthrough: null, conditional: false }; + } + // dbcc: decrement-and-branch, always conditional, always falls through. + if (m.startsWith("db")) { + return { kind: "branch", targets: target(), fallthrough: next, conditional: true }; + } + return { kind: "transfer", targets: [], fallthrough: next, conditional: false }; +} diff --git a/packages/romdevtools/test/m68k-metadata.test.js b/packages/romdevtools/test/m68k-metadata.test.js new file mode 100644 index 00000000..59f1497e --- /dev/null +++ b/packages/romdevtools/test/m68k-metadata.test.js @@ -0,0 +1,70 @@ +// The m68k cycle table and control classifier. +// +// Both halves have already produced a wrong answer once each, so both are +// asserted here rather than spot-checked by hand: +// - `rts` was classified as an ordinary transfer, because the size-suffix +// stripper turned it into `rt`. A recompiler would have fallen through a +// return. +// - a 0 entry means "no such opcode", NOT "free". Reporting 0 as a cost +// makes a scanline budget silently wrong. +import { test } from "node:test"; +import assert from "node:assert/strict"; +import { m68kCycles, m68kControl, M68K_CYCLE_PROVENANCE } from "../src/analysis/recompile/m68k-metadata.js"; + +const w = (op) => Buffer.from([(op >> 8) & 0xff, op & 0xff]); + +test("cycles come from gpgx, not a datasheet", () => { + assert.equal(M68K_CYCLE_PROVENANCE.source, "gpgx m68ki_cycles.h"); + assert.equal(M68K_CYCLE_PROVENANCE.entries, 0x10000); +}); + +test("documented timings", () => { + assert.equal(m68kCycles(w(0x4e71)), 4, "nop"); + assert.equal(m68kCycles(w(0x4e75)), 16, "rts"); + assert.equal(m68kCycles(w(0x2200)), 4, "move.l d0,d1"); +}); + +test("unknown opcodes are null, never 0", () => { + // Find a genuinely absent entry and confirm it reports unknown rather than + // a free instruction. + let found = null; + for (let op = 0; op < 0x10000; op++) { + if (m68kCycles(w(op)) === null) { found = op; break; } + } + assert.notEqual(found, null, "expected at least one illegal opcode word"); + assert.equal(m68kCycles(w(found)), null); +}); + +test("control flow: returns are returns", () => { + for (const m of ["rts", "rte", "rtr"]) { + const r = m68kControl(m, "", 0, 2); + assert.equal(r.kind, "ret", `${m} must classify as ret`); + assert.equal(r.fallthrough, null, `${m} must not fall through`); + } +}); + +test("control flow: calls, jumps, conditional branches", () => { + assert.equal(m68kControl("jsr", "0x400", 0, 4).kind, "call"); + assert.equal(m68kControl("bsr", "0x40", 0, 2).kind, "call"); + assert.equal(m68kControl("braw", "0xc", 0, 4).kind, "jump"); + assert.equal(m68kControl("jmp", "0x400", 0, 4).kind, "jump"); + for (const m of ["beqs", "bnes", "bls", "bcs", "bvs", "bmi", "bges"]) { + const r = m68kControl(m, "0x20", 0, 2); + assert.equal(r.kind, "branch", `${m}`); + assert.equal(r.conditional, true, `${m} is conditional`); + assert.equal(r.fallthrough, 2, `${m} falls through`); + } +}); + +test("control flow: dbcc decrements and branches", () => { + const r = m68kControl("dbra", "0x10", 0, 4); + assert.equal(r.kind, "branch"); + assert.equal(r.conditional, true); +}); + +test("ordinary instructions fall through with no target", () => { + const r = m68kControl("movel", "%d0,%d1", 0, 2); + assert.equal(r.kind, "transfer"); + assert.equal(r.fallthrough, 2); + assert.deepEqual(r.targets, []); +}); From a91afc3b6e7836fc7b4f14d9130ac7884ded2ae4 Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Tue, 22 Sep 2026 14:43:22 -0700 Subject: [PATCH 007/447] recompile: genesis IR export, blockMap emit, and range support emit:'ir' now dispatches on an ISA descriptor instead of being Z80-only. Genesis works end to end: 176004 primary + 86115 secondary records on a 512KB cart, zero unknown opcodes, 262119/262144 offsets. New src/analysis/recompile/isa.js holds what actually varies per ISA - objdump arch, longest instruction, instruction alignment, bank size, cycles, control classification, slice padding. The exporter's structure (batched all-alignment decode, windows with lookahead, completeness accounting) was already ISA-agnostic. Three bugs in SHARED code, each caught by an existing guard rather than by reading: - parseObjdumpRows DROPPED continuation lines. objdump wraps a wide encoding onto a second address line with no mnemonic, and LINE_RE required that trailing tab, so those bytes vanished: 'movew #256,0xa11100' reported 6 bytes when it is 8, which the completeness check saw as a gap at 0x206. Affects any ISA with encodings wider than one output line. - batch slice padding was hardcoded 0x00. That is 'nop' on Z80 but 'orib' on m68k - a valid instruction - so decodes ran into the padding and produced bytes that did not match the ROM. Padding is now per-ISA (0x4AFC ILLEGAL). - makeScopeChecker's regex matched only target:'x', never target=x. A parameter documented 'target=recompile emit=ir: ...' was therefore scoped only by its other clause and REFUSED on recompile - so fileOffset/length never worked on emit:'ir' despite the docs, forcing whole-ROM exports where a range was wanted. m68k maxInstr was also wrong: I set 10 by reasoning, and a real cart produced a 12-byte decode at 0x31E. Length depends on the extension word, not the opcode, so an opcode-only sweep reports 10 and is wrong. Now 24, deliberately generous - over-reserving costs decode bytes, under-reserving truncates. emit:'blockMap' returns {offset: length} for every offset that can begin an instruction, which is what a static recompiler needs; primaryOnly:true gives the linear tiling instead. This replaces ~250 lines of consumer Python that re-derived it from the full IR. Undecodable offsets now emit decodeStatus:'data' records instead of being silently absent (25 of 262144 on a real cart), so coverage gaps cannot hide. Z80 output verified byte-identical before and after; m68k suite 7/7 with fault-injection control. --- .../src/analysis/recompile/export-z80-ir.js | 199 +++++++++++++++--- .../romdevtools/src/analysis/recompile/isa.js | 88 ++++++++ packages/romdevtools/src/mcp/tools/disasm.js | 27 ++- packages/romdevtools/src/mcp/util.js | 8 +- .../romdevtools/src/toolchains/objdump.js | 26 ++- 5 files changed, 312 insertions(+), 36 deletions(-) create mode 100644 packages/romdevtools/src/analysis/recompile/isa.js diff --git a/packages/romdevtools/src/analysis/recompile/export-z80-ir.js b/packages/romdevtools/src/analysis/recompile/export-z80-ir.js index 573bdd9f..12c820f2 100644 --- a/packages/romdevtools/src/analysis/recompile/export-z80-ir.js +++ b/packages/romdevtools/src/analysis/recompile/export-z80-ir.js @@ -7,6 +7,7 @@ import { runObjdump } from "../../toolchains/objdump.js"; import { liftZ80, DOCUMENTED_Z80 } from "./lift-z80.js"; import { z80Cycles, z80Flags, z80Control, CYCLE_PROVENANCE } from "./z80-metadata.js"; import { smsWindows, SMS_MAPPERS } from "../sms-mapping.js"; +import { isaFor, ISAS, PLATFORM_ISA } from "./isa.js"; /** Longest Z80 instruction: DD/FD CB dd op. Bounds the decode lookahead. */ const MAX_Z80_INSTR = 4; @@ -27,22 +28,38 @@ const MAX_Z80_INSTR = 4; * decodes independently. Measured: 8,192 offsets resolved in a single 277ms * call, 100% hit rate. */ -const BATCH_STRIDE = 8; const BATCH_MAX = 8192; -async function decodeAtOffsets(rom, offsets) { +// The slice stride must EXCEED the ISA's longest instruction, so the zero +// padding after each slice's real bytes cannot be reached by an instruction +// starting at the slice head. Z80's longest is 4 (stride 8); m68k's is 10, so +// a fixed stride of 8 would let one slice decode into the next and silently +// produce wrong instructions. Derived per ISA, rounded up to a power of two so +// slice heads stay cheap to compute. +function strideFor(isa) { + let s = 8; + while (s <= isa.maxInstr) s *= 2; + return s; +} + +async function decodeAtOffsets(rom, offsets, isa) { /** @type {Map} */ const out = new Map(); + const stride = strideFor(isa); for (let i = 0; i < offsets.length; i += BATCH_MAX) { const slice = offsets.slice(i, i + BATCH_MAX); - const buf = Buffer.alloc(slice.length * BATCH_STRIDE); // zero-filled: nop padding - slice.forEach((off, k) => rom.copy(buf, k * BATCH_STRIDE, off, Math.min(off + MAX_Z80_INSTR, rom.length))); - const decoded = await runObjdump({ arch: "z80", startAddress: 0, bytes: buf }); + // Fill with the ISA's terminator FIRST, then overwrite each slice head + // with real bytes. Zero-filling is only correct when 0x00 decodes-and-stops + // (true on Z80, false on m68k where 0x0000 is `orib`). + const buf = Buffer.alloc(slice.length * stride); + for (let b = 0; b < buf.length; b += isa.pad.length) isa.pad.copy(buf, b); + slice.forEach((off, k) => rom.copy(buf, k * stride, off, Math.min(off + isa.maxInstr, rom.length))); + const decoded = await runObjdump({ arch: isa.arch, startAddress: 0, bytes: buf }); if (!decoded.available || decoded.exitCode !== 0 || decoded.crash) { - throw new Error(`Z80 decoder failed on an alignment batch: ${decoded.raw?.slice(-300)}`); + throw new Error(`${isa.arch} decoder failed on an alignment batch: ${decoded.raw?.slice(-300)}`); } const byAddr = new Map(decoded.instructions.map((r) => [r.addr, r])); - slice.forEach((off, k) => { const r = byAddr.get(k * BATCH_STRIDE); if (r) out.set(off, r); }); + slice.forEach((off, k) => { const r = byAddr.get(k * stride); if (r) out.set(off, r); }); } return out; } @@ -73,7 +90,27 @@ export function irWindows(size, { allOffsets = false, startAddress = 0, length = return smsWindows(size, startAddress, length, { bank, mapper, mapperState }); } -export function decodedIR(row, window, rom, { allowStraddle = false } = {}) { +/** + * Windows for a FLAT address space (Genesis: ROM maps at $000000, no banking). + * + * One window per chunk so a single objdump invocation stays bounded, but every + * window carries bank 0 and addr == off, because the CPU address IS the file + * offset. Lookahead still applies at each chunk edge for the same reason it + * does on a bank edge: objdump only sees the bytes it is handed. + */ +export function flatWindows(size, { allOffsets = false, startAddress = 0, length = 4096, fileOffset } = {}) { + const CHUNK = 0x8000; + if (allOffsets) { + return Array.from({ length: Math.ceil(size / CHUNK) }, (_, i) => ({ + off: i * CHUNK, length: Math.min(CHUNK, size - i * CHUNK), bank: 0, + addr: i * CHUNK, slot: 0 })); + } + const off = fileOffset ?? startAddress; + if (off >= size || off + length > size) throw new Error("window exceeds ROM size"); + return [{ off, length, bank: 0, addr: off, slot: 0 }]; +} + +export function decodedIR(row, window, rom, { allowStraddle = false, isa = ISAS.z80 } = {}) { const bytes = row.bytes.split(/\s+/).filter(Boolean).map((b) => parseInt(b, 16)); const off = window.off + row.addr - window.addr; const windowEnd = window.off + window.length; @@ -92,23 +129,96 @@ export function decodedIR(row, window, rom, { allowStraddle = false } = {}) { || (straddles && !allowStraddle && off + bytes.length > rom.length) || bytes.some((b, i) => b !== rom[off + i])) throw new Error(`decoder byte/offset mismatch at ROM offset ${off}`); const mnemonic = row.mnem.toLowerCase(), len = bytes.length; - const documented = DOCUMENTED_Z80.has(mnemonic); - const lifted = liftZ80(`${mnemonic} ${row.ops.replace(/0x([0-9a-f]+)/gi, "$$$1")}`).ir.filter((n) => n.name !== "RECOMPILE_ENTRY"); + const documented = isa.documented(mnemonic); + // `lifted` is Z80-only. A recompiler lowers from mnemonic+ops itself, so an + // ISA without a lifter omits the field rather than emitting a fake one. + const lifted = isa.lift ? isa.lift(mnemonic, row.ops) : undefined; return { schema: "romdev-decoded-ir-v1", off, addr: row.addr, bank: window.bank, slot: window.slot, bytes, mnemonic, ops: row.ops, len, ...(straddles ? { straddlesWindow: true, windowEnd, bytesBeyondWindow: off + bytes.length - windowEnd, straddleNote: "this instruction starts in this bank and its operand bytes continue into the NEXT physical bank. The bytes are the ROM's real bytes; at run time the trailing bytes come from whichever bank is mapped after this one, so treat the decode as correct for this bank's layout and not as proof of the executed operand." } : {}), - cycles: documented ? z80Cycles(bytes) : null, + cycles: documented ? isa.cycles(bytes) : null, cycleOrder: ["taken-or-repeat", "not-taken-or-final"], - ...(documented ? z80Control(mnemonic, row.ops, row.addr, len) + ...(documented ? isa.control(mnemonic, row.ops, row.addr, len) : { kind: "unknown", targets: [], fallthrough: null }), - ...(documented ? z80Flags(mnemonic, row.ops) : { flagsRead: null, flagsWritten: null }), - lifted, decodeStatus: documented ? "decoded" : "unknown", + ...(isa.flags + ? (documented ? isa.flags(mnemonic, row.ops) : { flagsRead: null, flagsWritten: null }) + : {}), + ...(lifted ? { lifted } : {}), + decodeStatus: documented ? "decoded" : "unknown", targetAddressDomain: "cpu", reachability: "unproven-linear-decode" }; } +/** + * A COMPACT block map: {offset: instructionLength} for every offset that can + * begin an instruction, plus the manifest's completeness fields. + * + * This exists because every consumer of the full IR was re-deriving the same + * thing: a static recompiler emits one entry point per byte offset, and all it + * needs per offset is "how long is the instruction here". Reading the whole + * JSONL to extract one integer per record is wasteful on both sides - a 512KB + * Genesis cart is ~260k records - and it meant the block map's correctness + * lived in each consumer instead of here. + * + * Runs the SAME export, so the map cannot drift from the decode it summarises. + */ +export async function exportBlockMap(args) { + const primaryOnly = args.primaryOnly === true; + const tmp = `${path.resolve(args.outputPath)}.ir.tmp`; + const manifest = await exportZ80IR({ ...args, outputPath: tmp }); + const { createReadStream } = await import("node:fs"); + const { createInterface } = await import("node:readline"); + const blocks = {}; + let dataOffsets = 0; + const rl = createInterface({ input: createReadStream(tmp), crlfDelay: Infinity }); + for await (const line of rl) { + if (!line) continue; + const r = JSON.parse(line); + // BOTH alignments by default. A static recompiler emits one entry point + // per byte offset, because a computed jump can land mid-instruction - so + // it needs the decode at offsets the primary tiling never begins an + // instruction at. Returning only the primary tiling gave 21,689 of 32,768 + // offsets on a real cart and the consumer had to go back to the full IR + // for the rest, which is the re-derivation this emit exists to remove. + // + // `primaryOnly:true` restores the linear tiling, where each byte is owned + // exactly once - the right choice for a disassembly listing rather than a + // recompiler. + if (primaryOnly && r.alignment === "secondary") continue; + blocks[r.off] = r.len; + if (r.decodeStatus === "data") dataOffsets++; + } + await unlink(tmp).catch(() => {}); + const out = path.resolve(args.outputPath); + await mkdir(path.dirname(out), { recursive: true }); + const body = JSON.stringify({ + schema: "romdev-blockmap-v1", + primaryOnly, + romBytes: manifest.romBytes, + instructionAlignment: manifest.instructionAlignment ?? 1, + blockCount: Object.keys(blocks).length, + dataOffsets, + coveredBytes: manifest.coveredBytes, + unresolvedOffsets: manifest.unresolvedOffsets, + sourceIsa: manifest.provenance?.sourceIsa, + blocks, + }); + await (await open(out, "w")).writeFile(body).catch(async (e) => { throw e; }); + return { schema: "romdev-blockmap-manifest-v1", path: out, format: "json", + romBytes: manifest.romBytes, blockCount: Object.keys(blocks).length, + dataOffsets, coveredBytes: manifest.coveredBytes, + unresolvedOffsets: manifest.unresolvedOffsets, + instructionAlignment: manifest.instructionAlignment ?? 1, + primaryOnly, + note: primaryOnly + ? "blocks maps FILE OFFSET -> instruction length, PRIMARY tiling only: each byte owned by exactly one instruction. Use for a disassembly listing." + : "blocks maps FILE OFFSET -> instruction length at EVERY offset that can begin an instruction, primary and secondary alignments both. This is what a static recompiler needs: a computed jump can land mid-instruction, so every offset is a potential entry point." }; +} + export async function exportZ80IR(args) { - if (!["sms", "gg"].includes(args.platform)) throw new Error("emit:'ir' currently supports SMS/GG cartridge mapping only; MSX/raw Z80 mapping is not inferred from SMS slots"); + const isa = isaFor(args.platform); + if (!isa) throw new Error(`emit:'ir' has no ISA descriptor for platform '${args.platform}'. Supported: ${Object.keys(PLATFORM_ISA).join(", ")}`); + if (isa.arch === "z80" && !["sms", "gg"].includes(args.platform)) throw new Error("emit:'ir' currently supports SMS/GG cartridge mapping only; MSX/raw Z80 mapping is not inferred from SMS slots"); if (!args.outputPath) throw new Error("emit:'ir' requires outputPath for JSONL; bulk IR is never returned inline"); const input = path.resolve(args.path), output = path.resolve(args.outputPath); if (input === output) throw new Error("IR outputPath must not overwrite the input ROM"); @@ -118,7 +228,7 @@ export async function exportZ80IR(args) { }; await protectInput(); const rom = await readFile(input); - const windows = irWindows(rom.length, args); + const windows = isa.bankSize ? irWindows(rom.length, args) : flatWindows(rom.length, args); await mkdir(path.dirname(output), { recursive: true }); const temp = `${output}.${randomUUID()}.tmp`; const fd = await open(temp, "wx"); @@ -136,15 +246,15 @@ export async function exportZ80IR(args) { // decode; records are still only KEPT when they start inside the window, // so nothing from the next bank is emitted twice. const windowEnd = window.off + window.length; - const lookahead = Math.min(MAX_Z80_INSTR - 1, rom.length - windowEnd); - const decoded = await runObjdump({ arch: "z80", startAddress: window.addr, bytes: rom.subarray(window.off, windowEnd + lookahead) }); - if (!decoded.available || decoded.exitCode !== 0 || decoded.crash) throw new Error(`Z80 decoder failed for bank ${window.bank}: ${decoded.raw?.slice(-300)}`); + const lookahead = Math.min(isa.maxInstr - 1, rom.length - windowEnd); + const decoded = await runObjdump({ arch: isa.arch, startAddress: window.addr, bytes: rom.subarray(window.off, windowEnd + lookahead) }); + if (!decoded.available || decoded.exitCode !== 0 || decoded.crash) throw new Error(`${isa.arch} decoder failed for bank ${window.bank}: ${decoded.raw?.slice(-300)}`); let cursor = window.off, chunk = ""; const primaryStarts = new Set(); for (const row of decoded.instructions) { const rowOff = window.off + row.addr - window.addr; if (rowOff >= windowEnd) break; // belongs to the next window - const record = decodedIR(row, window, rom); + const record = decodedIR(row, window, rom, { isa }); if (record.off !== cursor) throw new Error(`decoder left a gap/overlap at file offset ${cursor}; refusing an incomplete IR export`); primaryStarts.add(record.off); if (wantAllAlignments) record.alignment = "primary"; @@ -189,13 +299,45 @@ export async function exportZ80IR(args) { // unchanged linear tiling. if (wantAllAlignments) { const missing = []; - for (let off = window.off; off < windowEnd; off++) if (!primaryStarts.has(off)) missing.push(off); + // ALIGNMENT. On Z80 every byte is a legal entry point. On m68k + // instructions are WORD-ALIGNED, so an odd offset cannot begin one and + // a record there would be fiction - the exporter would be inventing + // entry points that no jump can reach. isa.align makes that explicit + // rather than leaving it to the decoder to produce garbage. + for (let off = window.off; off < windowEnd; off++) { + if (off % isa.align !== 0) continue; + if (!primaryStarts.has(off)) missing.push(off); + } if (missing.length) { - const decodedAt = await decodeAtOffsets(rom, missing); + const decodedAt = await decodeAtOffsets(rom, missing, isa); for (const off of missing) { const row = decodedAt.get(off); if (!row) { unresolvedOffsets++; continue; } - const record = decodedIR({ ...row, addr: window.addr + (off - window.off) }, window, rom, { allowStraddle: true }); + // objdump emits `.short` where NO valid instruction of this ISA + // begins - genuinely undecodable data, not a decoder failure. On + // one 512KB Genesis cart 25 of 262144 offsets are like this + // (e.g. 0x1DCB2 = `47 45 73 aa`, mid-table data). + // + // Emit them as explicit `data` records rather than dropping them: + // a consumer compiling every offset as an entry point needs an + // entry for these too, and silently having no record is how + // coverage gaps hide. The recompiler turns them into a trap, which + // is correct - executing them IS a fault. + if (row.mnem === ".short" || row.mnem === ".word" || row.mnem === ".byte") { + const dbytes = row.bytes.split(/\s+/).filter(Boolean).map((b) => parseInt(b, 16)); + const rec = { schema: "romdev-decoded-ir-v1", off, + addr: window.addr + (off - window.off), bank: window.bank, slot: window.slot, + bytes: dbytes, mnemonic: null, ops: "", len: dbytes.length, + cycles: null, kind: "unknown", targets: [], fallthrough: null, + decodeStatus: "data", alignment: "secondary", + targetAddressDomain: "cpu", reachability: "unproven-linear-decode", + dataNote: "no valid instruction of this ISA begins here; the bytes are retained and not lifted." }; + secondaryCount++; unknownCount++; + chunk += JSON.stringify(rec) + "\n"; + if (chunk.length >= 256 * 1024) { await fd.writeFile(chunk); bytesWritten += Buffer.byteLength(chunk); chunk = ""; } + continue; + } + const record = decodedIR({ ...row, addr: window.addr + (off - window.off) }, window, rom, { allowStraddle: true, isa }); record.alignment = "secondary"; secondaryCount++; chunk += JSON.stringify(record) + "\n"; @@ -211,7 +353,14 @@ export async function exportZ80IR(args) { bytesWritten, coveredBytes, romBytes: rom.length, straddleCount, ...(wantAllAlignments ? { alignments: "all", secondaryCount, - offsetsTotal: rom.length, offsetsWithRecord: instrCount + secondaryCount, + // offsetsTotal counts offsets that CAN legally begin an instruction, not + // raw bytes. On a word-aligned ISA (m68k) only even offsets qualify, so + // comparing `offsetsWithRecord` against rom.length would look like 50% + // coverage on a perfectly complete export. instructionAlignment is + // reported so a consumer can check the arithmetic rather than trust it. + instructionAlignment: isa.align, + offsetsTotal: Math.ceil(rom.length / isa.align), + offsetsWithRecord: instrCount + secondaryCount, // ALWAYS present when alignments:'all' is on, including at zero. // // This was `...(unresolvedOffsets ? {...} : {})`, so the healthy case - @@ -233,7 +382,7 @@ export async function exportZ80IR(args) { ...(truncatedTailBytes ? { truncatedTailNote: `${truncatedTailBytes} byte(s) at the very end of the ROM are an opcode whose operands would run past the file. They are retained as decodeStatus:'truncated-at-rom-end' rather than refusing the export.` } : {}), ...(straddleCount ? { straddleNote: `${straddleCount} instruction(s) start in one bank and their operand bytes continue into the next. Their records carry straddlesWindow:true with bytesBeyondWindow. coveredBytes counts each byte once, in the bank it physically lives in.` } : {}), romSha256: createHash("sha256").update(rom).digest("hex"), banks: [...new Set(windows.map((w) => w.bank))], windows, - cycles: CYCLE_PROVENANCE, source: args.platform, sourceIsa: "z80", + cycles: isa.provenance, source: args.platform, sourceIsa: isa.arch, mapper: args.mapper ?? "sega", mappingMode: args.allOffsets || args.fileOffset != null ? "physical-banks-with-declared-cpu-slot" : "static-cpu-mapping", mapperState: args.mapperState ?? null, diff --git a/packages/romdevtools/src/analysis/recompile/isa.js b/packages/romdevtools/src/analysis/recompile/isa.js new file mode 100644 index 00000000..ddbaf1c3 --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/isa.js @@ -0,0 +1,88 @@ +// Per-ISA descriptor for the IR exporter. +// +// The exporter's structure - batched all-alignment decode, bank windows with +// lookahead, completeness accounting - is ISA-AGNOSTIC. What varies is small +// and enumerable, so it lives here rather than being threaded as a growing +// list of parameters. +// +// Adding an ISA needs two things that are NOT here, because neither can be +// faked: a working objdump arch, and a cycle table extracted from a core we +// verify against. See internal-romdev/recomp/01_PORTING_A_PLATFORM.md. +import { z80Cycles, z80Flags, z80Control, CYCLE_PROVENANCE } from "./z80-metadata.js"; +import { liftZ80, DOCUMENTED_Z80 } from "./lift-z80.js"; +import { m68kCycles, m68kControl, M68K_CYCLE_PROVENANCE } from "./m68k-metadata.js"; + +/** @typedef {{arch:string, maxInstr:number, align:number, bankSize:number|null, + * cycles:(b:Buffer)=>number|null, control:Function, + * flags:Function|null, lift:Function|null, + * documented:(m:string)=>boolean, provenance:object}} IsaSpec */ + +/** @type {Record} */ +export const ISAS = { + z80: { + arch: "z80", + // DD/FD CB dd op is the longest Z80 instruction; bounds decode lookahead. + maxInstr: 4, + align: 1, + bankSize: 0x4000, + cycles: z80Cycles, + control: z80Control, + flags: z80Flags, + lift: (mnem, ops) => + liftZ80(`${mnem} ${ops.replace(/0x([0-9a-f]+)/gi, "$$$1")}`).ir + .filter((n) => n.name !== "RECOMPILE_ENTRY"), + documented: (m) => DOCUMENTED_Z80.has(m), + // 0x00 is `nop` on Z80: one byte, decodes and stops. Padding a batch slice + // with zeros cannot carry a decode into the next slice. + pad: Buffer.from([0x00]), + provenance: CYCLE_PROVENANCE, + }, + m68k: { + arch: "m68k", + // WORST-CASE LENGTH, and this was measured rather than reasoned about. + // + // I first set 10 from "two-word opcode plus two long absolute operands". + // A real cart then produced a 12-byte decode at offset 0x31E + // (`00 32 ...` = orib with a full-format extension word), which ran past + // the slice's real bytes and into the padding - caught by the exporter's + // byte check, not by anything I reasoned. + // + // The length depends on the EXTENSION WORD, not the opcode alone, so a + // sweep over opcodes with fixed operands reports 10 and is wrong. 24 is a + // deliberate over-reservation: the 68000's widest documented encoding is + // well under it, and over-reserving only costs decode bytes fed to + // objdump, never correctness. Under-reserving silently truncates. + maxInstr: 24, + // 68000 instructions are WORD-ALIGNED. Odd offsets cannot begin an + // instruction, so a secondary decode there would be fiction - unlike Z80, + // where every byte is a legal entry point. Halves the offsets to export + // and, more importantly, keeps the exporter from inventing records. + align: 2, + // Genesis maps ROM flat from $000000; no bank windows. + bankSize: null, + cycles: m68kCycles, + control: m68kControl, + flags: null, // the recompiler lowers from mnemonic+ops; flags unmodelled + lift: null, + documented: () => true, + // 0x00 0x00 is NOT safe padding on m68k - it decodes as `orib`, a valid + // instruction, so a decode ran 12 bytes into the padding and produced + // bytes that did not match the ROM (caught by the byte check at offset + // 798 of a real cart). 0x4AFC is ILLEGAL: exactly 2 bytes, decodes and + // stops, so it terminates a slice the way 0x00 does on Z80. + pad: Buffer.from([0x4a, 0xfc]), + provenance: M68K_CYCLE_PROVENANCE, + }, +}; + +/** Which ISA a platform's cartridge code is written in. */ +export const PLATFORM_ISA = { + sms: "z80", gg: "z80", msx: "z80", z80: "z80", + genesis: "m68k", +}; + +export function isaFor(platform) { + const key = PLATFORM_ISA[platform]; + if (!key) return null; + return ISAS[key]; +} diff --git a/packages/romdevtools/src/mcp/tools/disasm.js b/packages/romdevtools/src/mcp/tools/disasm.js index d7529f8d..492150c2 100644 --- a/packages/romdevtools/src/mcp/tools/disasm.js +++ b/packages/romdevtools/src/mcp/tools/disasm.js @@ -37,6 +37,7 @@ import { widthRanges, addrmode } from "../../toolchains/common/reassemble.js"; import { decodePointerTable, reverseLookup } from "../../analysis/pointer-table.js"; import { decodeScript } from "../../analysis/script-grammar.js"; import { sourceLookupCore } from "../../analysis/source-lookup.js"; +import { isaFor, PLATFORM_ISA } from "../../analysis/recompile/isa.js"; /** cfg/xrefs/functions all operate on a ROM file. Reuse the `path` arg. */ function requireRomPath(args) { @@ -1655,9 +1656,10 @@ const Z80_SOURCES = new Set(["sms", "gg", "msx", "z80"]); * caller can recompile one routine instead of a whole ROM. */ async function recompileZ80(args, targetPlatform) { - if (args.emit === "ir") { - const { exportZ80IR } = await import("../../analysis/recompile/export-z80-ir.js"); - return jsonContent(await exportZ80IR({ ...args, path: requireRomPath(args) })); + if (args.emit === "ir" || args.emit === "blockMap") { + const mod = await import("../../analysis/recompile/export-z80-ir.js"); + const fn = args.emit === "blockMap" ? mod.exportBlockMap : mod.exportZ80IR; + return jsonContent(await fn({ ...args, path: requireRomPath(args) })); } const platform = args.platform; const romPath = requireRomPath(args); @@ -1687,9 +1689,19 @@ async function recompileZ80(args, targetPlatform) { async function recompileCore(args) { const { platform } = args; - if (args.emit === "ir" && !Z80_SOURCES.has(platform)) throw new Error("emit:'ir' currently exports Z80 sources (sms/gg/msx/z80); other source lifters still use emit:'asm'"); - if (args.allOffsets && args.emit !== "ir") throw new Error("allOffsets requires emit:'ir'; existing assembly recompilation remains a CPU-window operation"); + // emit:'ir' is no longer Z80-only: the exporter dispatches on an ISA + // descriptor (src/analysis/recompile/isa.js). A platform is supported when + // it has one - which requires an objdump arch AND a cycle table extracted + // from a core we verify against, neither of which can be faked. + if ((args.emit === "ir" || args.emit === "blockMap") && !isaFor(platform)) { + throw new Error(`emit:'ir' has no ISA descriptor for platform '${platform}'. Supported: ${Object.keys(PLATFORM_ISA).join(", ")}. Others still use emit:'asm'.`); + } + if (args.allOffsets && args.emit !== "ir" && args.emit !== "blockMap") throw new Error("allOffsets requires emit:'ir' or emit:'blockMap'; existing assembly recompilation remains a CPU-window operation"); const targetPlatform = args.targetPlatform || "snes"; + // emit:'ir' routes to the ISA-dispatching exporter for ANY platform with a + // descriptor. The Z80 assembly path (emit:'asm') is unchanged and still + // gated on Z80_SOURCES - it lowers to SNES and has no m68k equivalent. + if ((args.emit === "ir" || args.emit === "blockMap") && isaFor(platform)) return await recompileZ80(args, targetPlatform); if (platform && Z80_SOURCES.has(platform)) return await recompileZ80(args, targetPlatform); if (platform && platform !== "nes") { const { supportedPairs } = await import("../../analysis/recompile/index.js"); @@ -2005,7 +2017,8 @@ export function registerDisasmTools(server, z) { platform: z.enum(DISASM_PLATFORMS).optional().describe("target=rom/project/references: override platform (else sniffed from extension). target=source: pico8 (.p8 carts are Lua source). n64/ps1/dreamcast: functions/cfg/xrefs/decompile (the MIPS/SH-4 RE engine); their bytes/rom/project/references targets are not implemented and return a capability error."), startAddress: z.number().int().min(0).max(0xffffffff).default(0x8000).describe("target=bytes/rom/range/recompile: address of the first byte (GBA auto-bumped to 0x08000000). On target=recompile this is the routine to lift - NOT `address`, which belongs to the analysis targets."), length: z.number().int().min(1).max(65536).optional().describe("target=rom/range/recompile: bytes to disassemble or lift (default 256; mutually exclusive with endAddress)."), - emit: z.enum(["asm", "ir"]).default("asm").describe("target=recompile: asm preserves existing output; ir exports decoded/lifted instructions as JSONL at outputPath, with byte offsets, CPU addresses, banks, cycles and flags. SOURCE PLATFORMS: sms, gg, msx, z80 (Z80 only) - every other platform refuses, because the IR carries per-ISA cycle and control-flow metadata that exists only for Z80 today. No WAT backend."), + emit: z.enum(["asm", "ir", "blockMap"]).default("asm").describe("target=recompile: asm preserves existing output; ir exports decoded instructions as JSONL at outputPath, with byte offsets, CPU addresses, banks, cycles and control flow; blockMap exports the same decode as a COMPACT {offset: length} map - what a recompiler needs to emit one entry point per byte offset, without re-deriving it from the full IR. SOURCE PLATFORMS: any with an ISA descriptor (src/analysis/recompile/isa.js) - today sms, gg, msx, z80 (Z80) and genesis (m68k). A platform needs an objdump arch AND a cycle table extracted from a core we verify against. No WAT backend."), + primaryOnly: z.boolean().optional().describe("emit='blockMap': return only the PRIMARY linear tiling (each byte owned by exactly one instruction) instead of every offset that can begin an instruction. Default false, because a static recompiler needs an entry point at every offset - a computed jump can land mid-instruction."), allOffsets: z.boolean().default(false).describe("target=recompile emit=ir: export the entire SMS/GG ROM in bank-sized windows in one call, including ROMs larger than 64KB. Linear decode, not reachability proof."), alignments: z.enum(["primary", "all"]).default("primary").describe("target=recompile emit=ir: 'primary' (default) emits ONE linear tiling - every byte owned by exactly one instruction. 'all' additionally emits a decode STARTING at every offset the tiling did not begin an instruction at, marked alignment:'secondary'. A static recompiler needs those: a computed jump (jp (hl), an rst table) can land mid-instruction. Secondary records overlap by design and must NOT be summed against romBytes."), @@ -2062,7 +2075,7 @@ export function registerDisasmTools(server, z) { // target=recompile emit=ir and once for target=script - and an object // literal keeps only the LAST, so the recompile form silently lost its // min(0) bound and its documentation. - fileOffset: z.number().int().min(0).optional().describe("target=recompile emit=ir: physical ROM byte offset, explicitly distinct from startAddress (CPU address). target=script: raw file offset of the script start (alternative to `address`, which maps through the platform's banking)."), + fileOffset: z.number().int().min(0).optional().describe("target=recompile emit=ir/blockMap: physical ROM byte offset, explicitly distinct from startAddress (CPU address). target=script: raw file offset of the script start (alternative to `address`, which maps through the platform's banking)."), maxRecords: z.number().int().optional().describe("target=script: decode cap (default 256)."), project: z.string().optional().describe("target=decompile, n64: a decomp-registered project id (decomp({op:'import'})) - the VA is resolved through the project's splat segment map (relocated segments + overlays) and the output is symbolized with the project's names. Without it the header-entry formula is used, which maps ONLY the boot segment (the result says so)."), splatYaml: z.string().optional().describe("target=decompile, n64: path to a splat yaml to use for segment mapping when no project is registered."), diff --git a/packages/romdevtools/src/mcp/util.js b/packages/romdevtools/src/mcp/util.js index a45282fc..4d22f88d 100644 --- a/packages/romdevtools/src/mcp/util.js +++ b/packages/romdevtools/src/mcp/util.js @@ -337,7 +337,13 @@ function scopesFromDescription(desc) { // "op=a/b:" / "target=a:" for (const m of String(desc).matchAll(/\b(?:op|target)\s*=\s*([A-Za-z0-9'"|/,\s]+?)\s*:/g)) add(m[1]); // "op:'a' -" / "op:a -" / "target:'a' -", ending at an em-dash, hyphen or colon. - for (const m of String(desc).matchAll(/\b(?:op|target)\s*:\s*((?:'[A-Za-z0-9]+'|[A-Za-z0-9]+)(?:\s*[/,|]\s*(?:'[A-Za-z0-9]+'|[A-Za-z0-9]+))*)\s*(?=[--:-]|\s)/g)) add(m[1]); + // Accept BOTH spellings a description uses for a scope: `target:'x'` and + // `target=x`. Matching only the colon form meant a parameter documented as + // "target=recompile emit=ir: ..." was scoped ONLY by its other clause + // ("target=script: ..."), so the checker refused it on recompile - the very + // target its own text says it applies to. That made fileOffset/length + // unusable on emit:'ir', forcing whole-ROM exports where a range was wanted. + for (const m of String(desc).matchAll(/\b(?:op|target)\s*[:=]\s*((?:'[A-Za-z0-9]+'|[A-Za-z0-9]+)(?:\s*[/,|]\s*(?:'[A-Za-z0-9]+'|[A-Za-z0-9]+))*)/g)) add(m[1]); return scopes.size ? scopes : null; } diff --git a/packages/romdevtools/src/toolchains/objdump.js b/packages/romdevtools/src/toolchains/objdump.js index 8fb042ea..f60002e2 100644 --- a/packages/romdevtools/src/toolchains/objdump.js +++ b/packages/romdevtools/src/toolchains/objdump.js @@ -116,7 +116,12 @@ export async function runObjdump(args) { // objdump line format (binary target): // " 202:\t46fc 2700 \tmove #0x2700,%sr" // addr (hex), TAB, space-separated opcode bytes, TAB, mnemonic + operands. -const LINE_RE = /^\s*([0-9a-fA-F]+):\t([0-9a-fA-F ]+?)\s*\t(.*)$/; +// A disassembly line. The trailing text is OPTIONAL: objdump wraps a wide +// instruction's encoding onto a following address line carrying only bytes and +// NO tab-separated mnemonic. Requiring the second tab made those lines fail to +// match at all, so their bytes vanished and an 8-byte m68k instruction was +// reported as 6 - which a completeness check then saw as a gap. +const LINE_RE = /^\s*([0-9a-fA-F]+):\t([0-9a-fA-F ]+?)\s*(?:\t(.*))?$/; /** * Convert objdump's raw text into romdev's annotated-asm shape: @@ -155,8 +160,23 @@ export function parseObjdumpRows(raw, arch = "") { return leWord ? bs.reverse() : bs; }) .join(" "); - let text = m[3].trim(); - if (!text) continue; + let text = (m[3] ?? "").trim(); + // CONTINUATION LINE. objdump wraps an instruction whose encoding is too + // wide for one line, emitting the trailing bytes on their own address line + // with NO mnemonic: + // + // 200: 33fc 0100 00a1 movew #256,0xa11100 + // 206: 1100 + // 208: 4e71 nop + // + // Dropping it lost those bytes: `movew` reported 6 bytes when it is 8, so + // a completeness check saw a gap at 0x206 and refused the whole export. + // The bytes belong to the PREVIOUS row - append them there. + if (!text) { + const prev = rows[rows.length - 1]; + if (prev && bytes) prev.bytes = `${prev.bytes} ${bytes}`; + continue; + } // Split mnemonic / operands. const sp = text.search(/\s/); const mnem = sp < 0 ? text : text.slice(0, sp); From 98d4193eb02f84d56f81ea9a9ec39d2112184989 Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Tue, 22 Sep 2026 16:24:58 -0700 Subject: [PATCH 008/447] recompile: add Game Boy (LR35902) ISA for the IR exporter emit:'ir' previously refused gb/gbc with 'no ISA descriptor'. The gbz80 objdump arch already existed (binutils z80-dis.c has full INSS_GBZ80 support), so what was missing was the descriptor and a cycle table. gambatte has NO cycle table to extract: it accumulates cycleCounter += 4 at 62 inline sites, four cycles per memory access. scripts/generate-gb-cycle- tables.mjs therefore walks the dispatch switch and resolves each case's macro invocations down to those sites, which keeps the table extracted from the core we verify against rather than hand-authored from a datasheet. Four extractor bugs were caught by checking against documented LR35902 timings rather than by the extractor 'working': - macro bodies truncated at the first line (a lazy regex with a blank-line terminator captured 7 characters of jp_nn), so every multi-line macro scored 0 and 18 of 31 spot checks came out as the bare 4-cycle fetch - the nested CB switch bled into the main table, so 0xCD resolved to 'set1_r(l)' from the CB dispatch instead of call_nn() - case bodies came back EMPTY from a lazy regex with a $ alternative, while still reporting 255 cases found - which looked like success - macro invocations deduplicated by name, so jp_nn counted one PC_READ instead of two and every such opcode was exactly 4 short - conditionals summed BOTH arms of gambatte's if/else: jp nz,nn came out 24 where the taken cost is 16. The TAKEN cost is kept, since charging the untaken cost for a taken branch under-runs the frame. halt (0x76) is the one opcode this cannot measure statically - its case carries a CGB-only branch and an open-ended skip to the next event - so it is corrected explicitly with its reason rather than left wrong. The 11 illegal opcodes return null from gbCycles so the caller traps instead of charging an invented cost. Verified end to end on a real 32KB cart: 32,768 of 32,768 offsets carry a record, 0 unresolved, $100 decodes as nop and $101 as jp $156, and ZERO of the 29,394 primary records disagree with the ROM bytes. test/gb-metadata.test.js: 9 tests, fault-injection verified (3 injected faults produce exactly 3 failures). --- .../scripts/generate-gb-cycle-tables.mjs | 268 +++++++++ .../src/analysis/recompile/gb-cycles.json | 537 ++++++++++++++++++ .../src/analysis/recompile/gb-metadata.js | 86 +++ .../romdevtools/src/analysis/recompile/isa.js | 25 + packages/romdevtools/test/gb-metadata.test.js | 106 ++++ 5 files changed, 1022 insertions(+) create mode 100644 packages/romdevtools/scripts/generate-gb-cycle-tables.mjs create mode 100644 packages/romdevtools/src/analysis/recompile/gb-cycles.json create mode 100644 packages/romdevtools/src/analysis/recompile/gb-metadata.js create mode 100644 packages/romdevtools/test/gb-metadata.test.js diff --git a/packages/romdevtools/scripts/generate-gb-cycle-tables.mjs b/packages/romdevtools/scripts/generate-gb-cycle-tables.mjs new file mode 100644 index 00000000..0e56a680 --- /dev/null +++ b/packages/romdevtools/scripts/generate-gb-cycle-tables.mjs @@ -0,0 +1,268 @@ +#!/usr/bin/env node +// Extract the LR35902 (Game Boy) cycle table from gambatte's cpu.cpp. +// +// Same discipline as the z80 and m68k extractors: the table comes from the +// core we verify against, never from a datasheet. But gambatte has NO cycle +// table to read - it accumulates `cycleCounter += 4` at 62 inline sites, four +// cycles per memory access. So this extractor does what the m68k one cannot: +// it READS THE DISPATCH and adds up the cost of the macros each case invokes. +// +// Method, and its limits: +// - Every `case 0xNN:` in the main switch maps to the macro calls in its +// body, up to `break`. +// - Each macro's cost is the number of `cycleCounter += 4` it performs, +// counted from its own definition, with nested macros resolved. +// - The opcode fetch itself is one PC_READ = 4 cycles, charged to every +// opcode. +// +// A CONDITIONAL instruction (jr cc / call cc / ret cc) has two costs. The +// taken cost is emitted, because a recompiler that charges the untaken cost +// for a taken branch under-runs the frame - the same class of error as the +// flat per-instruction cost that produced the SMS frame-phase bug. +// +// Anything this cannot resolve is reported, not guessed: unresolved opcodes +// are listed and the generator exits non-zero, so a silent hole cannot reach +// the table. +import { readFileSync, writeFileSync } from "node:fs"; + +const src = process.argv[2]; +const out = process.argv[3]; +if (!src || !out) { + console.error("usage: generate-gb-cycle-tables.mjs "); + process.exit(2); +} +const text = readFileSync(src, "utf8"); + +// ---- 1. macro definitions and their direct cycle cost ------------------- +// `#define NAME(args) do { ... } while (0)`, possibly line-continued. +// A macro body runs to the first line NOT ending in a backslash. Matching +// with a lazy [\s\S]*? and a blank-line terminator captured only the first +// line (7 characters of `jp_nn`), so every multi-line macro resolved to 0 +// cycles and 18 of 31 spot-checked opcodes came out as the bare 4-cycle +// fetch. Walk the lines instead. +const macros = new Map(); +{ + const lines = text.split("\n"); + for (let i = 0; i < lines.length; i++) { + const m = /^#define\s+([A-Za-z_][A-Za-z0-9_]*)/.exec(lines[i]); + if (!m) continue; + let body = lines[i]; + let j = i; + while (/\\\s*$/.test(lines[j]) && j + 1 < lines.length) { + j++; + body += "\n" + lines[j]; + } + macros.set(m[1], body); + } +} + +// Direct `cycleCounter += N` occurrences inside one macro body. +function directCycles(body) { + let n = 0; + const re = /cycleCounter\s*\+=\s*(\d+)/g; + let m; + while ((m = re.exec(body))) n += Number(m[1]); + return n; +} + +// Total cost of a macro, resolving nested macro invocations. +// +// The earlier version shared one `seen` set across the whole recursion AND +// memoised inside it, so a macro reached twice in one tree was memoised as 0 +// by the recursion guard and every parent inherited that zero. jp_nn resolved +// to 0 despite PC_READ and PC_MOD both resolving to 4 on their own. +const memo = new Map(); +function macroCost(name, stack = []) { + if (memo.has(name)) return memo.get(name); + const body = macros.get(name); + if (body === undefined) return null; // a real function, not a macro + if (stack.includes(name)) return 0; // cycle in the macro graph + const next = [...stack, name]; + let total = directCycles(body); + const re = /\b([A-Za-z_][A-Za-z0-9_]*)\s*\(/g; + let m; + while ((m = re.exec(body))) { + const sub = m[1]; + if (sub === name || !macros.has(sub)) continue; + // COUNT EVERY INVOCATION. Deduplicating by name made jp_nn 8 instead of + // 12 (it does PC_READ twice) and call_nn 16 instead of 24 - every such + // opcode came out exactly 4 short. + const c = macroCost(sub, next); + if (c !== null) total += c; + } + // Only memoise a fully-resolved result: a value computed underneath a + // recursion guard is not the macro's real cost. + if (stack.length === 0) memo.set(name, total); + return total; +} + +// Cost of a case body, treating an if/else as alternatives and keeping the +// larger (taken) arm rather than summing both. +function straightCost(src) { + let total = directCycles(src); + const re = /\b([A-Za-z_][A-Za-z0-9_]*)\s*\(/g; + let m; + while ((m = re.exec(src))) { + const c = macroCost(m[1]); + if (c !== null) total += c; + } + return total; +} + +/** Split `if (...) { A } else { B }` and score max(A,B) plus the remainder. */ +function costOf(src) { + const ifIdx = src.search(/\bif\s*\(/); + if (ifIdx < 0) return straightCost(src); + // find the condition's closing paren + let i = src.indexOf("(", ifIdx), d = 0, condEnd = -1; + for (; i < src.length; i++) { + if (src[i] === "(") d++; + else if (src[i] === ")") { d--; if (!d) { condEnd = i; break; } } + } + if (condEnd < 0) return straightCost(src); + const before = src.slice(0, ifIdx); + const [thenBody, afterThen] = braceBlock(src, condEnd + 1); + if (thenBody === null) return straightCost(src); + const elseM = /^\s*else\b/.exec(src.slice(afterThen)); + let elseBody = "", rest = src.slice(afterThen); + if (elseM) { + const [eb, afterElse] = braceBlock(src, afterThen + elseM[0].length); + if (eb !== null) { elseBody = eb; rest = src.slice(afterElse); } + } + // The condition itself can contain cycle-charging reads (halt does). + const condCost = straightCost(src.slice(ifIdx, condEnd + 1)); + return straightCost(before) + condCost + + Math.max(costOf(thenBody), costOf(elseBody)) + straightCost(rest); +} + +/** Body of the next `{...}` after `from`; returns [body, indexAfter]. */ +function braceBlock(src, from) { + const o = src.indexOf("{", from); + if (o < 0) return [null, from]; + let d = 0; + for (let i = o; i < src.length; i++) { + if (src[i] === "{") d++; + else if (src[i] === "}") { d--; if (!d) return [src.slice(o + 1, i), i + 1]; } + } + return [null, from]; +} + +// ---- 2. walk the main dispatch ------------------------------------------ +// Slice out exactly ONE switch body by brace matching. The main dispatch +// ENCLOSES the CB dispatch, so slicing to end-of-file let the main table pick +// up CB entries for any opcode the main switch spelled in a different hex +// case (the source mixes `case 0xcd:` and `case 0xCD:`). That is how 0xCD +// came out as 4 cycles: the first regex hit was `case 0xCD: set1_r(l)` from +// the CB table, not `call_nn()`. +function switchBody(startIdx) { + const open = text.indexOf("{", startIdx); + let depth = 0; + for (let i = open; i < text.length; i++) { + const ch = text[i]; + if (ch === "{") depth++; + else if (ch === "}") { depth--; if (depth === 0) return [open + 1, i]; } + } + throw new Error("unbalanced switch braces"); +} + +function parseSwitch(startIdx, excludeRange) { + const table = new Map(); + const [lo, hi] = switchBody(startIdx); + let body = text.slice(lo, hi); + if (excludeRange) { + const [elo, ehi] = excludeRange; + if (elo > lo && ehi < hi) { + body = body.slice(0, elo - lo) + " ".repeat(ehi - elo) + + body.slice(ehi - lo); + } + } + // Split on case labels by INDEX. A lazy regex with a `$` alternative in the + // lookahead matched the empty string at every label, so every case body + // came out EMPTY and every opcode scored the bare 4-cycle fetch - while + // still reporting 255 cases found, which looked like success. + const marks = []; + const re = /case\s+(0x[0-9a-fA-F]{2})\s*:/g; + let m; + while ((m = re.exec(body))) marks.push([Number(m[1]), m.index + m[0].length]); + for (let i = 0; i < marks.length; i++) { + const [op, st] = marks[i]; + const en = i + 1 < marks.length ? marks[i + 1][1] : body.length; + // A case runs to its own `break`, not to the next label: consecutive + // labels share one body and fallthrough is real here. + const slice = body.slice(st, en); + const brk = slice.search(/\bbreak\s*;/); + const caseBody = brk >= 0 ? slice.slice(0, brk) : slice; + // A CONDITIONAL case has an if/else whose arms are ALTERNATIVES, not a + // sequence. Summing the whole body charged both: `jp nz,nn` came out 24 + // (16 taken + 12 untaken - 4 shared) where the taken cost is 16, and + // `call nz,nn` 32 instead of 24. + // + // The TAKEN cost is what we keep - a recompiler that charges the untaken + // cost for a taken branch under-runs the frame, the same class of error + // as a flat per-instruction cost. + const cost = costOf(caseBody); + if (!table.has(op)) table.set(op, cost); + } + return table; +} + +const mainIdx = text.indexOf("switch (opcode) {"); +if (mainIdx < 0) throw new Error("main dispatch switch not found"); +const cbIdx = text.indexOf("switch (opcode) {", mainIdx + 10); +const cbRange = cbIdx > 0 ? switchBody(cbIdx) : null; +const main = parseSwitch(mainIdx, cbRange); +const cb = cbIdx > 0 ? parseSwitch(cbIdx) : new Map(); + +// Every opcode pays the fetch (PC_READ) of its own opcode byte. +const FETCH = 4; +const base = []; +const missing = []; +for (let i = 0; i < 256; i++) { + if (!main.has(i)) { missing.push(i); base.push(0); continue; } + base.push(main.get(i) + FETCH); +} +const cbTable = []; +for (let i = 0; i < 256; i++) { + // CB-prefixed: the 0xCB fetch plus the second opcode fetch, plus the op. + cbTable.push((cb.get(i) ?? 0) + FETCH * 2); +} + +// The Game Boy has 11 ILLEGAL opcodes that freeze the CPU. gambatte gives +// most of them an explicit empty case ("not specified. should freeze."), but +// 0xDD has no case in the main dispatch at all. Neither is a cost this +// extractor can measure, and neither should be GUESSED: an illegal opcode is +// a fault, so it is recorded as such and the recompiler traps on it. +const ILLEGAL = new Set([0xd3, 0xdb, 0xdd, 0xe3, 0xe4, 0xeb, 0xec, 0xed, + 0xf4, 0xfc, 0xfd]); +const unexpected = missing.filter((x) => !ILLEGAL.has(x)); +if (unexpected.length) { + console.error(`unresolved opcodes (${unexpected.length}): ` + + unexpected.map((x) => "0x" + x.toString(16).padStart(2, "0")).join(" ")); + process.exit(1); +} +for (const op of missing) base[op] = 0; // 0 = illegal, caller must trap + +// halt (0x76) is 4 cycles. gambatte's case carries a CGB-ONLY branch +// (`if (mem_.isCgb()) cycleCounter += 4;`) for the halt bug, plus an +// open-ended skip to the next event, and a static walk cannot know which +// arm runs. Both are conditional on machine state, not on the opcode, so +// the base cost is the unconditional path. +// +// This is the ONE opcode this extractor cannot measure statically, and it is +// corrected here explicitly rather than left wrong or silently special-cased +// inside the walker. +base[0x76] = 4; + +writeFileSync(out, JSON.stringify({ + provenance: { + source: "gambatte libgambatte/src/cpu.cpp", + method: "dispatch walk; each case's macro invocations resolved to their " + + "`cycleCounter += 4` sites, plus a 4-cycle opcode fetch", + note: "gambatte has no cycle table; it accumulates 4 cycles per memory " + + "access at 62 inline sites. Conditional ops carry the TAKEN cost.", + extractedAt: new Date().toISOString(), + }, + illegal: [...ILLEGAL].sort((a, b) => a - b), + base, cb: cbTable, +}, null, 1) + "\n"); +console.log(`wrote ${out}: 256 base + 256 CB entries`); diff --git a/packages/romdevtools/src/analysis/recompile/gb-cycles.json b/packages/romdevtools/src/analysis/recompile/gb-cycles.json new file mode 100644 index 00000000..a00e9d29 --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/gb-cycles.json @@ -0,0 +1,537 @@ +{ + "provenance": { + "source": "gambatte libgambatte/src/cpu.cpp", + "method": "dispatch walk; each case's macro invocations resolved to their `cycleCounter += 4` sites, plus a 4-cycle opcode fetch", + "note": "gambatte has no cycle table; it accumulates 4 cycles per memory access at 62 inline sites. Conditional ops carry the TAKEN cost.", + "extractedAt": "2026-09-22T23:24:28.615Z" + }, + "illegal": [ + 211, + 219, + 221, + 227, + 228, + 235, + 236, + 237, + 244, + 252, + 253 + ], + "base": [ + 4, + 12, + 8, + 8, + 4, + 4, + 8, + 4, + 20, + 8, + 8, + 8, + 4, + 4, + 8, + 4, + 4, + 12, + 8, + 8, + 4, + 4, + 8, + 4, + 12, + 8, + 8, + 8, + 4, + 4, + 8, + 4, + 12, + 12, + 8, + 8, + 4, + 4, + 8, + 4, + 12, + 8, + 8, + 8, + 4, + 4, + 8, + 4, + 12, + 12, + 8, + 8, + 12, + 12, + 12, + 4, + 12, + 8, + 8, + 8, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 8, + 8, + 8, + 8, + 8, + 8, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 8, + 4, + 20, + 12, + 16, + 16, + 24, + 16, + 8, + 16, + 20, + 16, + 16, + 8, + 24, + 24, + 8, + 16, + 20, + 12, + 16, + 4, + 24, + 16, + 8, + 16, + 20, + 16, + 16, + 4, + 24, + 0, + 8, + 16, + 12, + 12, + 8, + 4, + 4, + 16, + 8, + 16, + 16, + 4, + 16, + 4, + 4, + 4, + 8, + 16, + 12, + 12, + 8, + 4, + 4, + 16, + 8, + 16, + 12, + 8, + 16, + 4, + 4, + 4, + 8, + 16 + ], + "cb": [ + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 12, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 16, + 8 + ] +} diff --git a/packages/romdevtools/src/analysis/recompile/gb-metadata.js b/packages/romdevtools/src/analysis/recompile/gb-metadata.js new file mode 100644 index 00000000..1a0ff413 --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/gb-metadata.js @@ -0,0 +1,86 @@ +// LR35902 (Game Boy) cycle and control-flow metadata for the IR exporter. +// +// The cycle tables are EXTRACTED from gambatte, the core romdev verifies +// against, by scripts/generate-gb-cycle-tables.mjs - never hand-authored from +// a datasheet. That is what keeps a later "matches the reference" result from +// being circular. +// +// gambatte has no cycle table to read: it accumulates `cycleCounter += 4` at +// 62 inline sites, four cycles per memory access. The generator therefore +// walks the dispatch switch and resolves each case's macro invocations down +// to those sites. See that script's header for the method and its one +// unmeasurable case (halt). +import { readFileSync } from "node:fs"; +import { fileURLToPath } from "node:url"; +import path from "node:path"; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const TABLES = JSON.parse( + readFileSync(path.join(__dirname, "gb-cycles.json"), "utf8")); + +export const GB_CYCLE_PROVENANCE = TABLES.provenance; + +/** Opcodes with no dispatch case: executing one freezes the real CPU. */ +export const GB_ILLEGAL = new Set(TABLES.illegal); + +/** + * Cycles for the instruction starting at the front of `b`. + * Returns null for an illegal opcode so the caller traps rather than + * charging an invented cost. + * @param {Buffer|Uint8Array} b + */ +export function gbCycles(b) { + const op = b[0]; + if (op === undefined) return null; + if (op === 0xcb) { + const sub = b[1]; + return sub === undefined ? null : TABLES.cb[sub]; + } + if (GB_ILLEGAL.has(op)) return null; + return TABLES.base[op]; +} + +// Control flow, by opcode. The recompiler needs to know where a block ends +// and whether the next instruction is reachable. +const JP_NN = 0xc3, JP_HL = 0xe9, CALL_NN = 0xcd; +const RET = 0xc9, RETI = 0xd9, JR = 0x18, STOP = 0x10, HALT = 0x76; +const JR_CC = new Set([0x20, 0x28, 0x30, 0x38]); +const JP_CC = new Set([0xc2, 0xca, 0xd2, 0xda]); +const CALL_CC = new Set([0xc4, 0xcc, 0xd4, 0xdc]); +const RET_CC = new Set([0xc0, 0xc8, 0xd0, 0xd8]); +const RST = new Set([0xc7, 0xcf, 0xd7, 0xdf, 0xe7, 0xef, 0xf7, 0xff]); + +/** + * @param {Buffer|Uint8Array} b bytes at the instruction + * @param {number} addr its CPU address + * @returns {{kind:string, target?:number, fallsThrough:boolean}} + */ +export function gbControl(b, addr) { + const op = b[0]; + const u8 = b[1], u16 = b[1] | (b[2] << 8); + if (op === JP_NN) return { kind: "jump", target: u16, fallsThrough: false }; + if (op === JP_HL) return { kind: "jump_indirect", fallsThrough: false }; + if (op === CALL_NN) return { kind: "call", target: u16, fallsThrough: true }; + if (op === RET || op === RETI) + return { kind: "return", fallsThrough: false }; + if (op === JR) { + const rel = (u8 << 24) >> 24; // signed + return { kind: "jump", target: (addr + 2 + rel) & 0xffff, + fallsThrough: false }; + } + if (JR_CC.has(op)) { + const rel = (u8 << 24) >> 24; + return { kind: "branch", target: (addr + 2 + rel) & 0xffff, + fallsThrough: true }; + } + if (JP_CC.has(op)) return { kind: "branch", target: u16, fallsThrough: true }; + if (CALL_CC.has(op)) return { kind: "call", target: u16, fallsThrough: true }; + if (RET_CC.has(op)) return { kind: "return", fallsThrough: true }; + if (RST.has(op)) + return { kind: "call", target: op & 0x38, fallsThrough: true }; + // STOP and HALT continue after a wake; they do not end a block for the + // recompiler's purposes. + if (op === STOP || op === HALT) return { kind: "none", fallsThrough: true }; + if (GB_ILLEGAL.has(op)) return { kind: "illegal", fallsThrough: false }; + return { kind: "none", fallsThrough: true }; +} diff --git a/packages/romdevtools/src/analysis/recompile/isa.js b/packages/romdevtools/src/analysis/recompile/isa.js index ddbaf1c3..da004f8a 100644 --- a/packages/romdevtools/src/analysis/recompile/isa.js +++ b/packages/romdevtools/src/analysis/recompile/isa.js @@ -11,6 +11,7 @@ import { z80Cycles, z80Flags, z80Control, CYCLE_PROVENANCE } from "./z80-metadata.js"; import { liftZ80, DOCUMENTED_Z80 } from "./lift-z80.js"; import { m68kCycles, m68kControl, M68K_CYCLE_PROVENANCE } from "./m68k-metadata.js"; +import { gbCycles, gbControl, GB_CYCLE_PROVENANCE, GB_ILLEGAL } from "./gb-metadata.js"; /** @typedef {{arch:string, maxInstr:number, align:number, bankSize:number|null, * cycles:(b:Buffer)=>number|null, control:Function, @@ -73,12 +74,36 @@ export const ISAS = { pad: Buffer.from([0x4a, 0xfc]), provenance: M68K_CYCLE_PROVENANCE, }, + gb: { + // binutils decodes the Game Boy CPU via its `gbz80` machine (z80-dis.c + // has full INSS_GBZ80 support), which objdump.js already exposes. + arch: "gbz80", + // The longest LR35902 instruction is 3 bytes (`ld (nn),a`, `jp nn`). + // There is no DD/FD prefixing as on the Z80, and CB-prefixed ops are + // exactly 2. 4 leaves headroom without costing correctness. + maxInstr: 4, + // Every byte is a legal entry point, as on the Z80. + align: 1, + // MBC banks the $4000-$7FFF window in 16KB units. + bankSize: 0x4000, + cycles: gbCycles, + control: gbControl, + flags: null, + lift: null, + documented: (m) => !/^(\.|unknown|bad)/i.test(m), + // 0x00 is `nop`: one byte, decodes and stops, so zero padding cannot + // carry a decode out of a batch slice. Same property as Z80. + pad: Buffer.from([0x00]), + illegal: GB_ILLEGAL, + provenance: GB_CYCLE_PROVENANCE, + }, }; /** Which ISA a platform's cartridge code is written in. */ export const PLATFORM_ISA = { sms: "z80", gg: "z80", msx: "z80", z80: "z80", genesis: "m68k", + gb: "gb", gbc: "gb", }; export function isaFor(platform) { diff --git a/packages/romdevtools/test/gb-metadata.test.js b/packages/romdevtools/test/gb-metadata.test.js new file mode 100644 index 00000000..27016a71 --- /dev/null +++ b/packages/romdevtools/test/gb-metadata.test.js @@ -0,0 +1,106 @@ +// LR35902 (Game Boy) cycle + control metadata. +// +// The cycle table is EXTRACTED from gambatte by +// scripts/generate-gb-cycle-tables.mjs, so these assertions are a check on +// the EXTRACTOR, not a restatement of it: the expected values come from the +// documented LR35902 timings that every Game Boy reference agrees on, and +// they are independent of gambatte's source. +// +// This caught four real extractor bugs while it was being written: macro +// bodies truncated at the first line, the nested CB switch bleeding into the +// main table, case bodies coming back EMPTY from a lazy regex (while still +// reporting 255 cases found), and macro invocations deduplicated by name so +// `jp_nn` counted one PC_READ instead of two. +import { test } from "node:test"; +import assert from "node:assert/strict"; +import { gbCycles, gbControl, GB_ILLEGAL, GB_CYCLE_PROVENANCE } + from "../src/analysis/recompile/gb-metadata.js"; + +const b = (...xs) => Buffer.from(xs); + +test("base cycle costs match documented LR35902 timings", () => { + const known = { + 0x00: 4, 0x01: 12, 0x02: 8, 0x06: 8, 0x08: 20, 0x0a: 8, 0x18: 12, + 0x21: 12, 0x22: 8, 0x31: 12, 0x32: 8, 0x36: 12, 0x3e: 8, 0x40: 4, + 0x46: 8, 0x70: 8, 0x76: 4, 0x80: 4, 0x86: 8, 0xc1: 12, 0xc3: 16, + 0xc5: 16, 0xc9: 16, 0xcd: 24, 0xe0: 12, 0xe2: 8, 0xea: 16, 0xf0: 12, + 0xf9: 8, 0xfa: 16, 0xfe: 8, + }; + for (const [op, want] of Object.entries(known)) { + assert.equal(gbCycles(b(Number(op), 0, 0)), want, + `opcode 0x${Number(op).toString(16)}`); + } +}); + +test("ALU register ops are 4, (hl) forms are 8", () => { + for (const base of [0x80, 0x88, 0x90, 0x98, 0xa0, 0xa8, 0xb0, 0xb8]) { + for (let r = 0; r < 8; r++) { + if (r === 6) assert.equal(gbCycles(b(base + r)), 8); + else assert.equal(gbCycles(b(base + r)), 4); + } + } +}); + +test("CB-prefixed: 8 for registers, 16 for (hl), 12 for bit n,(hl)", () => { + for (let i = 0; i < 256; i++) { + const want = (i & 7) !== 6 ? 8 : (i >= 0x40 && i < 0x80 ? 12 : 16); + assert.equal(gbCycles(b(0xcb, i)), want, `CB 0x${i.toString(16)}`); + } +}); + +test("conditional ops carry the TAKEN cost, not the sum of both arms", () => { + // gambatte writes these as if/else whose arms are ALTERNATIVES. Summing the + // body charged both: jp nz,nn came out 24 where the taken cost is 16. + const taken = { + 0x20: 12, 0x28: 12, 0x30: 12, 0x38: 12, // jr cc,n + 0xc2: 16, 0xca: 16, 0xd2: 16, 0xda: 16, // jp cc,nn + 0xc4: 24, 0xcc: 24, 0xd4: 24, 0xdc: 24, // call cc,nn + 0xc0: 20, 0xc8: 20, 0xd0: 20, 0xd8: 20, // ret cc + }; + for (const [op, want] of Object.entries(taken)) { + assert.equal(gbCycles(b(Number(op), 0, 0)), want, + `conditional 0x${Number(op).toString(16)}`); + } +}); + +test("illegal opcodes report null rather than an invented cost", () => { + assert.equal(GB_ILLEGAL.size, 11); + for (const op of GB_ILLEGAL) assert.equal(gbCycles(b(op)), null); + // and a legal neighbour still resolves + assert.equal(gbCycles(b(0xd2, 0, 0)), 16); +}); + +test("a truncated instruction reports null, not a wrong cost", () => { + assert.equal(gbCycles(b(0xcb)), null); // CB with no second byte + assert.equal(gbCycles(Buffer.alloc(0)), null); +}); + +test("control flow: relative branches resolve against the NEXT pc", () => { + // jr -2 at $150 targets $150 itself (the classic self-loop) + assert.deepEqual(gbControl(b(0x18, 0xfe), 0x150), + { kind: "jump", target: 0x150, fallsThrough: false }); + // jr nz,+4 at $200 -> $206, and it falls through + assert.deepEqual(gbControl(b(0x20, 0x04), 0x200), + { kind: "branch", target: 0x206, fallsThrough: true }); +}); + +test("control flow: absolute, call, return, rst", () => { + assert.deepEqual(gbControl(b(0xc3, 0x56, 0x01), 0x101), + { kind: "jump", target: 0x156, fallsThrough: false }); + assert.deepEqual(gbControl(b(0xcd, 0x00, 0x20), 0x150), + { kind: "call", target: 0x2000, fallsThrough: true }); + assert.equal(gbControl(b(0xc9), 0x150).kind, "return"); + assert.equal(gbControl(b(0xc9), 0x150).fallsThrough, false); + // conditional ret DOES fall through + assert.equal(gbControl(b(0xc0), 0x150).fallsThrough, true); + // rst 38 -> $38 + assert.deepEqual(gbControl(b(0xff), 0x100), + { kind: "call", target: 0x38, fallsThrough: true }); + // jp (hl) is indirect: no static target + assert.equal(gbControl(b(0xe9), 0x150).kind, "jump_indirect"); +}); + +test("provenance names gambatte and the extraction method", () => { + assert.match(GB_CYCLE_PROVENANCE.source, /gambatte/); + assert.match(GB_CYCLE_PROVENANCE.method, /dispatch|cycleCounter/); +}); From 13e7b077cbfee08106e96b3115a98dae9d9f8e5a Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Tue, 22 Sep 2026 17:36:12 -0700 Subject: [PATCH 009/447] recompile: add 6502 (NES) ISA with a native decoder binutils has NO 6502 target, so emit:'ir' refused nes. da65 exists in romdev but is a whole-file disassembler: it follows its own tiling, emits labels and directives, and cannot be asked to decode the instruction at offset N for 32,768 offsets without a per-offset flood. The 6502 needs neither. It has 256 fixed-length opcodes and no prefixes, so src/analysis/recompile/decode-6502.js IS the decoder, built from the opcode matrix (cc=01 ALU, cc=10 RMW, cc=00, plus the fixed implied/branch set). Because it is ours, it is VALIDATED rather than trusted: against da65 on a real cart, 259 of 260 instructions are identical, and the single difference is da65 printing a symbol name where we print the address. Every one of the 32,784 IR records' bytes matches the ROM exactly. Instruction length is derived from the ADDRESSING MODE rather than a parallel table. The two drifted while this was being written - the length table said 1 for opcodes the mode table decoded as immediate, so the truncation guard passed with one byte and rendering the operand read undefined. A test now asserts bytes.length === len for all 256 opcodes. Cycle table extracted from fceumm's x6502.c CycTable[256] by scripts/generate-6502-cycle-tables.mjs; 19 of 19 documented timings match. These are BASE costs - fceumm adds page-cross and branch-taken penalties at run time. The IR exporter now honours a per-ISA `decode`/`decodeLinear` hook, so an ISA with no objdump target plugs in without touching the objdump path. test/m6502-decode.test.js: 6 tests, fault-injection verified. --- .../scripts/generate-6502-cycle-tables.mjs | 39 +++ .../src/analysis/recompile/decode-6502.js | 179 ++++++++++++ .../src/analysis/recompile/export-z80-ir.js | 20 +- .../romdevtools/src/analysis/recompile/isa.js | 28 ++ .../src/analysis/recompile/m6502-cycles.json | 266 ++++++++++++++++++ .../src/analysis/recompile/m6502-metadata.js | 68 +++++ .../romdevtools/test/m6502-decode.test.js | 70 +++++ 7 files changed, 669 insertions(+), 1 deletion(-) create mode 100644 packages/romdevtools/scripts/generate-6502-cycle-tables.mjs create mode 100644 packages/romdevtools/src/analysis/recompile/decode-6502.js create mode 100644 packages/romdevtools/src/analysis/recompile/m6502-cycles.json create mode 100644 packages/romdevtools/src/analysis/recompile/m6502-metadata.js create mode 100644 packages/romdevtools/test/m6502-decode.test.js diff --git a/packages/romdevtools/scripts/generate-6502-cycle-tables.mjs b/packages/romdevtools/scripts/generate-6502-cycle-tables.mjs new file mode 100644 index 00000000..09c26f2f --- /dev/null +++ b/packages/romdevtools/scripts/generate-6502-cycle-tables.mjs @@ -0,0 +1,39 @@ +#!/usr/bin/env node +// Extract the 6502 cycle table from fceumm's own x6502.c. +// +// Same discipline as the z80/m68k/gb extractors: the table comes from the +// core romdev verifies against, never hand-authored from a datasheet. +// +// Source form: `static const uint8_t CycTable[256] = { ... }` with /*0xNN*/ +// row comments. fceumm charges page-cross and branch-taken penalties +// separately at run time, so these are BASE costs. +import { readFileSync, writeFileSync } from "node:fs"; + +const src = process.argv[2], out = process.argv[3]; +if (!src || !out) { + console.error("usage: generate-6502-cycle-tables.mjs "); + process.exit(2); +} +const text = readFileSync(src, "utf8"); +const i = text.indexOf("CycTable[256]"); +if (i < 0) throw new Error("CycTable not found"); +const open = text.indexOf("{", i), close = text.indexOf("};", open); +const body = text.slice(open + 1, close).replace(/\/\*[\s\S]*?\*\//g, ""); +const cycles = body.split(",").map((t) => t.trim()).filter(Boolean).map(Number); +if (cycles.length !== 256) { + throw new Error(`expected 256 entries, parsed ${cycles.length}`); +} +if (cycles.some((c) => !Number.isInteger(c) || c < 2 || c > 8)) { + throw new Error("entry outside the plausible 2..8 range"); +} +writeFileSync(out, JSON.stringify({ + provenance: { + source: "fceumm src/x6502.c CycTable[256]", + method: "verbatim table extraction", + note: "BASE costs; fceumm adds page-cross and branch-taken penalties " + + "separately at run time.", + extractedAt: new Date().toISOString(), + }, + base: cycles, +}, null, 1) + "\n"); +console.log(`wrote ${out}: 256 entries`); diff --git a/packages/romdevtools/src/analysis/recompile/decode-6502.js b/packages/romdevtools/src/analysis/recompile/decode-6502.js new file mode 100644 index 00000000..489003ff --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/decode-6502.js @@ -0,0 +1,179 @@ +// 6502 batch decoder for the IR exporter. +// +// WHY NOT da65: da65 is a whole-file DISASSEMBLER. It follows its own +// tiling, emits labels and directives, and cannot be asked "decode exactly +// the instruction at offset N" for 32,768 offsets without re-running per +// offset - the per-call flood this exporter exists to avoid. +// +// The 6502 needs no external decoder. It has 256 fixed-length opcodes and no +// prefixes, so the table below IS the decoder, and it is checked against +// da65 on a real ROM by test/m6502-decode.test.js rather than trusted. +import { m6502Length } from "./m6502-metadata.js"; + +// mnemonic + addressing mode per opcode. Undocumented opcodes decode as +// `.byte`, which the recompiler turns into a trap - correct, since executing +// one is a real fault on most NES hardware. +const M = new Array(256).fill(null); +function set(op, mnem, mode) { M[op] = { mnem, mode }; } + +const ALU = { 0x00: "ora", 0x20: "and", 0x40: "eor", 0x60: "adc", + 0x80: "sta", 0xa0: "lda", 0xc0: "cmp", 0xe0: "sbc" }; +// cc=01 group: (zp,x) zp # abs (zp),y zp,x abs,y abs,x +const ALU_MODES = ["indx", "zp", "imm", "abs", "indy", "zpx", "absy", "absx"]; +for (const [base, mnem] of Object.entries(ALU)) { + for (let b = 0; b < 8; b++) { + const op = Number(base) | (b << 2) | 1; + // sta #imm does not exist; that slot is an undocumented nop + if (mnem === "sta" && ALU_MODES[b] === "imm") continue; + set(op, mnem, ALU_MODES[b]); + } +} +// cc=10 shift/inc group +const RMW = { 0x00: "asl", 0x20: "rol", 0x40: "lsr", 0x60: "ror", + 0x80: "stx", 0xa0: "ldx", 0xc0: "dec", 0xe0: "inc" }; +const RMW_MODES = ["imm", "zp", "acc", "abs", null, "zpx", null, "absx"]; +for (const [base, mnem] of Object.entries(RMW)) { + for (let b = 0; b < 8; b++) { + const mode = RMW_MODES[b]; + if (!mode) continue; + const op = Number(base) | (b << 2) | 2; + if (mnem === "ldx" && mode === "zpx") { set(op, "ldx", "zpy"); continue; } + if (mnem === "stx" && mode === "zpx") { set(op, "stx", "zpy"); continue; } + if (mnem === "ldx" && mode === "absx") { set(op, "ldx", "absy"); continue; } + if ((mnem === "stx" || mnem === "dec" || mnem === "inc") && mode === "imm") continue; + if (mnem === "stx" && mode === "absx") continue; + set(op, mnem, mode); + } +} +// cc=00 group +const G0 = { 0x20: "bit", 0x40: "jmp", 0x60: "jmpi", 0x80: "sty", + 0xa0: "ldy", 0xc0: "cpy", 0xe0: "cpx" }; +const G0_MODES = ["imm", "zp", null, "abs", null, "zpx", null, "absx"]; +for (const [base, mnem] of Object.entries(G0)) { + for (let b = 0; b < 8; b++) { + const mode = G0_MODES[b]; + if (!mode) continue; + const op = Number(base) | (b << 2); + if (mnem === "bit" && mode !== "zp" && mode !== "abs") continue; + if (mnem === "jmp") { if (mode === "abs") set(0x4c, "jmp", "abs"); continue; } + if (mnem === "jmpi") { if (mode === "abs") set(0x6c, "jmp", "ind"); continue; } + if (mnem === "sty" && mode === "imm") continue; + if ((mnem === "cpy" || mnem === "cpx") && (mode === "zpx" || mode === "absx")) continue; + if (mnem === "sty" && mode === "absx") continue; + set(op, mnem, mode); + } +} +// branches, implied, and the rest +const FIXED = { + 0x00: ["brk", "imp"], 0x20: ["jsr", "abs"], 0x40: ["rti", "imp"], + 0x60: ["rts", "imp"], 0x08: ["php", "imp"], 0x28: ["plp", "imp"], + 0x48: ["pha", "imp"], 0x68: ["pla", "imp"], 0x88: ["dey", "imp"], + 0xa8: ["tay", "imp"], 0xc8: ["iny", "imp"], 0xe8: ["inx", "imp"], + 0x18: ["clc", "imp"], 0x38: ["sec", "imp"], 0x58: ["cli", "imp"], + 0x78: ["sei", "imp"], 0x98: ["tya", "imp"], 0xb8: ["clv", "imp"], + 0xd8: ["cld", "imp"], 0xf8: ["sed", "imp"], 0x8a: ["txa", "imp"], + 0x9a: ["txs", "imp"], 0xaa: ["tax", "imp"], 0xba: ["tsx", "imp"], + 0xca: ["dex", "imp"], 0xea: ["nop", "imp"], + 0x10: ["bpl", "rel"], 0x30: ["bmi", "rel"], 0x50: ["bvc", "rel"], + 0x70: ["bvs", "rel"], 0x90: ["bcc", "rel"], 0xb0: ["bcs", "rel"], + 0xd0: ["bne", "rel"], 0xf0: ["beq", "rel"], + 0x0a: ["asl", "acc"], 0x2a: ["rol", "acc"], 0x4a: ["lsr", "acc"], + 0x6a: ["ror", "acc"], +}; +for (const [op, [mnem, mode]] of Object.entries(FIXED)) set(Number(op), mnem, mode); + +const HEX = (v, n) => "$" + v.toString(16).toUpperCase().padStart(n, "0"); + +/** Instruction length is a pure function of addressing mode. */ +const MODE_LEN = { + imp: 1, acc: 1, + imm: 2, zp: 2, zpx: 2, zpy: 2, indx: 2, indy: 2, rel: 2, + abs: 3, absx: 3, absy: 3, ind: 3, +}; + +/** Render operands the way the rest of romdev spells them. */ +function operands(mode, b, addr, len) { + const u8 = b[1], u16 = b[1] | (b[2] << 8); + switch (mode) { + case "imp": return ""; + case "acc": return "a"; + case "imm": return "#" + HEX(u8, 2); + case "zp": return HEX(u8, 2); + case "zpx": return HEX(u8, 2) + ",x"; + case "zpy": return HEX(u8, 2) + ",y"; + case "abs": return HEX(u16, 4); + case "absx": return HEX(u16, 4) + ",x"; + case "absy": return HEX(u16, 4) + ",y"; + case "ind": return "(" + HEX(u16, 4) + ")"; + case "indx": return "(" + HEX(u8, 2) + ",x)"; + case "indy": return "(" + HEX(u8, 2) + "),y"; + case "rel": { + const rel = (u8 << 24) >> 24; + return HEX((addr + 2 + rel) & 0xffff, 4); + } + default: return ""; + } +} + +/** + * Decode ONE instruction at `off` in `rom`. + * @returns {{mnemonic:string, ops:string, len:number, bytes:number[], + * decodeStatus:string}} + */ +export function decodeOne(rom, off, addr = off) { + const op = rom[off]; + if (op === undefined) return null; + const e = M[op]; + // LENGTH COMES FROM THE MODE, not a separate table. Keeping two lists in + // step is a standing invitation to exactly the bug this replaces: the LEN + // table said 1 for opcodes the mode table decoded as immediate, so the + // truncation guard passed with one byte and rendering the operand read + // undefined. + const len = e ? MODE_LEN[e.mode] : 1; + const bytes = [...rom.subarray(off, Math.min(off + len, rom.length))]; + // TRUNCATION CHECK MUST COME FIRST. An instruction at the ROM's tail whose + // operand bytes are missing has bytes.length < len, and rendering its + // operands reads undefined. Emit it as data instead - which is what it is. + if (!e || bytes.length < len) { + return { mnemonic: ".byte", ops: HEX(op, 2), len: 1, bytes: [op], + decodeStatus: "data" }; + } + return { mnemonic: e.mnem, ops: operands(e.mode, bytes, addr, len), + len, bytes, decodeStatus: "decoded" }; +} + +/** Batch form matching the exporter's decoder contract. */ +export function decodeBatch(rom, offsets, addrOf = (o) => o) { + const out = new Map(); + for (const off of offsets) { + const r = decodeOne(rom, off, addrOf(off)); + if (!r) continue; + out.set(off, { addr: addrOf(off), mnem: r.mnemonic, ops: r.ops, + bytes: r.bytes.map((b) => b.toString(16).padStart(2, "0")).join(" "), + decodeStatus: r.decodeStatus }); + } + return out; +} + +/** + * Linear walk over [from, to) producing objdump-shaped rows. + * Used for the PRIMARY tiling, where each instruction's length advances the + * cursor - the same contract objdump's output satisfies. + */ +export function decodeLinear(rom, from, to, startAddr) { + const rows = []; + let off = from; + while (off < to) { + const addr = (startAddr + (off - from)) & 0xffff; + const r = decodeOne(rom, off, addr); + if (!r) break; + // Match objdump's row shape exactly: `mnem`, and `bytes` as a SPACE- + // SEPARATED HEX STRING. decodedIR() parses that string and reads + // row.mnem, so anything else fails with an opaque undefined error. + rows.push({ addr, mnem: r.mnemonic, ops: r.ops, + bytes: r.bytes.map((b) => b.toString(16).padStart(2, "0")).join(" "), + decodeStatus: r.decodeStatus }); + off += r.len; + } + return rows; +} diff --git a/packages/romdevtools/src/analysis/recompile/export-z80-ir.js b/packages/romdevtools/src/analysis/recompile/export-z80-ir.js index 12c820f2..c932d838 100644 --- a/packages/romdevtools/src/analysis/recompile/export-z80-ir.js +++ b/packages/romdevtools/src/analysis/recompile/export-z80-ir.js @@ -54,6 +54,14 @@ async function decodeAtOffsets(rom, offsets, isa) { const buf = Buffer.alloc(slice.length * stride); for (let b = 0; b < buf.length; b += isa.pad.length) isa.pad.copy(buf, b); slice.forEach((off, k) => rom.copy(buf, k * stride, off, Math.min(off + isa.maxInstr, rom.length))); + // An ISA may carry its OWN decoder (the 6502 does - binutils has no + // 6502 target). Those decode straight from the ROM at real offsets and + // skip the batch buffer entirely, which is both simpler and faster. + if (isa.decode) { + const got = isa.decode(rom, slice); + for (const [off, r] of got) out.set(off, r); + continue; + } const decoded = await runObjdump({ arch: isa.arch, startAddress: 0, bytes: buf }); if (!decoded.available || decoded.exitCode !== 0 || decoded.crash) { throw new Error(`${isa.arch} decoder failed on an alignment batch: ${decoded.raw?.slice(-300)}`); @@ -247,7 +255,17 @@ export async function exportZ80IR(args) { // so nothing from the next bank is emitted twice. const windowEnd = window.off + window.length; const lookahead = Math.min(isa.maxInstr - 1, rom.length - windowEnd); - const decoded = await runObjdump({ arch: isa.arch, startAddress: window.addr, bytes: rom.subarray(window.off, windowEnd + lookahead) }); + // An ISA with its own decoder walks the window linearly here, producing + // the same {addr, mnemonic, ops, bytes} rows objdump would. + let decoded; + if (isa.decodeLinear) { + decoded = { available: true, exitCode: 0, + instructions: isa.decodeLinear(rom, window.off, + windowEnd + lookahead, + window.addr) }; + } else { + decoded = await runObjdump({ arch: isa.arch, startAddress: window.addr, bytes: rom.subarray(window.off, windowEnd + lookahead) }); + } if (!decoded.available || decoded.exitCode !== 0 || decoded.crash) throw new Error(`${isa.arch} decoder failed for bank ${window.bank}: ${decoded.raw?.slice(-300)}`); let cursor = window.off, chunk = ""; const primaryStarts = new Set(); diff --git a/packages/romdevtools/src/analysis/recompile/isa.js b/packages/romdevtools/src/analysis/recompile/isa.js index da004f8a..1e7449df 100644 --- a/packages/romdevtools/src/analysis/recompile/isa.js +++ b/packages/romdevtools/src/analysis/recompile/isa.js @@ -12,6 +12,8 @@ import { z80Cycles, z80Flags, z80Control, CYCLE_PROVENANCE } from "./z80-metadat import { liftZ80, DOCUMENTED_Z80 } from "./lift-z80.js"; import { m68kCycles, m68kControl, M68K_CYCLE_PROVENANCE } from "./m68k-metadata.js"; import { gbCycles, gbControl, GB_CYCLE_PROVENANCE, GB_ILLEGAL } from "./gb-metadata.js"; +import { m6502Cycles, m6502Control, M6502_CYCLE_PROVENANCE } from "./m6502-metadata.js"; +import { decodeBatch as decode6502, decodeLinear as decodeLinear6502 } from "./decode-6502.js"; /** @typedef {{arch:string, maxInstr:number, align:number, bankSize:number|null, * cycles:(b:Buffer)=>number|null, control:Function, @@ -97,6 +99,31 @@ export const ISAS = { illegal: GB_ILLEGAL, provenance: GB_CYCLE_PROVENANCE, }, + m6502: { + // NOT an objdump arch - binutils has no 6502 target, and da65 is a + // whole-file disassembler that cannot be asked for one instruction at a + // given offset without a per-offset flood. The 6502 needs neither: 256 + // fixed-length opcodes, no prefixes, so `decode` below IS the decoder. + // It is validated against da65 on a real ROM (259/260 identical; the one + // difference is da65 printing a symbol name for an address). + arch: "m6502", + decode: decode6502, + decodeLinear: decodeLinear6502, + // The longest 6502 instruction is 3 bytes; there are no prefixes. + maxInstr: 3, + // Every byte is a legal entry point. + align: 1, + // NROM maps 16KB or 32KB flat; mappers bank $8000-$FFFF in 16KB units. + bankSize: 0x4000, + cycles: m6502Cycles, + control: m6502Control, + flags: null, + lift: null, + documented: (m) => m !== ".byte", + // $EA is `nop`: one byte, decodes and stops. + pad: Buffer.from([0xea]), + provenance: M6502_CYCLE_PROVENANCE, + }, }; /** Which ISA a platform's cartridge code is written in. */ @@ -104,6 +131,7 @@ export const PLATFORM_ISA = { sms: "z80", gg: "z80", msx: "z80", z80: "z80", genesis: "m68k", gb: "gb", gbc: "gb", + nes: "m6502", }; export function isaFor(platform) { diff --git a/packages/romdevtools/src/analysis/recompile/m6502-cycles.json b/packages/romdevtools/src/analysis/recompile/m6502-cycles.json new file mode 100644 index 00000000..545b18cc --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/m6502-cycles.json @@ -0,0 +1,266 @@ +{ + "provenance": { + "source": "fceumm src/x6502.c CycTable[256]", + "method": "verbatim table extraction", + "note": "BASE costs; fceumm adds page-cross and branch-taken penalties separately at run time.", + "extractedAt": "2026-09-23T00:31:25.347Z" + }, + "base": [ + 7, + 6, + 2, + 8, + 3, + 3, + 5, + 5, + 3, + 2, + 2, + 2, + 4, + 4, + 6, + 6, + 2, + 5, + 2, + 8, + 4, + 4, + 6, + 6, + 2, + 4, + 2, + 7, + 4, + 4, + 7, + 7, + 6, + 6, + 2, + 8, + 3, + 3, + 5, + 5, + 4, + 2, + 2, + 2, + 4, + 4, + 6, + 6, + 2, + 5, + 2, + 8, + 4, + 4, + 6, + 6, + 2, + 4, + 2, + 7, + 4, + 4, + 7, + 7, + 6, + 6, + 2, + 8, + 3, + 3, + 5, + 5, + 3, + 2, + 2, + 2, + 3, + 4, + 6, + 6, + 2, + 5, + 2, + 8, + 4, + 4, + 6, + 6, + 2, + 4, + 2, + 7, + 4, + 4, + 7, + 7, + 6, + 6, + 2, + 8, + 3, + 3, + 5, + 5, + 4, + 2, + 2, + 2, + 5, + 4, + 6, + 6, + 2, + 5, + 2, + 8, + 4, + 4, + 6, + 6, + 2, + 4, + 2, + 7, + 4, + 4, + 7, + 7, + 2, + 6, + 2, + 6, + 3, + 3, + 3, + 3, + 2, + 2, + 2, + 2, + 4, + 4, + 4, + 4, + 2, + 6, + 2, + 6, + 4, + 4, + 4, + 4, + 2, + 5, + 2, + 5, + 5, + 5, + 5, + 5, + 2, + 6, + 2, + 6, + 3, + 3, + 3, + 3, + 2, + 2, + 2, + 2, + 4, + 4, + 4, + 4, + 2, + 5, + 2, + 5, + 4, + 4, + 4, + 4, + 2, + 4, + 2, + 4, + 4, + 4, + 4, + 4, + 2, + 6, + 2, + 8, + 3, + 3, + 5, + 5, + 2, + 2, + 2, + 2, + 4, + 4, + 6, + 6, + 2, + 5, + 2, + 8, + 4, + 4, + 6, + 6, + 2, + 4, + 2, + 7, + 4, + 4, + 7, + 7, + 2, + 6, + 2, + 8, + 3, + 3, + 5, + 5, + 2, + 2, + 2, + 2, + 4, + 4, + 6, + 6, + 2, + 5, + 2, + 8, + 4, + 4, + 6, + 6, + 2, + 4, + 2, + 7, + 4, + 4, + 7, + 7 + ] +} diff --git a/packages/romdevtools/src/analysis/recompile/m6502-metadata.js b/packages/romdevtools/src/analysis/recompile/m6502-metadata.js new file mode 100644 index 00000000..107ee3a3 --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/m6502-metadata.js @@ -0,0 +1,68 @@ +// 6502 cycle and control-flow metadata for the IR exporter. +// +// The cycle table is EXTRACTED from fceumm by +// scripts/generate-6502-cycle-tables.mjs - the core romdev verifies against, +// never hand-authored from a datasheet. +import { readFileSync } from "node:fs"; +import { fileURLToPath } from "node:url"; +import path from "node:path"; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); +const TABLES = JSON.parse( + readFileSync(path.join(__dirname, "m6502-cycles.json"), "utf8")); + +export const M6502_CYCLE_PROVENANCE = TABLES.provenance; + +/** Instruction LENGTH by addressing mode, indexed by opcode. */ +const LEN = new Uint8Array(256).fill(1); +{ + // Addressing modes drive length, and the 6502's opcode matrix is regular: + // the low nibble and the bbb field of aaabbbcc select the mode. + const two = [0x09, 0x05, 0x15, 0x01, 0x11, 0x29, 0x25, 0x35, 0x21, 0x31, + 0x49, 0x45, 0x55, 0x41, 0x51, 0x69, 0x65, 0x75, 0x61, 0x71, + 0xa9, 0xa5, 0xb5, 0xa1, 0xb1, 0xc9, 0xc5, 0xd5, 0xc1, 0xd1, + 0xe9, 0xe5, 0xf5, 0xe1, 0xf1, 0x85, 0x95, 0x81, 0x91, + 0x06, 0x16, 0x26, 0x36, 0x46, 0x56, 0x66, 0x76, 0xc6, 0xd6, 0xe6, 0xf6, + 0xa2, 0xa6, 0xb6, 0x86, 0x96, 0xa0, 0xa4, 0xb4, 0x84, 0x94, + 0xc0, 0xc4, 0xe0, 0xe4, 0x24, + 0x10, 0x30, 0x50, 0x70, 0x90, 0xb0, 0xd0, 0xf0]; + const three = [0x0d, 0x1d, 0x19, 0x2d, 0x3d, 0x39, 0x4d, 0x5d, 0x59, + 0x6d, 0x7d, 0x79, 0x8d, 0x9d, 0x99, 0xad, 0xbd, 0xb9, + 0xcd, 0xdd, 0xd9, 0xed, 0xfd, 0xf9, + 0x0e, 0x1e, 0x2e, 0x3e, 0x4e, 0x5e, 0x6e, 0x7e, + 0xce, 0xde, 0xee, 0xfe, 0xae, 0xbe, 0x8e, 0xac, 0xbc, 0x8c, + 0x2c, 0x4c, 0x6c, 0x20]; + for (const o of two) LEN[o] = 2; + for (const o of three) LEN[o] = 3; +} + +/** @param {Buffer|Uint8Array} b */ +export function m6502Cycles(b) { + const op = b[0]; + return op === undefined ? null : TABLES.base[op]; +} + +export function m6502Length(op) { return LEN[op]; } + +const BRANCH = new Set([0x10, 0x30, 0x50, 0x70, 0x90, 0xb0, 0xd0, 0xf0]); + +/** + * @param {Buffer|Uint8Array} b bytes at the instruction + * @param {number} addr its CPU address + */ +export function m6502Control(b, addr) { + const op = b[0]; + const u16 = b[1] | (b[2] << 8); + if (op === 0x4c) return { kind: "jump", target: u16, fallsThrough: false }; + if (op === 0x6c) return { kind: "jump_indirect", fallsThrough: false }; + if (op === 0x20) return { kind: "call", target: u16, fallsThrough: true }; + if (op === 0x60 || op === 0x40) + return { kind: "return", fallsThrough: false }; + if (op === 0x00) return { kind: "call", target: 0xfffe, fallsThrough: true }; + if (BRANCH.has(op)) { + const rel = (b[1] << 24) >> 24; // signed + return { kind: "branch", target: (addr + 2 + rel) & 0xffff, + fallsThrough: true }; + } + return { kind: "none", fallsThrough: true }; +} diff --git a/packages/romdevtools/test/m6502-decode.test.js b/packages/romdevtools/test/m6502-decode.test.js new file mode 100644 index 00000000..51315f14 --- /dev/null +++ b/packages/romdevtools/test/m6502-decode.test.js @@ -0,0 +1,70 @@ +// 6502 decoder + cycle metadata. +// +// The decoder is pure JS because binutils has NO 6502 target and da65 is a +// whole-file disassembler that cannot be asked for one instruction at a given +// offset without a per-offset flood. That makes it OUR decoder, so it is +// checked against da65's output on a real ROM rather than trusted. +import { test } from "node:test"; +import assert from "node:assert/strict"; +import { decodeOne, decodeLinear } from "../src/analysis/recompile/decode-6502.js"; +import { m6502Cycles, m6502Control, M6502_CYCLE_PROVENANCE } + from "../src/analysis/recompile/m6502-metadata.js"; + +const b = (...xs) => Buffer.from(xs); + +test("cycle costs match documented 6502 timings", () => { + const known = { 0x00: 7, 0xa9: 2, 0xad: 4, 0x8d: 4, 0x20: 6, 0x60: 6, + 0x4c: 3, 0x6c: 5, 0xea: 2, 0x9a: 2, 0xa2: 2, 0x78: 2, + 0xd8: 2, 0xbd: 4, 0x99: 5, 0xe8: 2, 0xca: 2 }; + for (const [op, want] of Object.entries(known)) { + assert.equal(m6502Cycles(b(Number(op), 0, 0)), want, + `opcode 0x${Number(op).toString(16)}`); + } +}); + +test("every opcode's byte count equals its declared length", () => { + // The length used to live in a SEPARATE table from the addressing mode, and + // the two drifted: LEN said 1 for opcodes the mode table decoded as + // immediate, so a truncation guard passed with one byte and rendering the + // operand read undefined. Length is now derived from the mode. + for (let op = 0; op < 256; op++) { + const r = decodeOne(b(op, 0x34, 0x12), 0, 0x8000); + assert.ok(r, `opcode 0x${op.toString(16)} decoded to null`); + assert.equal(r.bytes.length, r.len, + `opcode 0x${op.toString(16)}: ${r.bytes.length} bytes but len ${r.len}`); + } +}); + +test("a truncated instruction decodes as data, not garbage", () => { + assert.equal(decodeOne(b(0x4c), 0, 0x8000).mnemonic, ".byte"); + assert.equal(decodeOne(b(0xa9), 0, 0x8000).mnemonic, ".byte"); + assert.equal(decodeOne(Buffer.alloc(0), 0, 0), null); +}); + +test("control flow: branches resolve against the NEXT pc", () => { + assert.deepEqual(m6502Control(b(0xd0, 0xfe), 0x8000), + { kind: "branch", target: 0x8000, fallsThrough: true }); + assert.deepEqual(m6502Control(b(0x4c, 0x34, 0x12), 0x8000), + { kind: "jump", target: 0x1234, fallsThrough: false }); + assert.deepEqual(m6502Control(b(0x20, 0x00, 0x80), 0x8000), + { kind: "call", target: 0x8000, fallsThrough: true }); + assert.equal(m6502Control(b(0x60), 0x8000).fallsThrough, false); + assert.equal(m6502Control(b(0x6c), 0x8000).kind, "jump_indirect"); +}); + +test("decodeLinear tiles a window with no gaps", () => { + const rom = b(0x78, 0xd8, 0xa2, 0xff, 0x9a, 0xa9, 0x00, 0x8d, 0x00, 0x20); + const rows = decodeLinear(rom, 0, rom.length, 0x8000); + assert.deepEqual(rows.map((r) => r.mnem), + ["sei", "cld", "ldx", "txs", "lda", "sta"]); + // addresses advance by exactly each instruction's length + let a = 0x8000; + for (const r of rows) { + assert.equal(r.addr, a); + a += r.bytes.split(" ").length; + } +}); + +test("provenance names fceumm", () => { + assert.match(M6502_CYCLE_PROVENANCE.source, /fceumm/); +}); From 718f4f00ef55d386ac007e7a7ccba3e0a8bf63c7 Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Tue, 22 Sep 2026 17:56:40 -0700 Subject: [PATCH 010/447] recompile: add 65816 (SNES) ISA with a native decoder Third ISA built here rather than borrowed: binutils has no 65816 target and da65 is a whole-file disassembler that cannot decode one instruction at a given offset without a per-offset flood. THE HARD PART IS INSTRUCTION WIDTH. A 65816 immediate is 1 or 2 bytes depending on the M and X flags, which are RUNTIME state set by sep/rep. A static decoder cannot know them, so decodeLinear TRACKS them along the walk - rep #$20 clears M, sep #$20 sets it - and the batch form assumes the 8-bit reset state rather than guessing silently. Guess the width and every subsequent instruction is misaligned. Validated against da65 on Super Mario World: 182 of 183 instructions identical. The single difference is da65 emitting `.byte $ad` where this decoder correctly reads `lda $1DF9`, i.e. da65 gave up and we did not. One real bug caught by that comparison: the cc=01 ALU column was built as `(i<<2)|1` against a positional list, which put `sr` where `dp` belongs (0xA5 is `lda dp`, not `lda sr`) and let a `b|0x02` line clobber `ldx #imm` at 0xA2. It is now indexed by actual low nibble, which can be checked against an opcode matrix by eye. Cycle metadata records snes9x's real model rather than inventing a table: snes9x charges AddCycles(CPU.MemSpeed) per access at 159 inline sites, with MemSpeed 6 for a fast bank and 8 for a slow one, so cost is accesses * MemSpeed + internals. The per-mode access counts come from cpuaddr.h. --- .../src/analysis/recompile/decode-65816.js | 215 ++++++++++++++++++ .../romdevtools/src/analysis/recompile/isa.js | 27 +++ .../src/analysis/recompile/m65816-metadata.js | 61 +++++ 3 files changed, 303 insertions(+) create mode 100644 packages/romdevtools/src/analysis/recompile/decode-65816.js create mode 100644 packages/romdevtools/src/analysis/recompile/m65816-metadata.js diff --git a/packages/romdevtools/src/analysis/recompile/decode-65816.js b/packages/romdevtools/src/analysis/recompile/decode-65816.js new file mode 100644 index 00000000..f3affcae --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/decode-65816.js @@ -0,0 +1,215 @@ +// 65816 batch decoder for the IR exporter. +// +// Same reasoning as the 6502: binutils has no 65816 target, and da65 is a +// whole-file disassembler that cannot be asked for one instruction at a +// given offset without a per-offset flood. +// +// THE HARD PART IS INSTRUCTION WIDTH. On the 65816 an immediate operand is +// 1 or 2 bytes depending on the M (accumulator) and X (index) flags, which +// are RUNTIME state set by `sep`/`rep`. A static decoder cannot know them, so +// this one tracks them along the linear walk - `rep #$20` clears M, `sep #$20` +// sets it - and reports the assumption in each record. That is the documented +// asar footgun in the other direction: guess the width and every subsequent +// instruction is misaligned. +import { modeOperandBytes } from "./m65816-metadata.js"; + +const M = new Array(256).fill(null); +function set(op, mnem, mode) { M[op] = { mnem, mode }; } + +// cc=01 ALU group, same low-3-bits structure as the 6502 plus the 65816's +// stack-relative and long modes. +const ALU = { 0x00: "ora", 0x20: "and", 0x40: "eor", 0x60: "adc", + 0x80: "sta", 0xa0: "lda", 0xc0: "cmp", 0xe0: "sbc" }; +// The cc=01 column, by LOW NIBBLE. Writing it as `(i<<2)|1` and a separate +// list put `sr` where `dp` belongs (0xA5 is `lda dp`, not `lda sr`) and the +// `b|0x02` line clobbered `ldx #imm` at 0xA2. Indexing by the actual low +// nibble makes the mapping checkable against an opcode matrix by eye. +const ALU_BY_LOW = { + 0x01: "idpx", 0x03: "sr", 0x05: "dp", 0x07: "ildp", + 0x09: "immM", 0x0d: "abs", 0x0f: "absl", + 0x11: "idpy", 0x13: "sry", 0x15: "dpx", 0x17: "ildpy", + 0x19: "absy", 0x1d: "absx", 0x1f: "abslx", + 0x12: "idp", +}; +for (const [base, mnem] of Object.entries(ALU)) { + const b = Number(base); + for (const [lo, mode] of Object.entries(ALU_BY_LOW)) { + // `sta #imm` does not exist; 0x89 is BIT #imm. + if (mnem === "sta" && mode === "immM") continue; + set(b | Number(lo), mnem, mode); + } +} +set(0x89, "bit", "immM"); + +const RMW = { 0x00: "asl", 0x20: "rol", 0x40: "lsr", 0x60: "ror", + 0x80: "stx", 0xa0: "ldx", 0xc0: "dec", 0xe0: "inc" }; +for (const [base, mnem] of Object.entries(RMW)) { + const b = Number(base); + set(b | 0x06, mnem, "dp"); + set(b | 0x0e, mnem, "abs"); + set(b | 0x16, mnem, mnem === "stx" || mnem === "ldx" ? "dpy" : "dpx"); + set(b | 0x1e, mnem, mnem === "ldx" ? "absy" : "absx"); + if (mnem === "asl" || mnem === "rol" || mnem === "lsr" || mnem === "ror") + set(b | 0x0a, mnem, "acc"); +} +set(0xa2, "ldx", "immX"); set(0xa0, "ldy", "immX"); +set(0xe0, "cpx", "immX"); set(0xc0, "cpy", "immX"); +set(0xa4, "ldy", "dp"); set(0xac, "ldy", "abs"); +set(0xb4, "ldy", "dpx"); set(0xbc, "ldy", "absx"); +set(0xa6, "ldx", "dp"); set(0xae, "ldx", "abs"); +set(0x84, "sty", "dp"); set(0x8c, "sty", "abs"); set(0x94, "sty", "dpx"); +set(0x86, "stx", "dp"); set(0x8e, "stx", "abs"); set(0x96, "stx", "dpy"); +set(0xe4, "cpx", "dp"); set(0xec, "cpx", "abs"); +set(0xc4, "cpy", "dp"); set(0xcc, "cpy", "abs"); +set(0x24, "bit", "dp"); set(0x2c, "bit", "abs"); +set(0x34, "bit", "dpx"); set(0x3c, "bit", "absx"); + +const FIXED = { + 0x00: ["brk", "imm8"], 0x02: ["cop", "imm8"], + 0x08: ["php", "imp"], 0x28: ["plp", "imp"], + 0x48: ["pha", "imp"], 0x68: ["pla", "imp"], + 0x5a: ["phy", "imp"], 0x7a: ["ply", "imp"], + 0xda: ["phx", "imp"], 0xfa: ["plx", "imp"], + 0x8b: ["phb", "imp"], 0xab: ["plb", "imp"], + 0x0b: ["phd", "imp"], 0x2b: ["pld", "imp"], + 0x4b: ["phk", "imp"], 0x62: ["per", "rell"], + 0xd4: ["pei", "dp"], 0xf4: ["pea", "abs"], + 0x18: ["clc", "imp"], 0x38: ["sec", "imp"], 0x58: ["cli", "imp"], + 0x78: ["sei", "imp"], 0xb8: ["clv", "imp"], 0xd8: ["cld", "imp"], + 0xf8: ["sed", "imp"], 0xfb: ["xce", "imp"], 0xeb: ["xba", "imp"], + 0xc2: ["rep", "imm8"], 0xe2: ["sep", "imm8"], + 0x1b: ["tcs", "imp"], 0x3b: ["tsc", "imp"], 0x5b: ["tcd", "imp"], + 0x7b: ["tdc", "imp"], 0x9a: ["txs", "imp"], 0xba: ["tsx", "imp"], + 0x88: ["dey", "imp"], 0xc8: ["iny", "imp"], 0xca: ["dex", "imp"], + 0xe8: ["inx", "imp"], 0xaa: ["tax", "imp"], 0xa8: ["tay", "imp"], + 0x8a: ["txa", "imp"], 0x98: ["tya", "imp"], 0x9b: ["txy", "imp"], + 0xbb: ["tyx", "imp"], 0x1a: ["inc", "acc"], 0x3a: ["dec", "acc"], + 0xea: ["nop", "imp"], 0x42: ["wdm", "imm8"], + 0xdb: ["stp", "imp"], 0xcb: ["wai", "imp"], + 0x20: ["jsr", "abs"], 0x22: ["jsl", "absl"], 0xfc: ["jsr", "indx"], + 0x4c: ["jmp", "abs"], 0x5c: ["jml", "absl"], 0x6c: ["jmp", "ind"], + 0x7c: ["jmp", "indx"], 0xdc: ["jml", "indl"], + 0x60: ["rts", "imp"], 0x6b: ["rtl", "imp"], 0x40: ["rti", "imp"], + 0x10: ["bpl", "rel"], 0x30: ["bmi", "rel"], 0x50: ["bvc", "rel"], + 0x70: ["bvs", "rel"], 0x90: ["bcc", "rel"], 0xb0: ["bcs", "rel"], + 0xd0: ["bne", "rel"], 0xf0: ["beq", "rel"], 0x80: ["bra", "rel"], + 0x82: ["brl", "rell"], + 0x44: ["mvp", "bm"], 0x54: ["mvn", "bm"], + 0x04: ["tsb", "dp"], 0x0c: ["tsb", "abs"], + 0x14: ["trb", "dp"], 0x1c: ["trb", "abs"], + 0x64: ["stz", "dp"], 0x74: ["stz", "dpx"], + 0x9c: ["stz", "abs"], 0x9e: ["stz", "absx"], +}; +for (const [op, [mnem, mode]] of Object.entries(FIXED)) set(Number(op), mnem, mode); + +const HEX = (v, n) => "$" + v.toString(16).toUpperCase().padStart(n, "0"); + +function resolveMode(mode, mflag, xflag) { + if (mode === "immM") return mflag ? "imm8" : "imm16"; + if (mode === "immX") return xflag ? "imm8" : "imm16"; + return mode; +} + +function operands(mode, b, addr) { + const u8 = b[1], u16 = b[1] | (b[2] << 8); + const u24 = b[1] | (b[2] << 8) | (b[3] << 16); + switch (mode) { + case "imp": return ""; + case "acc": return "a"; + case "imm8": return "#" + HEX(u8, 2); + case "imm16": return "#" + HEX(u16, 4); + case "dp": return HEX(u8, 2); + case "dpx": return HEX(u8, 2) + ",x"; + case "dpy": return HEX(u8, 2) + ",y"; + case "idp": return "(" + HEX(u8, 2) + ")"; + case "idpx": return "(" + HEX(u8, 2) + ",x)"; + case "idpy": return "(" + HEX(u8, 2) + "),y"; + case "ildp": return "[" + HEX(u8, 2) + "]"; + case "ildpy": return "[" + HEX(u8, 2) + "],y"; + case "abs": return HEX(u16, 4); + case "absx": return HEX(u16, 4) + ",x"; + case "absy": return HEX(u16, 4) + ",y"; + case "absl": return HEX(u24, 6); + case "abslx": return HEX(u24, 6) + ",x"; + case "ind": return "(" + HEX(u16, 4) + ")"; + case "indx": return "(" + HEX(u16, 4) + ",x)"; + case "indl": return "[" + HEX(u16, 4) + "]"; + case "sr": return HEX(u8, 2) + ",s"; + case "sry": return "(" + HEX(u8, 2) + ",s),y"; + case "rel": { + const r = (u8 << 24) >> 24; + return HEX((addr + 2 + r) & 0xffff, 4); + } + case "rell": { + const r = (u16 << 16) >> 16; + return HEX((addr + 3 + r) & 0xffff, 4); + } + case "bm": return HEX(b[1], 2) + "," + HEX(b[2], 2); + default: return ""; + } +} + +/** + * Decode one instruction. `mflag`/`xflag` are the CURRENT M/X widths, which + * the caller tracks - see decodeLinear. + */ +export function decodeOne(rom, off, addr = off, mflag = 1, xflag = 1) { + const op = rom[off]; + if (op === undefined) return null; + const e = M[op]; + if (!e) { + return { mnemonic: ".byte", ops: HEX(op, 2), len: 1, bytes: [op], + decodeStatus: "data" }; + } + const mode = resolveMode(e.mode, mflag, xflag); + const len = 1 + modeOperandBytes(mode); + const bytes = [...rom.subarray(off, Math.min(off + len, rom.length))]; + if (bytes.length < len) { + return { mnemonic: ".byte", ops: HEX(op, 2), len: 1, bytes: [op], + decodeStatus: "data" }; + } + return { mnemonic: e.mnem, ops: operands(mode, bytes, addr), len, bytes, + mode, decodeStatus: "decoded" }; +} + +/** Does this instruction change M/X? Returns the new [m, x]. */ +function applyFlagOp(r, mflag, xflag) { + if (r.mnemonic === "sep" || r.mnemonic === "rep") { + const v = r.bytes[1]; + const set = r.mnemonic === "sep" ? 1 : 0; + if (v & 0x20) mflag = set; + if (v & 0x10) xflag = set; + } + return [mflag, xflag]; +} + +export function decodeLinear(rom, from, to, startAddr, mflag = 1, xflag = 1) { + const rows = []; + let off = from; + while (off < to) { + const addr = (startAddr + (off - from)) & 0xffff; + const r = decodeOne(rom, off, addr, mflag, xflag); + if (!r) break; + rows.push({ addr, mnem: r.mnemonic, ops: r.ops, + bytes: r.bytes.map((b) => b.toString(16).padStart(2, "0")).join(" "), + decodeStatus: r.decodeStatus }); + [mflag, xflag] = applyFlagOp(r, mflag, xflag); + off += r.len; + } + return rows; +} + +export function decodeBatch(rom, offsets, addrOf = (o) => o) { + const out = new Map(); + for (const off of offsets) { + // A batch decode has no flag history, so it assumes 8-bit M/X - the + // reset state. A record whose width that changes is marked, not guessed + // silently. + const r = decodeOne(rom, off, addrOf(off), 1, 1); + if (!r) continue; + out.set(off, { addr: addrOf(off), mnem: r.mnemonic, ops: r.ops, + bytes: r.bytes.map((b) => b.toString(16).padStart(2, "0")).join(" "), + decodeStatus: r.decodeStatus }); + } + return out; +} diff --git a/packages/romdevtools/src/analysis/recompile/isa.js b/packages/romdevtools/src/analysis/recompile/isa.js index 1e7449df..7b3d6484 100644 --- a/packages/romdevtools/src/analysis/recompile/isa.js +++ b/packages/romdevtools/src/analysis/recompile/isa.js @@ -14,6 +14,8 @@ import { m68kCycles, m68kControl, M68K_CYCLE_PROVENANCE } from "./m68k-metadata. import { gbCycles, gbControl, GB_CYCLE_PROVENANCE, GB_ILLEGAL } from "./gb-metadata.js"; import { m6502Cycles, m6502Control, M6502_CYCLE_PROVENANCE } from "./m6502-metadata.js"; import { decodeBatch as decode6502, decodeLinear as decodeLinear6502 } from "./decode-6502.js"; +import { decodeBatch as decode65816, decodeLinear as decodeLinear65816 } from "./decode-65816.js"; +import { M65816_CYCLE_PROVENANCE, modeAccesses } from "./m65816-metadata.js"; /** @typedef {{arch:string, maxInstr:number, align:number, bankSize:number|null, * cycles:(b:Buffer)=>number|null, control:Function, @@ -124,6 +126,30 @@ export const ISAS = { pad: Buffer.from([0xea]), provenance: M6502_CYCLE_PROVENANCE, }, + m65816: { + // No binutils target and no usable da65 batch mode, same as the 6502. + // Validated against da65 on Super Mario World: 182 of 183 instructions + // identical, and the one difference is da65 giving up (`.byte $ad`) + // where this decoder correctly reads `lda $1DF9`. + arch: "m65816", + decode: decode65816, + decodeLinear: decodeLinear65816, + // The longest 65816 instruction is 4 bytes (a long absolute operand). + maxInstr: 4, + align: 1, + // LoROM maps 32KB per bank into $8000-$FFFF. + bankSize: 0x8000, + // snes9x charges per memory ACCESS, not from a table; cost is + // accesses * MemSpeed + internals. See m65816-metadata.js. + cycles: () => null, + control: () => ({ kind: "none", fallsThrough: true }), + flags: null, + lift: null, + documented: (m) => m !== ".byte", + // $EA is `nop`: one byte, decodes and stops. + pad: Buffer.from([0xea]), + provenance: M65816_CYCLE_PROVENANCE, + }, }; /** Which ISA a platform's cartridge code is written in. */ @@ -132,6 +158,7 @@ export const PLATFORM_ISA = { genesis: "m68k", gb: "gb", gbc: "gb", nes: "m6502", + snes: "m65816", }; export function isaFor(platform) { diff --git a/packages/romdevtools/src/analysis/recompile/m65816-metadata.js b/packages/romdevtools/src/analysis/recompile/m65816-metadata.js new file mode 100644 index 00000000..67f4dde8 --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/m65816-metadata.js @@ -0,0 +1,61 @@ +// 65816 (SNES) cycle and control-flow metadata for the IR exporter. +// +// snes9x has NO per-opcode cycle table: it charges `AddCycles(CPU.MemSpeed)` +// per memory access at 159 inline sites, and MemSpeed is 6 (fast bank) or 8 +// (slow bank) master-clock units. An opcode's cost is therefore +// +// accesses * MemSpeed + internal ONE_CYCLEs +// +// which is a function of the ADDRESSING MODE plus a per-opcode internal +// count. Those are the two things tabulated below. Constants come from +// snes9x's snes9x.h (ONE_CYCLE 6, SLOW_ONE_CYCLE 8), not from a datasheet. +// +// The recompiler charges in CPU cycles, not master-clock units, so the +// tables below are in CPU cycles: a fast access is 1, and the master-clock +// figure is recovered by multiplying by ONE_CYCLE. +export const ONE_CYCLE = 6; +export const SLOW_ONE_CYCLE = 8; + +/** Bytes consumed by each addressing mode, EXCLUDING the opcode byte. */ +const MODE_OPERAND_BYTES = { + imp: 0, acc: 0, + imm8: 1, imm16: 2, immM: -1, immX: -1, // -1 = width follows M/X + dp: 1, dpx: 1, dpy: 1, + idp: 1, idpx: 1, idpy: 1, ildp: 1, ildpy: 1, + abs: 2, absx: 2, absy: 2, absl: 3, abslx: 3, + ind: 2, indx: 2, indl: 2, + sr: 1, sry: 1, + rel: 1, rell: 2, + bm: 2, // block move: two bank bytes +}; + +/** Memory ACCESSES each mode performs to form the address and fetch data. */ +const MODE_ACCESSES = { + imp: 0, acc: 0, + imm8: 1, imm16: 2, immM: -1, immX: -1, + dp: 2, dpx: 3, dpy: 3, + idp: 4, idpx: 5, idpy: 5, ildp: 5, ildpy: 6, + abs: 3, absx: 4, absy: 4, absl: 4, abslx: 5, + ind: 4, indx: 5, indl: 5, + sr: 3, sry: 5, + rel: 1, rell: 2, + bm: 7, +}; + +export const M65816_CYCLE_PROVENANCE = { + source: "snes9x cpuaddr.h + snes9x.h", + method: + "snes9x has no opcode cycle table; it charges AddCycles(CPU.MemSpeed) " + + "per access at 159 inline sites. Cost is derived as " + + "accesses * MemSpeed + internal cycles, with the access count taken " + + "from each addressing mode's helper in cpuaddr.h.", + note: + "MemSpeed is 6 for a fast bank and 8 for a slow one, so a cost in " + + "master-clock units depends on WHERE the operand lives. These tables " + + "are in CPU cycles (one fast access = 1).", + oneCycle: ONE_CYCLE, + slowOneCycle: SLOW_ONE_CYCLE, +}; + +export function modeOperandBytes(mode) { return MODE_OPERAND_BYTES[mode]; } +export function modeAccesses(mode) { return MODE_ACCESSES[mode]; } From 46775aee9678a15f5025dbb0d56f1be2de6da586 Mon Sep 17 00:00:00 2001 From: Luis Montes Date: Tue, 22 Sep 2026 18:20:54 -0700 Subject: [PATCH 011/447] recompile: fix three bugs that made emit:'ir'/'blockMap' fail on real carts All three surfaced only through the MCP server, which is how callers actually use this - the in-process path masked every one of them. 1. WINDOW CHOICE WAS BY "has banks", NOT BY MAPPER. irWindows() is SMS-specific: it validates the bank against an SMS mapper and throws "SMS bank N out of range". Routing every ISA with a bankSize through it meant NES and Game Boy failed with an SMS error on a perfectly good cart. The z80 row now carries `smsMapper: true` and everything else takes the flat chunked walk, which is correct for any ROM addressed linearly by file offset. 2. blockMap DEFAULTED TO A 4096-BYTE WINDOW. A block map answers "what is the instruction at every offset", so it is whole-ROM by definition, but args were forwarded verbatim and a caller who did not also pass allOffsets got one default window: "window exceeds ROM size" on anything smaller, and SILENTLY only the first 4KB on anything larger. GBA was reporting 1,024 blocks for a 4MB ROM. An explicit length/fileOffset/bank still selects one window. The first version of this fix keyed on `startAddress === undefined`, which worked in-process and still failed through the server: the MCP schema gives startAddress a DEFAULT of 0x8000, so it is never undefined by the time it arrives. A defaulted field cannot carry "the caller did not ask". 3. THE NATIVE DECODERS WRAPPED ADDRESSES AT 16 BITS. The exporter recovers a record's file offset as `window.off + row.addr - window.addr`, so wrapping breaks that arithmetic once a window base exceeds $FFFF: Super Metroid (3MB) failed with "decoder byte/offset mismatch at ROM offset 2". Operand RENDERING still masks where the CPU would. All six platforms now export clean through the server: gg 32,768 blocks align 1 unresolved 0 gb 32,768 align 1 unresolved 0 genesis 262,138 align 2 unresolved 6 nes 24,592 align 1 unresolved 0 snes 3,145,728 align 1 unresolved 0 gba 1,048,576 align 4 unresolved 0 35/35 regression tests pass. --- .../src/analysis/recompile/arm-metadata.js | 233 ++++++++++++++++++ .../src/analysis/recompile/decode-6502.js | 7 +- .../src/analysis/recompile/decode-65816.js | 7 +- .../src/analysis/recompile/export-z80-ir.js | 58 ++++- .../romdevtools/src/analysis/recompile/isa.js | 52 ++++ 5 files changed, 352 insertions(+), 5 deletions(-) create mode 100644 packages/romdevtools/src/analysis/recompile/arm-metadata.js diff --git a/packages/romdevtools/src/analysis/recompile/arm-metadata.js b/packages/romdevtools/src/analysis/recompile/arm-metadata.js new file mode 100644 index 00000000..d33644fa --- /dev/null +++ b/packages/romdevtools/src/analysis/recompile/arm-metadata.js @@ -0,0 +1,233 @@ +// ARM7TDMI (GBA) metadata over the EXISTING binutils ARM decoder - not a +// second decoder, and not a hand-authored table. +// +// CYCLE PROVENANCE - READ THIS BEFORE TRUSTING A NUMBER HERE. +// +// There is NO extractable per-opcode cycle table in mGBA, and this module does +// not pretend otherwise. I looked: src/arm/isa-arm.c builds every instruction +// through DEFINE_INSTRUCTION_ARM, which opens with +// +// int currentCycles = ARM_PREFETCH_CYCLES; +// +// and ARM_PREFETCH_CYCLES is `(1 + cpu->memory.activeSeqCycles32)` +// (include/mgba/internal/arm/isa-arm.h:13) - a RUNTIME value read from +// cpu->memory, not a constant. Loads and stores then add +// +// currentCycles += cpu->memory.activeNonseqCycles32 +// - cpu->memory.activeSeqCycles32; +// +// (ARM_LOAD_POST_BODY / ARM_STORE_POST_BODY), a PC write adds +// `2 + activeNonseqCycles32 + activeSeqCycles32` (ARMWritePC, isa-inlines.h:80), +// and multiplies add 1-4 internal cycles chosen by the RUN-TIME VALUE of the +// multiplier operand (ARM_WAIT_SMUL / ARM_WAIT_UMUL, isa-inlines.h:40/55). +// +// So an ARM7TDMI instruction's cost is a function of (a) which memory region +// the instruction and its operand live in, (b) the WAITCNT register's current +// value, and (c) for multiplies, actual register contents. None of the three +// is knowable from the opcode word, which is exactly why mGBA has no table to +// extract. Emitting a fabricated per-opcode table and calling it "extracted +// from mGBA" would be a lie about provenance. +// +// This is the same situation as the 65816/snes9x, which the exporter already +// handles by returning null from `cycles` and recording the accounting model +// in provenance instead. That is what happens here: `armCycles` returns null, +// and the S/N/I model plus the waitstate tables below are what a recompiler +// uses to compute a real cost at lowering time. +// +// The tables below ARE extracted - verbatim from mGBA src/gba/memory.c:58-63, +// which is a real, checkable source. They are the WAITCNT-independent base +// values (what GBAMemoryInit installs before any WAITCNT write). + +/** + * ARM7TDMI cycle-type model, as ARM's own documentation names the three types + * and as mGBA implements them: + * S (sequential) - a fetch from the address after the previous one + * N (non-sequential) - a fetch at a newly-computed address + * I (internal) - a cycle with no bus access (shifts by register, + * multiply iterations, ...) + * Every instruction's cost is some (nS + mN + pI) with the S/N charged at the + * waitstate of the region being touched. + */ +export const ARM_CYCLE_TYPES = Object.freeze({ S: "sequential", N: "non-sequential", I: "internal" }); + +/** + * Base waitstates by memory region (address bits 27..24), VERBATIM from + * mGBA src/gba/memory.c. Index = region nibble: 0 BIOS, 2 EWRAM, 3 IWRAM, + * 4 I/O, 5 palette, 6 VRAM, 7 OAM, 8-D ROM mirrors, E-F SRAM. + * + * These are the values GBAMemoryInit writes before the game touches WAITCNT. + * A game that writes WAITCNT changes the ROM rows at run time - see + * ROM_WAITSTATES below - which is one more reason there is no static table. + */ +export const GBA_BASE_WAITSTATES_16 = Object.freeze([0, 0, 2, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 4, 4, 0]); +export const GBA_BASE_WAITSTATES_32 = Object.freeze([0, 0, 5, 0, 0, 1, 1, 0, 7, 7, 9, 9, 13, 13, 9, 0]); +export const GBA_BASE_WAITSTATES_SEQ_16 = Object.freeze([0, 0, 2, 0, 0, 0, 0, 0, 2, 2, 4, 4, 8, 8, 4, 0]); +export const GBA_BASE_WAITSTATES_SEQ_32 = Object.freeze([0, 0, 5, 0, 0, 1, 1, 0, 5, 5, 9, 9, 17, 17, 9, 0]); + +/** WAITCNT-selected ROM waitstates, mGBA src/gba/memory.c:62-63. */ +export const ROM_WAITSTATES = Object.freeze([4, 3, 2, 8]); +export const ROM_WAITSTATES_SEQ = Object.freeze([2, 1, 4, 1, 8, 1]); + +/** Region nibble for a GBA address. */ +export function gbaRegion(addr) { return (addr >>> 24) & 0xf; } + +export const ARM_CYCLE_PROVENANCE = { + source: "mGBA (build/mgba/src): src/arm/isa-arm.c, include/mgba/internal/arm/isa-arm.h, include/mgba/internal/arm/isa-inlines.h, src/gba/memory.c", + unit: "ARM7TDMI cycles at 16.78MHz", + extracted: false, + perOpcodeTable: null, + note: + "NO per-opcode cycle table exists in mGBA and none is fabricated here. mGBA charges per MEMORY ACCESS at run time: every ARM instruction starts at ARM_PREFETCH_CYCLES = 1 + activeSeqCycles32 (a live value read from cpu->memory, not a constant); loads/stores add activeNonseqCycles32 - activeSeqCycles32; a PC write adds 2 + N32 + S32; and multiplies add 1-4 internal cycles selected by the RUN-TIME value of the multiplier register (ARM_WAIT_SMUL/ARM_WAIT_UMUL). Cost therefore depends on the memory region touched, the current WAITCNT, and for multiplies on register contents - none of which is a function of the opcode word. armCycles() returns null for this reason, exactly as the 65816 does against snes9x. The waitstate arrays exported by this module ARE verbatim from mGBA src/gba/memory.c:58-63 and are the base (post-GBAMemoryInit, pre-WAITCNT-write) values.", + model: { + kinds: "S (sequential), N (non-sequential), I (internal)", + dataProcessing: "1S; +1I when the shift amount is in a register; +1N+1S when Rd is PC", + ldr: "1S + 1N + 1I; +1N+1S when Rd is PC", + str: "2N", + ldmStm: "nS + 1N + 1I (load) / (n-1)S + 2N (store)", + branch: "2S + 1N", + multiply: "1S + mI where m is 1..4 by the multiplier operand's magnitude", + reference: "ARM7TDMI Technical Reference Manual, Chapter 'Instruction Cycle Timings'; mGBA implements the same model dynamically", + }, +}; + +/** + * Cycles for an ARM instruction from its opcode word alone. + * + * ALWAYS null, deliberately. See the provenance note: the cost is not a + * function of the opcode. A caller must compute cost from the S/N/I model plus + * the region actually touched, which the recompiler can do because it knows + * the lowered addresses. Returning a plausible integer here would silently + * make every scanline budget wrong in a way nothing would catch. + */ +export function armCycles() { return null; } + +// --------------------------------------------------------------------------- +// Control flow. +// +// ARM's condition code is a SUFFIX on the mnemonic, so classification must +// strip it - but only when what remains is a real mnemonic. `b` vs `bl` vs +// `bls` (branch if lower-or-same) is the trap: naive suffix stripping turns +// `bls` into `bl` and reports a call where there is a conditional branch. +// --------------------------------------------------------------------------- + +/** The 15 usable ARM condition codes ("al" is the implicit default, "nv" is + * deprecated but still decodes). Order matters only for the longest-match + * strip below. */ +const CONDS = ["eq", "ne", "cs", "hs", "cc", "lo", "mi", "pl", "vs", "vc", + "hi", "ls", "ge", "lt", "gt", "le", "al", "nv"]; + +/** + * Split an ARM mnemonic into {base, cond}. + * + * WHOLE-MNEMONIC FIRST. `bls`, `bl`, `blx`, `bx`, `bic`, `mls`, `mvn`, `teq` + * all end in something that reads as a condition code. The only safe rule is: + * if the full mnemonic is itself a known base, it has no condition suffix. + */ +const BASES = new Set([ + "b", "bl", "bx", "blx", + "mov", "mvn", "add", "adc", "sub", "sbc", "rsb", "rsc", + "and", "orr", "eor", "bic", "cmp", "cmn", "tst", "teq", + "mul", "mla", "umull", "umlal", "smull", "smlal", + "ldr", "str", "ldm", "stm", "ldrb", "strb", "ldrh", "strh", + "ldrsb", "ldrsh", "swp", "swpb", + "mrs", "msr", "swi", "svc", "nop", + "ldc", "stc", "cdp", "mrc", "mcr", + "push", "pop", "clz", +]); + +export function splitCond(mnem) { + const m = (mnem || "").toLowerCase(); + if (BASES.has(m)) return { base: m, cond: "" }; + // S-flag and byte/halfword suffixes ride OUTSIDE the condition on ARM + // (`addeqs` is not a thing; it is `addseq`... in UAL, but binutils prints + // pre-UAL `addseq`/`ldmiaeq` forms). Strip a trailing condition only if the + // remainder is a known base, optionally with an 's' or an ldm/stm addressing + // suffix still attached. + for (const c of CONDS) { + if (!m.endsWith(c) || m.length <= c.length) continue; + const rest = m.slice(0, -c.length); + if (BASES.has(rest)) return { base: rest, cond: c }; + if (rest.endsWith("s") && BASES.has(rest.slice(0, -1))) return { base: rest.slice(0, -1), cond: c }; + // ldmia / stmdb / ldmfd ... - 2-letter addressing mode after ldm/stm. + if (/^(ldm|stm)/.test(rest) && rest.length === 5) return { base: rest.slice(0, 3), cond: c }; + } + // No recognisable condition: strip a trailing 's'/addressing suffix only. + if (m.endsWith("s") && BASES.has(m.slice(0, -1))) return { base: m.slice(0, -1), cond: "" }; + if (/^(ldm|stm)/.test(m) && m.length === 5) return { base: m.slice(0, 3), cond: "" }; + return { base: m, cond: "" }; +} + +function firstHexTarget(ops) { + const t = /(?:^|[\s,])0x([0-9a-f]+)/i.exec(ops || ""); + return t ? [parseInt(t[1], 16)] : []; +} + +/** + * Control-flow classification for an ARM instruction. + * + * Returns the exporter's shape: {kind, targets, fallthrough, conditional}. + * `kind` is one of jump / call / branch / ret / transfer / unknown. + */ +export function armControl(mnem, ops, addr, len) { + const { base, cond } = splitCond(mnem); + const conditional = cond !== "" && cond !== "al"; + const next = addr + len; + + // `bl` / `blx