simulator

Building your first 6502-based project? We'll help you get started here.
nora23169
Posts: 43
Joined: 29 Oct 2024

simulator

Post 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
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: simulator

Post 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?
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
Yuri
Posts: 371
Joined: 28 Feb 2023
Location: Texas

Re: simulator

Post 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.
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: simulator

Post 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!
nora23169
Posts: 43
Joined: 29 Oct 2024

Re: simulator

Post 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.
nora23169
Posts: 43
Joined: 29 Oct 2024

Re: simulator

Post by nora23169 »

About Apology and Learning: Please give me another chance https://github.com/nora-emu/6502-emu-daily
nora23169
Posts: 43
Joined: 29 Oct 2024

Re: simulator

Post 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.
nora23169
Posts: 43
Joined: 29 Oct 2024

Re: simulator

Post by nora23169 »

Goodbye
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: simulator

Post 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.
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: simulator

Post 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?
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: simulator

Post by BigEd »

It's not the first time you've pushed someone away with your blunt responses.
User avatar
Yuri
Posts: 371
Joined: 28 Feb 2023
Location: Texas

Re: simulator

Post 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
nora23169
Posts: 43
Joined: 29 Oct 2024

Re: simulator

Post 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.
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: simulator

Post 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.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
nora23169
Posts: 43
Joined: 29 Oct 2024

Re: simulator

Post 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.
Post Reply