6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Jul 01, 2024 8:12 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Tue Apr 23, 2013 11:00 am 
Offline

Joined: Sat Mar 20, 2010 8:36 pm
Posts: 15
Location: Germany
Hi,

finally back in the workshop. Got my big beast of an analyser working, it is a Biomation CLAS2000 with an embedded mac computer in the base. I have just managed to capture the data lines (and multiplexed Bank address) from my 65c816 project board. Very happy with that :D

Question is how many lines from the processor do I need to capture in order to then take the data and write a program that converts the data to 65c816 opcodes etc?


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 23, 2013 7:29 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10838
Location: England
Hmm, absolute minimum might be the data lines, a clock, and VPA. RDY if you use it (and ABORT, and the interrupt lines) But at least a few low-order address bits is going to help. How complex a program do you want that to be? If it's very nearly a 65816 emulator, you need fewer lines!

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 23, 2013 8:20 pm 
Offline

Joined: Sat Mar 20, 2010 8:36 pm
Posts: 15
Location: Germany
I think the first step is to capture all 16 address lines, VPA, VDA, nRESEt (don't use the RDY line), both nIRQ and nNMI. The analyser is sophisticated enough to de multiplex the data bus. Still learning to use it. Only problem with it is the heat generated from it!

At present I am using the PHI2 clock to capture the data, but also have the option of internally clocking the analyser to capture at 200Mhz. Hopefully this is fast enough as my board runs at 819.2Khz


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 24, 2013 6:15 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10838
Location: England
Ah, you've got lots of channels.
VP might be handy if you have any trouble with interrupts.
M/X and E will help with on-the-fly disassembly, if your code does much mode-changing.
You'll surely want RnW too.
Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 24, 2013 8:13 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8236
Location: Midwestern USA
BigEd wrote:
VP might be handy if you have any trouble with interrupts.

Did you mean VPB perchance? That signal is negated during cycles 7 and 8 of an interrupt sequence.

Quote:
M/X and E will help with on-the-fly disassembly, if your code does much mode-changing.

MX is a little cumbersome to use, in that the meaning of the signal depends on the clock phase. You'd have to demultiplex and latch it to be able to correctly identify the register widths for the duration of an instruction. In my POC unit's monitor, I ended up maintaining state information in RAM about the m and x status register bits during disassembly so immediate mode instructions (including BIT #)would correctly disassemble.

E, on the other hand, will always be low when the '816 is running in native mode, so its use should be straightforward.

Quote:
You'll surely want RnW too.

RWB?

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 24, 2013 9:06 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
BigDumbDinosaur wrote:
Quote:
You'll surely want RnW too.

RWB?

AFAIK, WDC is the only bunch who put a "B" on the end of signal names. I found it confusing for the first few years, because it looked like it stood for "bit," as in IRQB being "interrupt-request bit," like saying you drive a Chevy car so someone doesn't make the mistake of thinking you drove a Chevy toaster. Rather unnecessary. Then I realized it must be short for "bar," since they may have had trouble with that in their early literature that was apparently done on typewriters or daisywheel printers. Maybe using the underscore character on the line above didn't come out at the right height or something. I had to ask our computer-science daughter-in-law how to put the overbar on things in my website. I'm glad html has a way to do it; but AFAIK, there's no way to do it on the forum. There are several other ways these things get written, and they're all confusing.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 25, 2013 5:04 pm 
Offline

Joined: Tue Jul 24, 2012 2:27 am
Posts: 672
/IRQ seems to be least confusing to me, and is visually indicative of a line going over the text. I'm not that much of a hardware guy, but I was unaware that leading-slash wasn't actually standard.

_________________
WFDis Interactive 6502 Disassembler
AcheronVM: A Reconfigurable 16-bit Virtual CPU for the 6502 Microprocessor


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 25, 2013 10:18 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8236
Location: Midwestern USA
White Flame wrote:
/IRQ seems to be least confusing to me, and is visually indicative of a line going over the text. I'm not that much of a hardware guy, but I was unaware that leading-slash wasn't actually standard.

I've seen active-low signals notated as *IRQ or IRQ\. I prefer /IRQ in cases where I can't overstrike characters. In the data sheet for their MicroVGA module, SECONS uses a trailing octothorpe to indicate a low-true signal, e.g., RESET#. Whatever floats your boat!

BTw, that "leading slash" is called a virgule.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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: