Search the web
Sign In
New User? Sign Up
intvprog · Intellivision Programmers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Cycle counting curiosity   Message List  
Reply | Forward Message #5575 of 5602 |
I've been intending to do some Intellivision tinkering for literally years.  Finally got one of mine open and put it on the logic analyzer here at work and immediately (we're talking first cycles) notice what I can't explain after looking at the cycles.  The first instruction fetched has opcode 0x4.  Easy enough to decode, that's a jump.  According to all the references I checked (Intelliwiki, CP1610 datasheet, jzintv implementation) a jump is 12 cycles.  If so, why do I count 13? :-)

I've looked at several 0x4 cycles and they all appear to be 13 cycles by my reckoning.  I've not spent much time on this, but some other decodes seem one NACT cycle larger than I would expect as well, but not all.  

I've placed a screenshot at
http://farm4.static.flickr.com/3533/3799959330_d94007a12f_o.jpg 

I'm probably just counting wrong, or missing something basic, but my curiosity got the better of me and I'm hoping someone can explain what I'm seeing.  I've marked off what I believe to be the boundaries of the instruction.

Travis

Sat Aug 8, 2009 2:27 am

lubbet
Offline Offline
Send Email Send Email

Forward
Message #5575 of 5602 |
Expand Messages Author Sort by Date

I've been intending to do some Intellivision tinkering for literally years. Finally got one of mine open and put it on the logic analyzer here at work and...
Travis Lubbers
lubbet
Offline Send Email
Aug 8, 2009
2:27 am

Travis, That is wild! It looks like 13 cycles to me. I don't have access to a logic analyzer myself, so I can't easily confirm it here. I guess it wouldn't...
Joe Zbiciak
intvnut
Online Now Send Email
Aug 11, 2009
5:30 am

As of yet I've not sat down to decode too many since I've been doing it pretty manually. I did see that a MVII targeting R6 took one additional cycle from the...
Travis Lubbers
lubbet
Offline Send Email
Aug 11, 2009
2:28 pm

Travis, I wish I were less busy at the moment, otherwise I'd write up a bunch of fun tests. ... Format Words Description ...
Joe Zbiciak
intvnut
Online Now Send Email
Aug 11, 2009
4:54 pm

Travis, Joe, Yes, it seems like a JSR is definitely 13 cycles. I just ran the following tests on a SECAM Intellivision with a CC3: ...
Arnauld Chevallier
a_chevallier
Offline Send Email
Aug 11, 2009
11:56 pm

To: intvprog@yahoogroups.com From: intvnut@... Date: Tue, 11 Aug 2009 09:54:38 -0700 Subject: Re: [intvprog] Cycle counting curiosity I can definitely...
Carl Mueller
lardlad48081
Offline Send Email
Aug 12, 2009
3:12 am

Carl, Thanks immensely for the data! I'm curious about the first "short" BUSRQ. You say that it is also 111 cycles, but I remember it clearly looking shorter...
Joe Zbiciak
intvnut
Online Now Send Email
Aug 12, 2009
6:53 am

... Do you think it could be unintentional? Perhaps the values stored in the FIFO are quickly fading away when they're not getting written to -- i.e. outside...
Arnauld Chevallier
a_chevallier
Offline Send Email
Aug 12, 2009
10:52 am

... Well, I realized after posting that it's unlikely since we should observe a similar behavior when non-interruptible opcode sequences prevent the FIFO from...
Arnauld Chevallier
a_chevallier
Offline Send Email
Aug 12, 2009
12:08 pm

Hmmm... Somehow I doubt they'd fade during the 3ms vertical retrace. The STIC registers hold their values w/out a refresh for a second or so. -- We sell...
Joe Zbiciak
intvnut
Online Now Send Email
Aug 13, 2009
6:47 pm

I've done some more testing over the past few days. I'm just using software and experimentation to determine the various counts. I was definitely wrong about...
Carl Mueller
lardlad48081
Offline Send Email
Aug 16, 2009
2:31 am

Carl, Yahoo seems to have done a number on the formatting. If you send me the ASM file as an attachment to my GMail, I can host it on my web server if you...
Joe Zbiciak
intvnut
Online Now Send Email
Aug 16, 2009
5:31 am

All, I have put Carl's file here: http://spatula-city.org/~im14u2c/intv/dl/carl-busrq.asm If that link fails, try this shortened one: http://is.gd/2jaSq Enjoy,...
Joe Zbiciak
intvnut
Online Now Send Email
Aug 16, 2009
6:05 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help