apple1-videocard-lib/bindump.js
2021-12-08 13:17:38 +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");