Create bindump.js

This commit is contained in:
nino-porcino 2021-12-08 13:17:38 +01:00
parent 81d2feeafd
commit eedf6aff5b

9
bindump.js Normal file
View File

@ -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");