Page 1 of 3

simulator

Posted: Sat Dec 14, 2024 11:31 pm
by nora23169
I made a crappy simulator, but I'm bad at it and don't have enough knowledge: https://github.com/nora-emu/pdp-emu

Re: simulator

Posted: Sun Dec 15, 2024 5:26 am
by BigDumbDinosaur
nora23169 wrote:
I made a crappy simulator, but I'm bad at it and don't have enough knowledge: https://github.com/nora-emu/pdp-emu

I don’t do Github.  What is your “crappy simulator” simulating?

Re: simulator

Posted: Sun Dec 15, 2024 7:56 am
by Yuri
One of the files is named pdp-11.py, so I'm presuming the goal is to simulate a PDP-11. However, the project lacks any description, and none of the code files have any comments either.

Re: simulator

Posted: Sun Dec 15, 2024 8:47 am
by BigEd
Always good to share, nora23169, even if your work is in an early state.

It would good to add a little description to the README - what it does, how to run it. Maybe what your plans are, if you have plans!

Re: simulator

Posted: Sun Dec 15, 2024 10:25 am
by nora23169
I'm going to start again. I'm really sorry. It was too bad, so I'm going to restart everything. I'm going to study C language and CPU. I'm very sorry.

Re: simulator

Posted: Sun Dec 15, 2024 10:48 am
by nora23169
About Apology and Learning: Please give me another chance https://github.com/nora-emu/6502-emu-daily

Re: simulator

Posted: Sun Dec 15, 2024 11:07 am
by nora23169
It's better for both of us if we give up, so I'm sorry. I will try not to visit the forum again.

Re: simulator

Posted: Sun Dec 15, 2024 11:08 am
by nora23169
Goodbye

Re: simulator

Posted: Sun Dec 15, 2024 3:35 pm
by BigEd
Sorry you got some unsympathetic and unhelpful responses here. Some of us here try to be encouraging and helpful!

You are always welcome to return.

Re: simulator

Posted: Sun Dec 15, 2024 4:31 pm
by BigDumbDinosaur
BigEd wrote:
Sorry you got some unsympathetic and unhelpful responses here. Some of us here try to be encouraging and helpful!

You are always welcome to return.

What do you mean by “unsympathetic and unhelpful?”  Two different people posted essentially the same observation, neither of which was insulting or otherwise unsympathetic (whatever that is).  As for being helpful, just how is asking what it is that is being simulated being unhelpful?

Re: simulator

Posted: Sun Dec 15, 2024 5:46 pm
by BigEd
It's not the first time you've pushed someone away with your blunt responses.

Re: simulator

Posted: Sun Dec 15, 2024 8:53 pm
by Yuri
nora23169 wrote:
It's better for both of us if we give up, so I'm sorry. I will try not to visit the forum again.
My apologies if my comments came off as rude, the goal was not to insult or ridicule, as it was intended to give helpful instruction on how best to begin improving your abilities to write good code.

Gomennasai

Re: simulator

Posted: Mon Dec 16, 2024 12:39 am
by nora23169
BigDumbDinosaur wrote:
nora23169 wrote:
I made a crappy simulator, but I'm bad at it and don't have enough knowledge: https://github.com/nora-emu/pdp-emu

I don’t do Github.  What is your “crappy simulator” simulating?
I'm sorry for saying something unnecessary yesterday, but I'm not familiar with Python, so I wrote a simulator that I didn't understand well, and it ended up being pointless. I'll try studying CPU again.

Re: simulator

Posted: Mon Dec 16, 2024 1:58 am
by BigDumbDinosaur
nora23169 wrote:
I'm sorry for saying something unnecessary yesterday, but I'm not familiar with Python, so I wrote a simulator that I didn't understand well, and it ended up being pointless. I'll try studying CPU again.

Accurate simulation of the 6502 is not an easy thing to do. It will take patience on your part.

Re: simulator

Posted: Mon Dec 16, 2024 2:15 am
by nora23169
BigDumbDinosaur wrote:
nora23169 wrote:
I'm sorry for saying something unnecessary yesterday, but I'm not familiar with Python, so I wrote a simulator that I didn't understand well, and it ended up being pointless. I'll try studying CPU again.

Accurate simulation of the 6502 is not an easy thing to do. It will take patience on your part.
I'm going to design a simple 8bit computer from now on and try writing it in C language instead of python in order to gradually become better at creating a CPU simulator like mos6502.It might be terrible at first. will continue to improve quality over the course of a year.