🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12345

Re: swapping bitmaps using the blitter and not using temporary space

#12345
From: Matt Dillon
Date: Mon, 24 Apr 1989 21:19
20 lines
809 bytes
	Uh, we just said the same thing.... '^' *is* an xor.

					-Matt

:In article <8904212115.AA19128@hermes.berkeley.edu> dillon@HERMES.BERKELEY.EDU (Matt Dillon) writes:
:=-
:=-	bitmap's A and B
:=-
:=-	A = A ^ B
:=-	B = B ^ A	(B = B ^ A ^ B = A)
:=-	A = A ^ B	(A = A ^ B ^ A = B)
:=-
:=-					-Matt
:
:	Or (Xor?), for that matter,
:
:	A = A xor B
:	B = A xor B
:	A = A xor B
Technical Details
Message-ID: <8904242119.AA25394@postgres.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!POSTGRES.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!POSTGRES.BERKELEY.EDU!dillon
From: dillon@POSTGRES.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga.tech
Subject: Re: swapping bitmaps using the blitter and not using temporary space
Message-ID: <8904242119.AA25394@postgres.Berkeley.EDU>
Date: 24 Apr 89 21:19:35 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 20