-
Notifications
You must be signed in to change notification settings - Fork 2
/
BlitSPRATR.s
18 lines (17 loc) · 1.07 KB
/
BlitSPRATR.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; BlitSPRATR:
; ; do copy from buffer to VRAM
; ld a, 0000 0001 b
; ld hl, SPRATR
; call SetVdp_Write
; ; ld b, SpriteAttrTableBuffer.size
; ; ld c, PORT_0 ; you can also write ld bc,#nn9B, which is faster
; ;ld bc, 0 + ((SpriteAttrTableBuffer.size * 256) + PORT_0)
; ld c, PORT_0
; ld hl, SPRATR_Buffer
; ;otir
; ; 128x OUTI
; outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi
; outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi
; outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi
; outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi outi
; ret