Search found 13 matches
- Thu Dec 16, 2021 9:28 am
- Forum: Newbies
- Topic: RTI behaving strangely
- Replies: 11
- Views: 1367
Re: RTI behaving strangely
The WR\ to the memory needs to be separate from the signal to the VIA. Make sure you're observing that. The VIA needs the RS and R/W lines to be valid and stable before the rise of phase 2. I have never seen a VIA come defective when new, even though we used them for 13 years in one of our products ...
- Thu Dec 16, 2021 6:36 am
- Forum: Newbies
- Topic: RTI behaving strangely
- Replies: 11
- Views: 1367
Re: RTI behaving strangely
BigDumbDinosaur wrote:
From your other topic:
Why? Banking that range means the stack, among other things. I'll let you figure out the implications.
Quote:
0000 - 3FFF = Banked RAM
Why? Banking that range means the stack, among other things. I'll let you figure out the implications.
- Wed Dec 15, 2021 9:41 pm
- Forum: Newbies
- Topic: RTI behaving strangely
- Replies: 11
- Views: 1367
Re: RTI behaving strangely
will have a look at that later,
for now I switched the WDC 65C22S for a Rockwell R65C22P and added a pullup-resistor at the /IRQ-Pin, now it works flawlessly, even at higher clockrate
and thanks Wilson for the primer, should've read it more thorough before designing the pcb ^^
for now I switched the WDC 65C22S for a Rockwell R65C22P and added a pullup-resistor at the /IRQ-Pin, now it works flawlessly, even at higher clockrate
and thanks Wilson for the primer, should've read it more thorough before designing the pcb ^^
- Wed Dec 15, 2021 9:26 pm
- Forum: Newbies
- Topic: RTI behaving strangely
- Replies: 11
- Views: 1367
Re: RTI behaving strangely
ok, found something out... after back-checking with the 6502-primer here I noticed that /WE should be qualified by Phi2, so that on Phi2=low no write operation would be possible...
I hacked together a small logic circuit out of 2 NAND gates which are first inverting R/W from the 6502 and then ...
I hacked together a small logic circuit out of 2 NAND gates which are first inverting R/W from the 6502 and then ...
- Wed Dec 15, 2021 8:58 pm
- Forum: Newbies
- Topic: RTI behaving strangely
- Replies: 11
- Views: 1367
Re: RTI behaving strangely
GARTHWILSON wrote:
Since $1A is one of the address bytes and the $80 is lost, it kind of sounds like your ISR is not balancing the stack.
- Wed Dec 15, 2021 8:33 pm
- Forum: Newbies
- Topic: RTI behaving strangely
- Replies: 11
- Views: 1367
Re: RTI behaving strangely
on my own SBC I posted a while back (didn't have much time since then but now I'm tackling it again), see http://forum.6502.org/viewtopic.php?f=12&t=6513
I also tried to do something different. basically I tried to RTI to a specific address with the following:
lda #$80
pha
lda #$20
pha
php
rti ...
I also tried to do something different. basically I tried to RTI to a specific address with the following:
lda #$80
pha
lda #$20
pha
php
rti ...
- Wed Dec 15, 2021 7:57 pm
- Forum: Newbies
- Topic: RTI behaving strangely
- Replies: 11
- Views: 1367
RTI behaving strangely
Hey everyone,
I'm currently at a loss.... I try to test and play with interrupts, which btw work as intended, but the RTI instruction is behaving strange...
As soon as I try to RTI, the processor is reading the wrong return address and just randomly jumps anywhere... I logged it and at Interrupt ...
I'm currently at a loss.... I try to test and play with interrupts, which btw work as intended, but the RTI instruction is behaving strange...
As soon as I try to RTI, the processor is reading the wrong return address and just randomly jumps anywhere... I logged it and at Interrupt ...
- Sun Mar 28, 2021 8:45 pm
- Forum: Newbies
- Topic: My new self-made 65C02 computer
- Replies: 14
- Views: 2347
Re: My new self-made 65C02 computer
I am every curious about your memory layout and banking, as I am exploring similar issues. I've considered (very briefly) the consequences of swapping bottom RAM including the stack, and decided it's best to avoid doing so, if at all possible.
well, I decided to just try it... in worst-case, I'll ...
well, I decided to just try it... in worst-case, I'll ...
- Thu Mar 25, 2021 8:09 am
- Forum: Newbies
- Topic: My new self-made 65C02 computer
- Replies: 14
- Views: 2347
Re: My new self-made 65C02 computer
This looks really cool! Hoping I can get mine to this point one day. Where do you get that eeprom holder and does it allow you to program it without removing it from the board?
sorry for the late response...
these sockets are called ZIF (Zero Insertion Force) and are there to easily be able to ...
sorry for the late response...
these sockets are called ZIF (Zero Insertion Force) and are there to easily be able to ...
- Thu Mar 04, 2021 6:45 pm
- Forum: Hardware
- Topic: Don't Do What I Just Did
- Replies: 22
- Views: 2748
Re: Don't Do What I Just Did
working in an electronics company I have seen things only god knows what happened there....
one client specified a schematic and the exact BOM, we made the PCBs accordingly to the BOM and schematic, ordered a prototype and found out they specified smaller parts than they were intended to use. I'm ...
one client specified a schematic and the exact BOM, we made the PCBs accordingly to the BOM and schematic, ordered a prototype and found out they specified smaller parts than they were intended to use. I'm ...
- Thu Mar 04, 2021 6:13 pm
- Forum: Newbies
- Topic: My new self-made 65C02 computer
- Replies: 14
- Views: 2347
Re: My new self-made 65C02 computer
@jfoucher
as I said, I had these chips lying around and finally wanted to do something with them. I did a lot of dumpster diving once and found these in nearly pristine condition...
I know I already have more IOs than I ever need, but I like to think a bit easier here... PIA ist just output for me ...
as I said, I had these chips lying around and finally wanted to do something with them. I did a lot of dumpster diving once and found these in nearly pristine condition...
I know I already have more IOs than I ever need, but I like to think a bit easier here... PIA ist just output for me ...
- Thu Mar 04, 2021 3:36 pm
- Forum: Newbies
- Topic: My new self-made 65C02 computer
- Replies: 14
- Views: 2347
Re: My new self-made 65C02 computer
So far I'm just writing libraries and test-codes. PIA library and VIA library (mostly just initializations, timers will come soon) are working as well as a library for the 2x16 character lcd in 4bit mode. I have a connector for a 4x40 char LCD as well, but this is essentially 2 seperate displays in ...
- Thu Mar 04, 2021 10:55 am
- Forum: Newbies
- Topic: My new self-made 65C02 computer
- Replies: 14
- Views: 2347
My new self-made 65C02 computer
Hey everyone!
I'm currently designing/testing my own 65C02 computer (inspired by Ben Eater) and thought I might post it here.
I wanted something versatile and fun to play with while learning assembly language and the 6502 seemed a good choice becuase of its already big community.
I put a lot of ...
I'm currently designing/testing my own 65C02 computer (inspired by Ben Eater) and thought I might post it here.
I wanted something versatile and fun to play with while learning assembly language and the 6502 seemed a good choice becuase of its already big community.
I put a lot of ...