1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-03-11 09:42:04 +00:00

Sprite list test

This commit is contained in:
David Schmenk
2019-12-25 12:25:28 -08:00
parent dd721f5a75
commit 8aae1077ee
3 changed files with 129 additions and 27 deletions

View File

@@ -257,6 +257,19 @@ export def hgrXorSrc(ofst, y, w, h, srcptr)#0
srcptr = srcptr + w
next
end
export def hgrOrSrc(ofst, y, w, h, srcptr)#0
word j, dstptr
byte i
ofst = ofst + drawbuff
for j = y to y + h - 1
dstptr = hgrscan[j] + ofst
for i = 0 to w - 1
dstptr->[i] = dstptr->[i] ^ srcptr->[i]
next
srcptr = srcptr + w
next
end
export def hgrBLT(x, y, w, h, srcptr)#0
word i, j
word saveclr