Search found 21 matches

by raccoon
Mon Dec 23, 2019 4:25 pm
Forum: General Discussions
Topic: When, specifically, did you get enamoured by the 6502?
Replies: 12
Views: 2157

Re: When, specifically, did you get enamoured by the 6502?

I bought a C64 in 1984. Soon I was dissatisfied with its performance in BASIC. That's when I purchased a (dis)assembler cartridge.
Later I found out the 6502 is one of the simplest CPUs around. I still like it mainly for its simplicity.
by raccoon
Mon Aug 26, 2019 5:50 am
Forum: Programming
Topic: NMI on a Vic-20
Replies: 4
Views: 1369

Re: NMI on a Vic-20


During Basic cold start, it clears the stack by writing $FB into the stack pointer.

In the C64, Commodore calls this a warm start. It restarts BASIC and the shell, but not the kernel (or kernal in Commodore parlance).
The top of the stack me already be in use by the kernel, so it should not be ...
by raccoon
Fri Jan 20, 2017 5:38 pm
Forum: Hardware
Topic: Demultiplexing VIC-II address bus
Replies: 9
Views: 1604

Re: Demultiplexing VIC-II address bus

The Commodore 64 uses a 74LS373 octal latch.
You control the latch gate with RAS/ and the 3-state outputs with AEC/
by raccoon
Wed Nov 28, 2007 12:22 pm
Forum: Hardware
Topic: Help! My 6502 board project is not working...
Replies: 8
Views: 6407

Hi chris,

I checked your PDF schematic and I can't make sense of the reset circuit.
Are you sure you didn't have this in mind?
6502.org wrote:
Image no longer available: http://i17.tinypic.com/836qmw6.png
by raccoon
Wed Mar 14, 2007 12:05 pm
Forum: Programming
Topic: Newbie question: accessing a 16-bit memory address
Replies: 55
Views: 36440

Mats wrote:

But as the ATARI has a 65** CPU (6507) it must also start the execution at the memory position it reads from address $FFFC,$FFFD. What kind of memory/circuitry is mapped to this address if it is not ROM?
ROM is not built in, but in de game cartridges only.
by raccoon
Thu Jul 06, 2006 6:09 pm
Forum: General Discussions
Topic: PET Programmers Toolkit
Replies: 5
Views: 3911

Code: Select all

2316 ROM

Pin     Pin
 
 1  A7   24  VCC
 2  A6   23  A8
 3  A5   22  A9
 4  A4   21  CS- (NC on early chips)
 5  A3   20  CS-
 6  A2   19  A10
 7  A1   18  CS
 8  A0   17  D7
 9  D0   16  D6
 10 D1   15  D5
 11 D2   14  D4
 12 GND  13  D3
Source here
by raccoon
Mon Jun 19, 2006 5:33 pm
Forum: General Discussions
Topic: opcode cycle's
Replies: 8
Views: 5902

The invalid opcode bytes and their peculiar behaviour are the 'logical don't care' input patterns in combinational logic.
by raccoon
Thu Jun 15, 2006 3:08 pm
Forum: General Discussions
Topic: opcode cycle's
Replies: 8
Views: 5902

Hi Sergio.

The number of clock cycles documented is the gross cycles requirement. It includes the instruction fetch, execution cycles and all additional bus cycles, until the next instruction's opcode fetch. If one instruction takes x cycles to complete, n consecutive identical instructions take ...
by raccoon
Mon May 01, 2006 3:37 pm
Forum: General Discussions
Topic: help with sbc project
Replies: 7
Views: 4393

... RDY, /IRQ and /NMI are all tied directly to Vcc instead of going through pullup resistors....
This is completely harmless. It prevents future expansion, that's all.

The 6850's E input not being actively used is more questionable. One might get away with it, but proper operation can't be ...
by raccoon
Fri Apr 07, 2006 7:38 pm
Forum: Hardware
Topic: 6522 Parallel Handshake Performance
Replies: 7
Views: 5100

Having a maximum time to wait for a response is logical -- what if the peripheral never responds?
Handshake acknowledgements can take an indefinite amount of time. The 65C22 was not designed to detect time outs. If your system is in danger of encountering deadlocks, you should have the software ...
by raccoon
Fri Apr 07, 2006 3:57 pm
Forum: Hardware
Topic: State of flag register after reset
Replies: 6
Views: 5872

Well Ruud, this has been said before: If the datasheet doesn't cover some issue, it is.. err... literally undefined. You can safely assume it is for a reason.
by raccoon
Mon Apr 03, 2006 12:38 pm
Forum: Hardware
Topic: 6522 Parallel Handshake Performance
Replies: 7
Views: 5100

I assume you are using the WDC W65C22S datasheet , as figure and page numbers you mentioned match.
It looks like this datasheet is a mess. The more I looked into the problem, the more inconsistencies, obvious typos and suspicious data I encountered.

The table *does* contain t21 = 535ns max ...
by raccoon
Mon Mar 27, 2006 10:50 pm
Forum: General Discussions
Topic: NMI handler interruptable by another NMI?
Replies: 3
Views: 3126

Thowllly wrote:
But the NMI is edge trigged
Yes. But come to think of it:
I guess the NMI needs to be edge triggered to prevent unstopable nesting at the blink of an eye.
by raccoon
Mon Mar 27, 2006 9:50 pm
Forum: General Discussions
Topic: NMI handler interruptable by another NMI?
Replies: 3
Views: 3126

NMI handler interruptable by another NMI?

Unlike IRQ, the NMI doesn't feature a corresponding flag in the status register. I'm trying to figure out the implications.
To me, it seems the 6502 cannot "remember" it is currently running an NMI handler. So the CPU remains susceptible to subsequent NMIs, allowing an indefinite number of NMI ...
by raccoon
Fri Mar 24, 2006 5:49 pm
Forum: Hardware
Topic: Pulse generator
Replies: 12
Views: 5800

Hallo, Ruud ;)

Functional diagram:
6502.org wrote:
Image no longer available: http://i1.tinypic.com/s4lvr8.gif
Omit A or B and the OR gate if it must be susceptible to one edge only.

I'm not a component availability expert, but there are plenty of suitable monostable multivibrators out there.