A89: Re: Re: More questions...(maybe somebody will answer them this time


[Prev][Next][Index][Thread]

A89: Re: Re: More questions...(maybe somebody will answer them this time...)





>>Hey!  I have two more questions that I hope will get an answer this
>>time.
>>
>>1)  What is 'masking'?
>
>I don't know about this one, but maybe someone else will answer it.

A mask is a byte (or word / longword) that is used to preserve only the bits
in another byte that are set in the mask.  For example, if you had %101011
and you wanted only the bottom 3 bits, you would AND the mask %111 to get
that.
For each row of a sprite in a sprite routine that uses masking, you would
have a mask so that the bits set in the mask will be the only bits displayed
in the mask.  This way you can have a transparency of the background, while
at the same time being able to have cleared bits within the sprite.  You
probably won't be clear on this unless you look at an example, so look at
some source code that you can compare to the output in a program.

>
>>2)  How, again, do I make a 68k program.  Can I type it in Wordpad (or
>>Notepad) and then use one of the programs with Doors (or PlusShell) to
>>compile it?
>
>That's what I'm doing.  Just use wordpad, save it as a text document, and
then rename it by dropping
>off the ".txt" and adding a ".asm" and then type "doors
<thenameofyourfile>" in your doorsos
>directory.
>
>here's an example of test.txt that I made:
>
>C:\CALC\DOORSOS\>ren test.txt test.asm
>
>C:\CALC\DOORSOS\>doors test
>
>It'll display a lot of stuff to tell you that it's compiled, and then you
should have a test.89z
>file in the directory.
>
>Hope that helps.
>
>-Miles Raymond
>
>>Thanks to anyone who responds to this.
>>
>>==
>>+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
>>|                      Jeremy  Moore                       |
>>|                   senoramor@yahoo.com                    |
>>|                     ICQ:  #18766049                      |
>>|                 http://fly.to/favelinks                  |
>>+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
>>"Did somebody say McDonald's?"  NO!  No one said it! Sheesh!
>