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

Re: Raycasting 3D demo disk



aiiadict@gmail.com wrote:

> 
> Jerry wrote:
>> for that, why not just compute PIX= C * 17 ?
> 
> there are 3 routines in the assembly,
> 
> 1)AND with  #$0F  (to strip high nibble, leave low nibble)
> 2)AND with #$F0 (to strip low nibble, leave high nibble)
> 3)match high nibble to low nibble (lda 8000, ROLX4, ORA 8000)
> 
> could all be done with applesoft..  but I'm going to be converting
> the map display and texture display code to assembly today,
> so I figured I might as well start thinking 6502

Yes, that makes sense.

-- 
--  Jerry