Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II Emulation » where are all the cycles?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
where are all the cycles? [message #387057] Sun, 15 September 2019 22:00 Go to next message
Anonymous
Karma:
Originally posted by: melody

Hi everyone,

We're trying to get cycle-accurate rendering working in microM8, and we're almost there, but we appear to be missing some hidden cycles somewhere - does anyone have a comprehensive list of everything that adds a cycle?

Thanks :)
Re: where are all the cycles? [message #387058 is a reply to message #387057] Mon, 16 September 2019 22:46 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: James Davis

On Sunday, September 15, 2019 at 7:00:09 PM UTC-7, mel...@tech.org.au wrote:
> Hi everyone,
>
> We're trying to get cycle-accurate rendering working in microM8, and we're almost there, but we appear to be missing some hidden cycles somewhere - does anyone have a comprehensive list of everything that adds a cycle?
>
> Thanks :)

Download from Asimov:

"Programming the 6502" by Rodnay Zaks; or the Synertec 65xx manual(s).

The former goes into great detail about each op-code. Both have op-code charts with the desired info., also (e.g., like "the periodic table of the elements"; I call it, "the periodic table of the op-codes").
Re: where are all the cycles? [message #387059 is a reply to message #387058] Mon, 16 September 2019 22:56 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: James Davis

On Monday, September 16, 2019 at 7:46:26 PM UTC-7, James Davis wrote:
> On Sunday, September 15, 2019 at 7:00:09 PM UTC-7, mel...@tech.org.au wrote:
>> Hi everyone,
>>
>> We're trying to get cycle-accurate rendering working in microM8, and we're almost there, but we appear to be missing some hidden cycles somewhere - does anyone have a comprehensive list of everything that adds a cycle?
>>
>> Thanks :)
>
> Download from Asimov:
>
> "Programming the 6502" by Rodnay Zaks; or the Synertec 65xx manual(s).
>
> The former goes into great detail about each op-code. Both have op-code charts with the desired info., also (e.g., like "the periodic table of the elements"; I call it, "the periodic table of the op-codes").

P.S. Somebody should just program this chart into their disassemblers or debuggers to give the cycles used with each line of disassembly in the comment field in parentheses [e.g., "... ;(<#-of-cycles>) <real-comments>"].
Re: where are all the cycles? [message #387060 is a reply to message #387059] Tue, 17 September 2019 00:56 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: fadden

On Monday, September 16, 2019 at 7:56:24 PM UTC-7, James Davis wrote:
> P.S. Somebody should just program this chart into their disassemblers or debuggers to give the cycles used with each line of disassembly in the comment field in parentheses [e.g., "... ;(<#-of-cycles>) <real-comments>"].

Something like this?

https://github.com/fadden/6502bench/blob/master/SourceGen/SG TestData/Expected/2020-cycle-counts-65816_Merlin32.S
Re: where are all the cycles? [message #387162 is a reply to message #387060] Wed, 18 September 2019 20:32 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
fadden <thefadden@gmail.com> wrote:
> On Monday, September 16, 2019 at 7:56:24 PM UTC-7, James Davis wrote:
>> P.S. Somebody should just program this chart into their disassemblers
>> or debuggers to give the cycles used with each line of disassembly in
>> the comment field in parentheses [e.g., "... ;(<#-of-cycles>) <real-comments>"].
>
> Something like this?
>
> https://github.com/fadden/6502bench/blob/master/SourceGen/SG TestData/Expected/2020-cycle-counts-65816_Merlin32.S
>

And for cycle-by-cycle detail, the summary pages in “Understanding the
Apple //e” by Jim Sather can’t be beat!

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: where are all the cycles? [message #387163 is a reply to message #387162] Wed, 18 September 2019 21:21 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: James Davis

On Wednesday, September 18, 2019 at 5:32:07 PM UTC-7, Michael J. Mahon wrote:
> fadden ... wrote:
>> On Monday, September 16, 2019 at 7:56:24 PM UTC-7, James Davis wrote:
>>> P.S. Somebody should just program this chart into their disassemblers
>>> or debuggers to give the cycles used with each line of disassembly in
>>> the comment field in parentheses [e.g., "... ;(<#-of-cycles>) <real-comments>"].
>>
>> Something like this?
>>
>> https://github.com/fadden/6502bench/blob/master/SourceGen/SG TestData/Expected/2020-cycle-counts-65816_Merlin32.S
>>
>
> And for cycle-by-cycle detail, the summary pages in “Understanding the
> Apple //e” by Jim Sather can’t be beat!
>
> --
> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

Are you referring to Appendix C, page 6 (labeled: C-6)? Or, something else?
Re: where are all the cycles? [message #387165 is a reply to message #387163] Thu, 19 September 2019 12:48 Go to previous messageGo to next message
Michael J. Mahon is currently offline  Michael J. Mahon
Messages: 1767
Registered: October 2012
Karma: 0
Senior Member
James Davis <JPD.Enterprises@outlook.com> wrote:
> On Wednesday, September 18, 2019 at 5:32:07 PM UTC-7, Michael J. Mahon wrote:
>> fadden ... wrote:
>>> On Monday, September 16, 2019 at 7:56:24 PM UTC-7, James Davis wrote:
>>>> P.S. Somebody should just program this chart into their disassemblers
>>>> or debuggers to give the cycles used with each line of disassembly in
>>>> the comment field in parentheses [e.g., "... ;(<#-of-cycles>) <real-comments>"].
>>>
>>> Something like this?
>>>
>>> https://github.com/fadden/6502bench/blob/master/SourceGen/SG TestData/Expected/2020-cycle-counts-65816_Merlin32.S
>>>
>>
>> And for cycle-by-cycle detail, the summary pages in “Understanding the
>> Apple //e” by Jim Sather can’t be beat!
>>
>> --
>> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
>
> Are you referring to Appendix C, page 6 (labeled: C-6)? Or, something else?

I’m referring to pages 4-27 and 4-28, which detail not only the number of
cycles required by each operation, but the bus activity on each cycle.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
Re: where are all the cycles? [message #387168 is a reply to message #387165] Thu, 19 September 2019 22:42 Go to previous message
Anonymous
Karma:
Originally posted by: James Davis

On Thursday, September 19, 2019 at 9:48:25 AM UTC-7, Michael J. Mahon wrote:
> James Davis wrote:
>> On Wednesday, September 18, 2019 at 5:32:07 PM UTC-7, Michael J. Mahon wrote:
>>> fadden ... wrote:
>>>> On Monday, September 16, 2019 at 7:56:24 PM UTC-7, James Davis wrote:
>>>> > P.S. Somebody should just program this chart into their disassemblers
>>>> > or debuggers to give the cycles used with each line of disassembly in
>>>> > the comment field in parentheses [e.g., "... ;(<#-of-cycles>) <real-comments>"].
>>>>
>>>> Something like this?
>>>>
>>>> https://github.com/fadden/6502bench/blob/master/SourceGen/SG TestData/Expected/2020-cycle-counts-65816_Merlin32.S
>>>>
>>>
>>> And for cycle-by-cycle detail, the summary pages in “Understanding the
>>> Apple //e” by Jim Sather can’t be beat!
>>>
>>> --
>>> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
>>
>> Are you referring to Appendix C, page 6 (labeled: C-6)? Or, something else?
>
> I’m referring to pages 4-27 and 4-28, which detail not only the number of
> cycles required by each operation, but the bus activity on each cycle.
>
> --
> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

Thanks for clarifying that.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MAME 0.213 Apple II highlights
Next Topic: MAME 0.214 Apple II highlights
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 11:55:31 EDT 2024

Total time taken to generate the page: 0.01688 seconds