but why would [spurious reads] cause problems writing to the 65C22?
Here's a stab in the dark.
In the 65c22 a read or write to certain registers clears the interrupt flag for that register. A scenario where you're checking for the flag condition but it's been inadvertently cleared will give you ...
Search found 21 matches
- Mon Jun 24, 2019 12:25 pm
- Forum: Hardware
- Topic: A simple 6502 computer (doesn't work though)
- Replies: 67
- Views: 5770
- Sun Jan 24, 2016 12:11 am
- Forum: Newbies
- Topic: Storing strings in memory
- Replies: 13
- Views: 3322
Storing strings in memory
I can see two ways to store an ASCII string in memory.
1. The string to be displayed-one termination byte-
eg:- 5465737400
2. A byte at the beginning of the string location describing the length of the string
eg:- 0474736554
In the first instance you need to test each byte for the end of string ...
1. The string to be displayed-one termination byte-
eg:- 5465737400
2. A byte at the beginning of the string location describing the length of the string
eg:- 0474736554
In the first instance you need to test each byte for the end of string ...
- Thu Oct 30, 2014 3:24 pm
- Forum: General Discussions
- Topic: 65c02 / 65c816 embedded video processing
- Replies: 0
- Views: 2644
65c02 / 65c816 embedded video processing
Would the-
1) 65c02 running at higher clock rates,
2) 65c816
-ever be considered for embedded video processing.
I'm thinking of cctv type application not image processing.
Can anyone point to a CCTV manufacturer that uses either of the 65c family?
1) 65c02 running at higher clock rates,
2) 65c816
-ever be considered for embedded video processing.
I'm thinking of cctv type application not image processing.
Can anyone point to a CCTV manufacturer that uses either of the 65c family?
- Wed Jun 11, 2014 10:36 pm
- Forum: Newbies
- Topic: First CPU project, oscilloscope and more
- Replies: 29
- Views: 7753
Re: First CPU project, oscilloscope and more
I've seen the Rigol 1102E recommended a lot bu
I picked up a Tektronix TDS 210 on ebay it's small and compact which serves my purposes perfectly well. A programmer is a must, I see some folk have built their own. I used to have a uv eraser for the old 27 series ROMs, but I'm currently using 28 ...
I picked up a Tektronix TDS 210 on ebay it's small and compact which serves my purposes perfectly well. A programmer is a must, I see some folk have built their own. I used to have a uv eraser for the old 27 series ROMs, but I'm currently using 28 ...
- Fri Jun 06, 2014 7:51 pm
- Forum: Newbies
- Topic: Memory tests. - Does anyone bother?
- Replies: 20
- Views: 3985
Re: Memory tests. - Does anyone bother?
Interesting replies, thanks.
is more of a challenge, without making some minimal assumption,
So. I guess I am being a bit paranoid. I could initialise the VIA port and then I have four LEDs and the LCD avaliable.
So far, the only time the test has failed was when I replaced the 32K RAM with an ...
is more of a challenge, without making some minimal assumption,
So. I guess I am being a bit paranoid. I could initialise the VIA port and then I have four LEDs and the LCD avaliable.
So far, the only time the test has failed was when I replaced the 32K RAM with an ...
- Fri Jun 06, 2014 12:59 pm
- Forum: Newbies
- Topic: Memory tests. - Does anyone bother?
- Replies: 20
- Views: 3985
Memory tests. - Does anyone bother?
Hi folks,
I have just taken my 65c02 project off the top shelf again and I'd like to hear peoples opinion of testing onboard memory.
I've just tried a routine that tests zero page using the 55 & AA bit patterns and I put that as the first step of my board initialisation. Straight away I come ...
I have just taken my 65c02 project off the top shelf again and I'd like to hear peoples opinion of testing onboard memory.
I've just tried a routine that tests zero page using the 55 & AA bit patterns and I put that as the first step of my board initialisation. Straight away I come ...
- Mon Apr 14, 2014 8:03 pm
- Forum: Newbies
- Topic: Short cut interface
- Replies: 15
- Views: 6427
Re: Short cut interface
...but are readily added to PC hardware if needed.
Agreed, my mini atx has one which I use for the programmer.
For my purposes, it's the 'consumer interface' perspective. I think the usb interface would be fine.
I'd really like to be able to just download new code directly into the project, I'm ...
Agreed, my mini atx has one which I use for the programmer.
For my purposes, it's the 'consumer interface' perspective. I think the usb interface would be fine.
I'd really like to be able to just download new code directly into the project, I'm ...
- Mon Apr 14, 2014 2:41 pm
- Forum: Newbies
- Topic: Short cut interface
- Replies: 15
- Views: 6427
Short cut interface
I just added a 65c51 to my 65c02 project board. As a bit of a shortcut I considered one of these for the interfacing circuits -
http://www.ebay.com/itm/MAX232-RS232-To-TTL-Converter-Adapter-Module-Board-/221022603873
Then I came across one of these;
http://www.ebay.co.uk/itm/like/400686965254 ...
http://www.ebay.com/itm/MAX232-RS232-To-TTL-Converter-Adapter-Module-Board-/221022603873
Then I came across one of these;
http://www.ebay.co.uk/itm/like/400686965254 ...
- Tue Feb 11, 2014 9:02 am
- Forum: Hardware
- Topic: major speedup with 65C02 I/O mapped into zero-page
- Replies: 36
- Views: 8685
Re: huge speedup with 65C02 I/O mapped into zero-page
So would you have a latch with its own address, and you write to it the bits specifying which IC to address next? Actually, come to think of it, the 6520 does a similar thing. Suppose you had its base address at 0000. Control register A then is at address 0001; and its bit 2 determines whether ...
- Tue Feb 11, 2014 8:22 am
- Forum: Hardware
- Topic: major speedup with 65C02 I/O mapped into zero-page
- Replies: 36
- Views: 8685
Re: huge speedup with 65C02 I/O mapped into zero-page
Regarding the full address decoding and ZP loss penalty of putting I/O in ZP, my workbench computer would lose 76 bytes of ZP (30% of ZP) with full decoding,
How about optimising the use of zp I/O by stacking similar devices at the same address? Controling access to each similar device with a zp ...
How about optimising the use of zp I/O by stacking similar devices at the same address? Controling access to each similar device with a zp ...
- Sat May 11, 2013 5:12 pm
- Forum: Hardware
- Topic: 28Cxxx EEPROM Programmer
- Replies: 268
- Views: 98990
Re: 28Cxxx EEPROM Programmer
Is there any merit in modifying this circuit so that it's all built on a board that includes the nano board itself, enough Ram and a DIP plug that could plug directly into the project ROM socket?
It seems to me such an arrangement would remove the need to run through the; pull (EEP)ROM, erase ...
It seems to me such an arrangement would remove the need to run through the; pull (EEP)ROM, erase ...
- Wed Dec 12, 2012 10:15 am
- Forum: Programming
- Topic: Newbie code attempt - advice please?
- Replies: 10
- Views: 1167
Re: Newbie code attempt - advice please?
If all you are doing is inverting a bit why not use EOR?
LDA ZPFPLED
EOR SWCHLUP,X
STA ZPFPLED
STA FPLED
RTS
A couple of reasons, I guess. Insufficient familiarity with the instruction set, I noticed Jeff and Mike used the instruction, but I guess I had fastened on BIT and was trying to ...
LDA ZPFPLED
EOR SWCHLUP,X
STA ZPFPLED
STA FPLED
RTS
A couple of reasons, I guess. Insufficient familiarity with the instruction set, I noticed Jeff and Mike used the instruction, but I guess I had fastened on BIT and was trying to ...
- Mon Dec 10, 2012 12:22 am
- Forum: Programming
- Topic: Newbie code attempt - advice please?
- Replies: 10
- Views: 1167
Re: Newbie code attempt - advice please?
Thank you all for you ideas and code suggestions. I think Garth, you were on to the problem with the alignment of the lookup bits in the tables. Anyway this is what is working now.
LEDROUTINE:
;Lamp control routine that toggles individual Led's on or off.
;**Call with X reg holding index of the ...
LEDROUTINE:
;Lamp control routine that toggles individual Led's on or off.
;**Call with X reg holding index of the ...
- Sat Dec 08, 2012 10:27 pm
- Forum: Programming
- Topic: Newbie code attempt - advice please?
- Replies: 10
- Views: 1167
Re: Newbie code attempt - advice please?
If it's not for a "certificate", then take a look at my solution, untested as it is, which I posted to GitHUB.
Thank you Michael, I had a look at your code and tried it in my machine. I had written something similar with five 'ROL's in an earlier test routine but hadn't thought to use the EOR ...
Thank you Michael, I had a look at your code and tried it in my machine. I had written something similar with five 'ROL's in an earlier test routine but hadn't thought to use the EOR ...
- Sat Dec 08, 2012 8:26 pm
- Forum: Programming
- Topic: Newbie code attempt - advice please?
- Replies: 10
- Views: 1167
Re: Newbie code attempt - advice please?
As I explain in the section of the 6502 primer though, you must debounce .
That was an informative reference.
Generally, most of this forum's members don't provide solutions when it appears that it is a homework problem.
I know this is a simple problem, but I was just getting very frustrated ...
That was an informative reference.
Generally, most of this forum's members don't provide solutions when it appears that it is a homework problem.
I know this is a simple problem, but I was just getting very frustrated ...