A82: Re:


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

A82: Re:




In a message dated 9/24/98 10:27:25 PM Pacific Daylight Time,
evil_sam@hotmail.com writes:

>   I was wondering if this kind of 86 ASM code works on the 82:
>  
>  
>      ld a,%10000000
>      ld (ColMask),a
>  
>      ld a,(Pov)
>  Modif_Fov equ $+1
>      add a,20h
>      ld (Ray),a
>  
>  Modif_StartCol equ $+1
>      ld a,20h
>      ld (CurrCol),a
>  
>  Modif_NbCol equ $+1
>      ld a,40h
>      ld (NbCol),a
>  
>   
>  
>     Sam

I guess so, but replace the equ's with ='s... I'm not sure what the point of
all that is, but it looks like some sort of self-modifying code...actually,
thats exactly what it is, and it's pretty cool!  What is that from, Maze 3D?

~Adamman