I think I found out the issue. It was in the hardware, but not a fault in my wiring, a bad solder joint that had gotten loose, or in the design itself.
Part of the address decoding for the SRAM is a diode logic OR-gate. I thought that perhaps the slower fall/rise times of diode logic was causing ...
Search found 10 matches
- Sun Dec 07, 2025 8:11 am
- Forum: Newbies
- Topic: My 65C02 can't jump to subroutines and I don't get why
- Replies: 15
- Views: 1511
- Fri Dec 05, 2025 5:40 pm
- Forum: Newbies
- Topic: My 65C02 can't jump to subroutines and I don't get why
- Replies: 15
- Views: 1511
Re: My 65C02 can't jump to subroutines and I don't get why
$0000 - $03ff On-board RAM
; $8000 - $9fff Video RAM
; $a000 - $afff CRTC
; $b000 - $bfff PIA
; $c000 - $ffff ROM
PIA_PORT_A = $b000
PIA_CONTR_REG_A = $b001
PIA_PORT_B = $b002
PIA_CONTR_REG_B = $b003
CRTC_ADDR_REG = $a000
CRTC_DATA_REG = $a001
.org $8000
.org $c000
reset:
sei
cld
ldx #$ff ...
- Fri Dec 05, 2025 3:40 pm
- Forum: Newbies
- Topic: My 65C02 can't jump to subroutines and I don't get why
- Replies: 15
- Views: 1511
Re: My 65C02 can't jump to subroutines and I don't get why
Might we perhaps see the listing for the compiled code? I note that there is neither an .org statement in what you've shown, nor a stack setting instruction. I wonder if your code is being assembled in such a way that its thumping the stack?
Here's both the full assembly program as well as a ...
Here's both the full assembly program as well as a ...
- Fri Dec 05, 2025 11:52 am
- Forum: Newbies
- Topic: My 65C02 can't jump to subroutines and I don't get why
- Replies: 15
- Views: 1511
Re: My 65C02 can't jump to subroutines and I don't get why
Might we perhaps see the listing for the compiled code? I note that there is neither an .org statement in what you've shown, nor a stack setting instruction.
I do have orgs in the "full" assembly. A tiny bit foolish not to include them but I can say for sure that the program starts at the correct ...
I do have orgs in the "full" assembly. A tiny bit foolish not to include them but I can say for sure that the program starts at the correct ...
- Fri Dec 05, 2025 6:45 am
- Forum: Newbies
- Topic: My 65C02 can't jump to subroutines and I don't get why
- Replies: 15
- Views: 1511
My 65C02 can't jump to subroutines and I don't get why
Yesterday night I was trying to write a subroutine to set the registers of an MC6845. I haven't spent much time at all working on software for the 65C02, but I have written
subroutines in the past and I have the feeling that I shouldn't be having so much trouble with such a simple thing.
My first ...
subroutines in the past and I have the feeling that I shouldn't be having so much trouble with such a simple thing.
My first ...
- Mon Nov 10, 2025 2:30 pm
- Forum: Hardware
- Topic: Interleaving video memory acces for the MC6845
- Replies: 15
- Views: 1704
Re: Interleaving video memory acces for the MC6845
But again there's nothing wrong with using buffers, since you're already doing that for the 6845 - you just need to use them between the 6502's address bus and the video RAM's address bus.
The extra buffers make sense now that I think about it. I was hoping I would be able to save a few sockets ...
The extra buffers make sense now that I think about it. I was hoping I would be able to save a few sockets ...
- Sun Nov 09, 2025 4:42 pm
- Forum: Hardware
- Topic: Interleaving video memory acces for the MC6845
- Replies: 15
- Views: 1704
Interleaving video memory acces for the MC6845
I recently got an MC6845, and I have been able to produce a screen-full of text. My test setup has the data bus connected to an Arduino, the 6845's address bus simply going to an 8K SRAM, the
character clock at 1MHz, and pixels output at 8MHz. The 6845 is programmed to provide a 50hz VSync, and has ...
character clock at 1MHz, and pixels output at 8MHz. The 6845 is programmed to provide a 50hz VSync, and has ...
- Fri Jul 18, 2025 11:51 am
- Forum: Newbies
- Topic: What does it take to achieve a phi2 frequency of 1MHz?
- Replies: 17
- Views: 1952
Re: What does it take to achieve a phi2 frequency of 1MHz?
I've got good news, and good news only. It really was the LCD!
I read the datasheet for the LCD's control chip and it specified a minimum enable pulse of 450ns, so I assumed it wasn't the problem since it couldn't run even at 500KHz. I gave the datasheet another look this morning and found that the ...
I read the datasheet for the LCD's control chip and it specified a minimum enable pulse of 450ns, so I assumed it wasn't the problem since it couldn't run even at 500KHz. I gave the datasheet another look this morning and found that the ...
- Thu Jul 17, 2025 11:16 am
- Forum: Newbies
- Topic: What does it take to achieve a phi2 frequency of 1MHz?
- Replies: 17
- Views: 1952
Re: What does it take to achieve a phi2 frequency of 1MHz?
Although I've just checked the schematic you linked to - the LCD is directly connected to the bus - it's possible that the LCD simply isn't fast enough. They're really not designed for high speed, so check the timings of the particular one you have. I've always connected them up through a VIA.
I ...
I ...
- Wed Jul 16, 2025 7:31 pm
- Forum: Newbies
- Topic: What does it take to achieve a phi2 frequency of 1MHz?
- Replies: 17
- Views: 1952
What does it take to achieve a phi2 frequency of 1MHz?
My second/latest 65C02 computer, constructed on stripboard around February this year, was built to run at 1Mhz. I didn't take bypass capacitors particularly seriously at the time and had even less knowledge about electrical performance than I do now- I thought that it being a soldered design would ...