Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VDPVRAMRead:
- ;get address pieces
- moveq 0, d1
- moveq 0, d2
- moveq 0, d3
- move.w d0, d1
- move.w d0, d2
- andi.w #$A000, d1
- lsr.w #$D, d1
- andi.w #$FFFA, d2
- lsr.w #$2, d2
- ;put em together; we're using VRAM read here, which is just 0
- swap d2
- or.l d2, d3
- or.l d1, d3
- ;write d3 to VDP control register
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement