Re: LZ: nasr and sound question.


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

Re: LZ: nasr and sound question.



NeCrOm wrote:
> 
> I have a few question that i would like answered.
> 
> This nasr program I got off of ticalc I would like to use in my game that
> I am making. And I would like to know how to lay out the program. Here is
> what I have so far.
> (This may not be exact to the way the program looks cause I am not on the
> computer that has it on it.)
> 
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> TempLine = $80df
> PicCoor  = $80e7
> offset   = $80e9
> NASR_Status = $80ea
> 
> .org 0
>         .db "test.nasr"
> 
>         ld      b,2
>         ld      c,55
>         ld      hl,Hello_Sprite
>         ld      de,(PROGRAM_ADDR)
>         add     hl,de
>         CALL_(NASRWARP)
> 
> ; Right here is a get key loop to go back to zhell when exit or enter is
> ; pressed.
> 
> ; NASRPWARP routine...
> 
> Hello_Sprite:
>         .db     3,6,5
>         .db     %10101110, %10001000, %11100000
>         .db     %10101000, %10001000, %10100000
>         .db     %11101110, %10001000, %10100000
>         .db     %10101000, %10001000, %10100000
>         .db     %10101110, %11101110, %11100000
> 
> .end
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> 
> Now WTF am I dont wrong?
> 
> And also I don't know about this part
> 
> a=smallest integer greater than or equal to x/8
> b=a*8-x+1
> c=y
> 
> THE LAST TIME I CHECKED...
> (Lets take the Hello_Sprite: for an example.)
> 
>                 a b c
>                 | | |
> Hello_Sprite:   V V V
>         .db     3,6,5
>         .db     %10101110, %10001000, %11100000 >\
>         .db     %10101000, %10001000, %10100000 >\
>         .db     %11101110, %10001000, %10100000 >--- c  right?
>         .db     %10101000, %10001000, %10100000 >/
>         .db     %10101110, %11101110, %11100000 >/
>                 ^       ^  ^       ^  ^       ^
>                  \_____/    \_____/    \_____/
>                        \_______|_______/
>                                |
>                                a=(24/8) right?
>                                a=3 right?
>         b=a*8-x+1
>           |   |
>           3   24  right?
> 
> tell me what I am doing wrong.


You have to set the 85 in graphics mode....sorry I don't know the exact
command right now...out a,(5) I think.  That's the problem I was having
when I tried NASR.


later
<pre>
-- 
 _
(_
|_)teve
|eterson


mailto:stevep@comso.com
http://www.geocities.com/SiliconValley/Park/2636
</pre>


Follow-Ups: References: