Jump to content
José Pereira

A8 Bitmap Modes and cycles

Recommended Posts

Hi, just want to know how cycles are in 160resol. Bitmap Screen arranjed on the 240 Lines:

-> 1pixel high

and

-> 2pixels high (like Zybex, Draconus,...)

 

in 32, 40 and 48wide Modes?

 

(just Screen without DLIs, nor any other thing)

 

 

Thanks.

José Pereira.

Share this post


Link to post
Share on other sites

The PDF with the Altirra package should have all that info, it's a good reference.

 

For the 160 modes -

 

9 Refresh cycles lost every scanline.

1 DList cycle every scanline (or 2 for Gr. 7 mode), or 3 if it's an LMS instruction. Gr. 15 screens will have at least 2 LMS instructions

1 DMA cycle lost for each byte, so 40 per scanline in higher res.

 

In the lores (Gr. 7) multicolour, each second scanline has only the Refresh cycles to worry about.

Share this post


Link to post
Share on other sites

The PDF with the Altirra package should have all that info, it's a good reference.

Thanks for pointing that out Rybags: I'd missed it before. :)

Share this post


Link to post
Share on other sites

The PDF with the Altirra package should have all that info, it's a good reference.

I'll second that! It's a great source of information.

Share this post


Link to post
Share on other sites

The PDF with the Altirra package should have all that info, it's a good reference.

 

For the 160 modes -

 

9 Refresh cycles lost every scanline.

1 DList cycle every scanline (or 2 for Gr. 7 mode), or 3 if it's an LMS instruction. Gr. 15 screens will have at least 2 LMS instructions

1 DMA cycle lost for each byte, so 40 per scanline in higher res.

 

In the lores (Gr. 7) multicolour, each second scanline has only the Refresh cycles to worry about.

 

 

Sorry returning to this one, but this I couldn't undertsand there:

 

FIRST: How many free cycles to use in an all Screen hhigh 48x15CharLines ANTIC5 Screen?

 

SECOND: How many cycles in a 48Widex15CharLines cost in ANTIC5?

 

 

 

 

Each Line it's 2pixels high, soo what I have?

 

CHARLINE=16scanlines

Each A8Line=2Scanlines.

 

1st Scanline: 1_refresh+1_CharsetDLI+48_Charset+48_Chars

2nd " : 9_refresh cycles+1_CharsetDLI

3rd " : 9_refresh+48_Chars

4th " : 9_refresh

5,7,9,11,13and15 like 3th scanline

6,8,10,12,14and16 like 4th.com scanline.

 

????

 

Thanks.

José Pereira.

Edited by José Pereira

Share this post


Link to post
Share on other sites

48 byte modes are variable depending on what HSCROL value is in use - can be less if HSCROL is a higher value.

 

The Altirra docs has good info there.

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...