Thread View: comp.sys.amiga.tech
2 messages
2 total messages
Started by Steve Hollasch
Tue, 22 Jan 1991 07:37
BltMaskBitMapFlippinRastPort() Question
Author: Steve Hollasch
Date: Tue, 22 Jan 1991 07:37
Date: Tue, 22 Jan 1991 07:37
33 lines
1919 bytes
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
Re: BltMaskBitMapFlippinRastPort() Question
Author: Randell Jesup
Date: Tue, 22 Jan 1991 21:34
Date: Tue, 22 Jan 1991 21:34
20 lines
1521 bytes
1521 bytes
In article <9101220737.AA01041@enuxha.eas.asu.edu> hollasch@enuxha.eas.asu.edu (Steve Hollasch) writes:
> 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.
> 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.
Since BMBMRP works on all Amiga's, I would suspect the '020 hack
he added is causing problems (maybe by caching chip memory). You should send
your test program with a detailed report to bugs@cbmvax.commodore.com, and
if possible first test it on a 2500 or 3000.
--
Randell Jesup, Keeper of AmigaDos, Commodore Engineering.
{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup
The compiler runs
Like a swift-flowing river
I wait in silence. (From "The Zen of Programming") ;-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads