Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 4Int:
- pop de ;FOV, shadows
- ld a,e
- xor d
- and c
- xor d
- pop de ;walls, entities
- or d
- or e
- out ($11),a ;55 cycles
- 4Int:
- pop de ;FOV, shadows
- ld a,e
- xor d
- and %00000000
- xor d
- pop de ;walls, entities
- or d
- or e
- out ($11),a ;58 cycles
- 3Int1Ext:
- pop de ;shadows, walls
- ld a,(hl) ;FOV
- xor e
- and c
- xor e
- or d
- pop de ;entities, next shadows
- or e
- out ($11),a ;58 cycles
- inc l
- ld a,(hl)
- inc hl
- xor d
- and c
- xor d
- pop de ;walls, entities
- or e
- or d
- out ($11),a ;58 cycles
- 2Int2Int:
- pop de ;shadows, walls
- ld a,(hl) ;FOV
- inc l
- xor e
- and c
- xor e
- or (hl) ;entities
- inc hl
- or d
- out ($11),a ;61 cycles
- 2Int2Ext:
- pop de ;shadows, walls
- ld a,(hl) ;FOV
- xor e
- and c
- xor e
- inc h
- inc h
- inc h
- or (hl) ;entities
- inc hl
- or d
- out ($11),a ;69 cycles
- pop de ;shadows, walls
- ld b,(hl) ;entities
- dec h
- dec h
- dec h
- ld a,(hl) ;FOV
- inc l
- xor e
- and c
- xor e
- or b
- or d
- out ($11),a ;71 cycles
- 2Int2Ext:
- pop de ;shadows, walls
- ld a,(hl) ;FOV
- xor e
- and c
- xor e
- or d
- ld d,h
- inc h
- inc h
- inc h
- or (hl) ;entities
- ld h,d
- inc hl
- out ($11),a ;77 cycles
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement