6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Sep 20, 2024 10:44 am

All times are UTC




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: UART receiver
PostPosted: Sat Sep 14, 2024 1:46 am 
Offline

Joined: Tue Jul 30, 2024 6:20 pm
Posts: 70
Completely insane, but... The C in 7F0C makes addresses that end with C (1CC, 1DC in the last example) defective! Changing 7F0C to 7F0E makes ...E addresses defective...

I think I see a reasonablish explanation! Memory writes use the datastack TOS and NOS. James Bowman's J1 processor which my CPU is based on has a stack I've sometimes doubted and other times admired -- it uses a mix of combinational and flopped logic, and NOS is muxed in. Somehow when a memory write is combined with a drop (the usual case), the address and data get physically mixed up, which is why I needed lots of F's in one word and lots of zeros in the other.

I'll just have to remake the stack with TOS and NOS as actual permanent registers.

Actually, the previous cycle DSP modification seems to affect the write in the next cycle. Keeping DSP steady the cycle before fixes the issue for now.

I am still wondering about the exact details of this weirdness, and will look into it some more, just out of curiosity.


Last edited by enso1 on Sat Sep 14, 2024 6:16 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: UART receiver
PostPosted: Sat Sep 14, 2024 8:14 am 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 841
Location: Potsdam, DE
Speak harshly to your processor
And beat it when it sneezes
It only does it to annoy
Because it knows it teases :mrgreen:

(Thanks to RL Dodgson)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: