🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

BltMaskBitMapFlippinRastPort() Question

#8055
From: Steve Hollasch
Date: Tue, 22 Jan 1991 07:37
33 lines
1919 bytes
    I'm working on a program that places pieces on a playing board (for the
game of Go).  To place a piece on the playing board, I do the following:

    1)  Clear the piece location to the board color (RectFill).
    2)  Slap down the piece shadow.
    3)  Slap down the board lines.
    4)  Slap down the stone.

    Steps 2-4 are done via BltMaskBitMapRastPort(), where the pieces are
slapped on the screen through a stencil.

    The problem is that everything works fine on my Amiga 1000, 512k,
standard everything, but doesn't work on my friend's Amiga 1000, 2.5M,
68020, 68881.

    I compiled a test program to find out the differences, and here's what
I found:

    Screen & window creation, RectFill()'s, WritePixel()'s, ClipBlit()'s,
all work fine.  The only problem is that BltMaskBitMapRastPort() doesn't
seem to work on his machine.

    Does anybody out there have any experience with that function?  Any
ideas why it doesn't work?  By the way, I used AllocRaster() to allocate
the bitplanes for the source bitmap, and on his machine the bitplane
addresses are all in chip memory (they're all below $00100000).

    Any ideas?

______________________________________________________________________________
Steve Hollasch                /      Arizona State University (Tempe, Arizona)
hollasch@enuxha.eas.asu.edu  /  uunet!mimsy!oddjob!noao!asuvax!enuxha!hollasch
Technical Details
Message-ID: <9101220737.AA01041@enuxha.eas.asu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!ENUXHA.EAS.ASU.EDU!hollasch

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!ENUXHA.EAS.ASU.EDU!hollasch
From: hollasch@ENUXHA.EAS.ASU.EDU (Steve Hollasch)
Newsgroups: comp.sys.amiga.tech
Subject: BltMaskBitMapFlippinRastPort() Question
Keywords: amiga blitter C
Message-ID: <9101220737.AA01041@enuxha.eas.asu.edu>
Date: 22 Jan 91 07:37:36 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: hollasch@enuxha.eas.asu.edu (Steve Hollasch)
Distribution: usa
Organization: Arizona State University
Lines: 33