Jump to content
dwhyte

RMT question...

Recommended Posts

To get the RMT player source working on NTSC systems, is it just a matter of using different sync counter spacings? If that's the case, is there anywhere out there where it's listed? I couldn't find anything relating to this question on AA here, though I may not have refined my search enough...

Share this post


Link to post
Share on other sites
To get the RMT player source working on NTSC systems, is it just a matter of using different sync counter spacings? If that's the case, is there anywhere out there where it's listed? I couldn't find anything relating to this question on AA here, though I may not have refined my search enough...

Yes, you can see this constants in example source code

asm_src/music.a65

at line 69 there is:

tabpp dta 156,78,52,39 ;line counter spacing table for instrument speed from 1 to 4

 

It goes from 156/1=156,156/2=78,156/3=52,156/4=39

 

and part

acpapx1 lda #$ff ;parameter overwrite (sync line counter value)

clc

acpapx2 adc #$ff ;parameter overwrite (sync line counter spacing)

cmp #156

bcc lop4

sbc #156

 

#156 goes from 156 screen lines in total.

 

So, for NTSC there should be another values.

But beware of CPU performance (With instrument speed 4 there can be problem) and VBI interrupt (which can engage CPU and VCOUNT comparation will not work):

 

waipap

cmp VCOUNT ;vertical line counter synchro

bne waipap

 

Greetings, raster/c.p.u.

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.
Note: Your post will require moderator approval before it will be visible.

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...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...