apple1-videocard-lib/tools/prg2bin.js
2021-12-15 17:13:39 +01:00

10 lines
165 B
JavaScript

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