Article View: comp.sys.amiga.tech
Article #12842problem with codeprobe
From: "Eric Edwards"
Date: Thu, 25 May 1989 00:29
Date: Thu, 25 May 1989 00:29
48 lines
2762 bytes
2762 bytes
I have discovered what seems to be a bug in codeprobe. The following program i
s supposed to open a 640x200 3 bitplane screen momentarily, close it and then
exit. And it it does if it's run from the cli. If it is compiled with -d3 and
run from cpr however, it gurus on the open screen call with a meditation of
00000004.00C3A2A0 Has anybody else seen this bug or is it just another of my
dumb errors in disguise?
#include <intuition/intuition.h>
#include <proto/graphics.h>
struct IntuitionBase *IntuitionBase;
struct Screen *Screen1;
struct NewScreen NewScreen1 = {
0,0,640,200,3, /* SHORT LeftEdge, TopEdge, Width, Depth */
1,0, /* UBYTE DetailPen, BlockPen */
HIRES, /* USHORT ViewModes */
CUSTOMSCREEN, /* USHORT Type */
NULL, /* struct TextAtr *Font */
NULL, /* UBYTE *DefaultTitle */
NULL, /* struct Gadget *Gadget */
NULL /* struct BitMap *CustomBitMap */
};
void main()
{
IntuitionBase=(struct IntuitionBase *)OpenLibrary("intuition.library",0);
/* gurus here in cpr*/
Screen1=OpenScreen(&NewScreen1);
Delay(10);
CloseScreen(Screen1);
CloseLibrary(IntuitionBase);
}
I hope I can get this resolved. I was hoping to use CodeProbe to swat existing
bugs in my code instead of invent new ones.
Since the local "feed" has been very unreliable I could much appreciate if
everybody would e-mail their responses.
Bitnet: C506634@umcvmb.bitnet __________________________
Internet: C506634@umcvmb.missouri.edu / \.--------. / \
"The Amiga just isn't reliable enough unless you | | Eric |---------+ |
know a lot about the machine" -- Jerry Pournelle | `--------' ! |
================================================|| .--------. ! |
"I did notice that at my party people stood in | | Edwards|_________+ |
line to play with the Amiga"-- Jerry Pournelle | /`--------' ^ |
BYTE, October '88 \__________________________/
Technical Details
Message-ID:
<8905250048.AA20265@jade.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bloom-beacon!tut.cis.ohio-state.edu!ucbvax!UMCVMB.BITNET!C506634Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bloom-beacon!tut.cis.ohio-state.edu!ucbvax!UMCVMB.BITNET!C506634
From: C506634@UMCVMB.BITNET ("Eric Edwards")
Newsgroups: comp.sys.amiga.tech
Subject: problem with codeprobe
Message-ID: <8905250048.AA20265@jade.berkeley.edu>
Date: 25 May 89 00:29:03 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 48