Jump to content
Sign in to follow this  
Kylearan

Cycle 1 HMOVE

Recommended Posts

Hi,

 

if I read the HMOVE table at http://www.qotile.net/minidig/code/hmove.txt right, it shouldn't make any difference if I do a STA HMOVE at cycle 0 (e.g., immediately after a STA WSYNC) or cycle 1, correct? Is it known if this behavior is compatible over different 2600 models?

 

In particular, I would like to move P0 and P1 8 pixels to the right (HMPx=0x80), but in my kernel the STA HMOVE might happen either at cycle 0 or cycle 1. Making sure it would always happen at cycle 0 would cost me >300 bytes of ROM, which I would like to avoid. ;-)

 

I know that HMOVEs at cycle 73, 74 or 75 behave differently on some models, but does anyone know if a HMOVE at cycle 1 is fully compatible with all 2600 models?

 

Thanks,

 

-Kylearan

 

 

 

Share this post


Link to post
Share on other sites

Cycles counts are after the instruction runs, so an STA HMOVE that's done immediately after an STA WSYNC occurs at cycle 3.

 

...
   sta WSYNC; 76/0
   sta HMOVE;  3
  • Like 1

Share this post


Link to post
Share on other sites

Ah okay, looks like I use a different terminology, sorry. So to clarify my question:

 

Will a STA HMOVE at cycle 3 behave the same as if it occurs at cycle 4 on different 2600 models?

Share this post


Link to post
Share on other sites

According this doc, odd changes happens only after cycle 10.

So yes, anything besides 10th cycle will works exactly as should be.

 

But yes, different TIA versions behave differently. I would say always hit HMOVE right after WSYNC, unless you're trying some new stuff.

 

Hmove right after Wsync works fine on all consoles BTW.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...