apple1-videocard-lib/bindump.js

10 lines
165 B
JavaScript
Raw Normal View History

2021-12-08 12:17:38 +00:00
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");