Jump to content
IGNORED

Another dumb question for the smart guys...


dwhyte

Recommended Posts

You can't really stop a DLI partway through a scanline (well, I guess you can just return from it, but I don't think that's what you mean.) You could do something like:

 

lda #xx

sta wysnc

sta $some_color_reg

nop

nop

nop

etc..

 

then change the color back, which would give you a color bar.

 

Alternately, you could use PM graphics to make your color bar, or just draw it on the screen, but I'm guessing since you are asking about a DLI that you are already using the standard drawing techniques and want "something more".

Edited by Shawn Jefferson
Link to comment
Share on other sites

Alternately, you could use PM graphics to make your color bar, or just draw it on the screen, but I'm guessing since you are asking about a DLI that you are already using the standard drawing techniques and want "something more".

 

Yeah what I mean is colored columns on a mode 2 screen. Like the second modeline in Whiskey-Mon... I'd just disassemble the code, but I need someone to describe the process to fully understand it...

Edited by dwhyte
Link to comment
Share on other sites

PMG overlays are your best bet if you want different colours by columns.

 

You can "chase the beam" and effect changes at a cycle level but it is tricky and very time consuming since it has to be done on every line.

 

Plus, it isn't really possible in 40 column text modes since all of the cycles in the visible area are stolen by ANTIC on the first line of each character.

Link to comment
Share on other sites

PMG overlays are your best bet if you want different colours by columns.

 

You can "chase the beam" and effect changes at a cycle level but it is tricky and very time consuming since it has to be done on every line.

 

Plus, it isn't really possible in 40 column text modes since all of the cycles in the visible area are stolen by ANTIC on the first line of each character.

 

So how is something like this possible then?

277947863.jpg

 

It can't all be pmg-ol's or pmg-ul's...

 

What registers do I need to examine to make such changes? Are they in the DLI or VBI or main code to enact such changes to the screen? I could for the most part use pmg's for certain columns, but, it wouldn't exactly be the effect I'm trying to do...

Link to comment
Share on other sites

So how is something like this possible then?

277947863.jpg

 

It can't all be pmg-ol's or pmg-ul's...

 

What registers do I need to examine to make such changes? Are they in the DLI or VBI or main code to enact such changes to the screen? I could for the most part use pmg's for certain columns, but, it wouldn't exactly be the effect I'm trying to do...

 

Actually, that looks pretty much like PMG. Remember, that when all 4 players + the 4 missiles are set to wide, 1 pixel in the PMG will cover 1 Antic 2 character. So, with all 4+1 players, you can cover the entire screen.

 

If I wanted to duplicate something like the picture above, I would use P0+P1 for the first light blue column, then use a regular DLI to handle the color changes on the right hand column.

Link to comment
Share on other sites

So how is something like this possible then?

277947863.jpg

 

It can't all be pmg-ol's or pmg-ul's...

 

What registers do I need to examine to make such changes? Are they in the DLI or VBI or main code to enact such changes to the screen? I could for the most part use pmg's for certain columns, but, it wouldn't exactly be the effect I'm trying to do...

 

Actually, that looks pretty much like PMG. Remember, that when all 4 players + the 4 missiles are set to wide, 1 pixel in the PMG will cover 1 Antic 2 character. So, with all 4+1 players, you can cover the entire screen.

 

If I wanted to duplicate something like the picture above, I would use P0+P1 for the first light blue column, then use a regular DLI to handle the color changes on the right hand column.

 

Ingenious!!! As you can tell by this post I've never really used PMG's before. I've been reading De Re Atari about them and didn't think you'ld be able to cover a screen that well with them...

 

Thank you very much... I'm by far no expert atari coder, but yet one day I'll be close to being one with all these little gems of knowledge that are passed around this board...

Link to comment
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...