From eedf6aff5b6d862eeb6ff79f77660ca6037c867c Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Wed, 8 Dec 2021 13:17:38 +0100 Subject: [PATCH] Create bindump.js --- bindump.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bindump.js diff --git a/bindump.js b/bindump.js new file mode 100644 index 0000000..417fb6d --- /dev/null +++ b/bindump.js @@ -0,0 +1,9 @@ +const fs = require('fs'); + +let prg = fs.readFileSync("test_apple1.prg"); + +prg = prg.slice(2); + +fs.writeFileSync("test_apple1.bin",prg); + +console.log("bin written");