I am following Ben Eaters tutorial on the 6502 computer and I'm completely lost on the python programming stuff. I have a little bit of programming knowledge, but not enough to understand which programs he is swithcing between. Here is the link to the video I'm referring to (around the 9:40 mark): https://www.youtube.com/watch?v=yl8vPW5hydQ&list=PLowKtXNTBypFbtuVMUVXNR0z1mu7dp7eH&index=2
I've created my "makerom.py" program in Visual Studio Code and it appears I was able to run it via the CMD prompt. But when I try to hex dump from there it doesn't work.
Here is my python program:
rom = bytearray([0xea] * 32768)
with open("rom.bin", "wb") as out_file:
out_file.write(rom);
I've created my "makerom.py" program in Visual Studio Code and it appears I was able to run it via the CMD prompt. But when I try to hex dump from there it doesn't work.