Search found 24 matches

by rob42
Wed Apr 10, 2024 2:21 pm
Forum: Emulation and Simulation
Topic: Py65 Help
Replies: 11
Views: 6921

Re: Py65 Help

... On your system, the file will be /usr/local/lib/python3.10/dist-packages/py65-2.0.0.dev0-py3.10.egg/py65/monitor.py and you'll need to be root to modify it...

I can see how this would get real confusing, real quick. And in fact that's what has happen here, with the file names:

The script ...
by rob42
Wed Apr 10, 2024 9:24 am
Forum: Emulation and Simulation
Topic: Py65 Help
Replies: 11
Views: 6921

Re: Py65 Help

Thank you for your help and input, Dave.

I'll hold off trying anything else right now, and see if there are any other users that are having the same issue. I could mess on with this all day, and still get nowhere: I have other things that I need to get to.

Have a good day and thanks for your help ...
by rob42
Wed Apr 10, 2024 8:46 am
Forum: Emulation and Simulation
Topic: Py65 Help
Replies: 11
Views: 6921

Re: Py65 Help


Do you have another (older) version of py65 installed as a package?

That might account for the error recurring?

Dave

No, I don't; but I do see your point.

---

I've now run it from from the system directory, but it's the same story:

Py65 Monitor

PC AC XR YR SP NV-BDIZC
6502: 0000 00 00 00 ...
by rob42
Wed Apr 10, 2024 7:43 am
Forum: Emulation and Simulation
Topic: Py65 Help
Replies: 11
Views: 6921

Re: Py65 Help

hoglet wrote:
Are you running the most recent commit of py65?
Thank you for the very fast response, Dave.

I simply d/loaded the .zip file, from the front page <> Code tab. The files are date stamped 19 November 2023, so I can only assume that they have to be the latest commit.

Your thoughts?
by rob42
Wed Apr 10, 2024 7:05 am
Forum: Emulation and Simulation
Topic: Py65 Help
Replies: 11
Views: 6921

Py65 Help

I've installed Py65 (from https://github.com/mnaberez/py65), but I seem to have hit an issue from the get-go.

Running monitor.py does indeed start said and I can enter some commands:
Py65 Monitor

PC AC XR YR SP NV-BDIZC
6502: 0000 00 00 00 ff 00110000
.assemble 1000 lda #$10
$1000 a9 10 LDA #$10 ...
by rob42
Tue Apr 09, 2024 7:41 pm
Forum: General Discussions
Topic: A new Ben Eater video: Porting Wozmon to his Breadboard 6502
Replies: 1
Views: 16108

Re: A new Ben Eater video: Porting Wozmon to his Breadboard

Browsing the Forums, and I come across this thread.

I was watching that very Video, yesterday. I've gone over it again today, as I learn about how to code the 6502.

The RS232 hook-up, is also very interesting and could very well be the way that I will be using my rig, as and when.

On that topic ...
by rob42
Tue Apr 09, 2024 3:14 pm
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

Welcome, Rob!

...

I'd recommend having a play with visual6502 simulations - they should match very closely what an NMOS 6502 will do, cycle by cycle. In fact, half-cycle by half-cycle.

Reading back through my thread, to review all the excellent contributions, I can now say that, having looked ...
by rob42
Mon Apr 08, 2024 1:52 am
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

You lost me with "drift."

You could be correct, that I'm overly concerned, but what I was driving at, is that as I add more code to the MicroPython script, said script will take longer to execute, slowing the generated clock pulse; that's the "drift". Like I said, it's no longer an issue, because ...
by rob42
Sun Apr 07, 2024 10:35 am
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

Presto? Sorry, but I'm not convinced you've arrived at the best solution, or even an OK solution. But luckily there's an easier way.

My punctuation was a little off and I was a tired, so it's not clear, but that sentence is a run-on (I know, it's bad grammar) should be read as: " ... and presto ...
by rob42
Sun Apr 07, 2024 2:06 am
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

Update:

I've made some real progress with this...

The first task was to ensure that I was getting a sane reading from the 6502 Data Bus. So, I hooked up my scope to 'D0' and 'D1', then set the ASM code to load #$01 then #$02 and finally #$03, in turn, into the 'A' register and with each value ...
by rob42
Sat Apr 06, 2024 7:58 pm
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

Hey guys.

I'm hoping that a picture paints a thousand words and that this will pretty much tell you what you need to know.

IMG_4893.JPG

What is absent here (because I had to move the rig to a different location, in order the photograph it) is the power and ϕ0 IN hook-ups.

Here, you can see ...
by rob42
Sat Apr 06, 2024 3:55 pm
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

My understanding is that 200Khz is about as slow as the old parts can go,

Thank you. I take that on board and appreciate your posting that up.

---

@Jeff

(I'll not quote you here, as your post is right above)

It'll take me a while to do that, but I'll get right to it.

Just to say: there's a ...
by rob42
Sat Apr 06, 2024 1:59 pm
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

Thank you, Neil: I appreciate what you're saying.

I would indeed like to check what the accumulator contains by writing it somewhere, and this is where I'm going to need some help, as the only way that I know of, for how to do that, is set out in my ASM code, but you see the issue? I don't know how ...
by rob42
Sat Apr 06, 2024 12:56 pm
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

Update:

I have a very rudimentary system running some asm code:

lda #$ff
sta $6002

lda #$55
sta $6000

lda #$aa
sta $6000

jmp $8005

... I'm having this issue:

Start of code execution

T-State: 38 ..............................
ADDR BUS OUT: 0000|0110|0000|0000 :: 0x0600
DATA BUS R ...
by rob42
Fri Apr 05, 2024 12:47 pm
Forum: Newbies
Topic: 6502 From the beginning
Replies: 43
Views: 42617

Re: 6502 From the beginning

Update:

I've re-seated the 6502, along with all the breadboard connections and I've also done some code modifications to my Monitor app.

I've also adjusted the clock speed and it's now running at 2.500Hz

Looking carefully at the start-up, I noticed the NMI scan:

T-State: 8 ...