Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!bionet!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple2 Subject: Re: KansasFest happened! Message-ID: <43316@apple.Apple.COM> Date: 24 Jul 90 22:57:59 GMT References: <43263@apple.Apple.COM> <11982@sdcc6.ucsd.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 82 In article <11982@sdcc6.ucsd.edu> jonah@amos.ucsd.edu (Jonah Stich) writes: >[...] Also, I'd like to know the date of the Fest next year (assuming >there is going to be one) so that I can go.(I couldn't og to this one because >plane tickets are $600 when you try to order them the week before :) Well, if you subscribe to A2-Central you'll definitely know about it in time. 913-469-6502. Otherwise, ask for info on the net next May or so, I guess (the last two conferences have been right around July 20, and I wouldn't be surprised if it becomes a tradition). DL>I spent most of the time either doing presentations (on debugging DL>and writing DAs/inits/CDevs), or helping attack bugs in the DL>bug-busting room. >Okay, Dave, I'm curious. What advice WOULD you give for debugging these >particularly CDevs? I'm working on one right now, and it's a REAL pain in >the but to debug. Also, NDA and Init debuggin would be of interest, as I'm >working on those, too. Whoops, my statement was a -little- ambiguous there...what I meant was a session on "debugging" and another session on "writing DAs/inits/CDevs," but I *do* have some specific ideas for debugging CDevs (see below). DL>A special version of GSBug and the new Nifty List 3.0 were instumental DL>in the short life expectancy of any bug walking through the door. >Will this 'special' version be avaliable to us common folk, or is it too >special? The "special" version is GSBug 1.5b9, and it is presently available only to Apple Partners ($300/yr), Apple Associates ($150/yr) [call 408-974- 4897 for info], and to folks who attended KansasFest. (They *aren't* supposed to distribute it.) (If you're a partner or associate, look on the Discy Business CD-ROM for the beta GSBug.) In a few months, APDA will be shipping the real GSBug 1.5 (not beta). *For now*, here are a couple ideas on debugging CDevs. Use the version of GSBug you have for single stepping through the code. Before 1.5, you can't type in the debugger while an NDA is in front (with 1.5xx, press the CapsLock key and you can type keys to the application or in GSBug). Alternatively, you can use a pre-1.5 GSBug and hack the Control Panel NDA's event mask so that it does not accept key-down or autoKey events. Nifty List 3.0 will help you find your code resource in memory, after the control panel loads it (use 5000i, for example). If you want to load it manually and debug it outside the Control Panel environment, fine...you can do an _OpenResourceFile and _LoadResource call right from Nifty List. You may have to feed GetCodeResConverter into ResourceConverter first, to make it process your code resource during the LoadResource. Then you could just create "fake" calls to your CDev code from GSBug, with some handy window on the screen (maybe resize the Finder's Trash window and then do a NewControl2 on your CDev's controls). >Speaking of disks given out in KC, is there any way to get copiies of these? >II heard there were going to be some nice ones distributed, and I wanted to >take a look at some of the stuff.... In general, no. The one I was -personally- giving out is no problem--that stuff will all be on comp.binaries.apple2 soon. (Was going to do it last night, but it took a lot longer than I thought to get my high-speed SCSI card and new hard drive up and running last night.) (By the way, has anybody else had trouble using the high-speed SCSI card after installing the special OS and drivers that come with it, over your existing 5.0.2 installation? My system was hanging about 2/3 of the way through my boot, apparently in the middle of a SCSI read. I solved the problem temporarily by turning off the DMA switch on the card, but that shouldn't be necessary--I don't have a large memory card or any other DMA peripherals in that particular system.) >Jonah Stich >jonah@amos.ucsd.edu -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.