Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!cbmehq!cbmdeo!jsmami!jsmoller From: jsmoller@jsmami.UUCP (Jesper Steen Moller) Newsgroups: comp.sys.amiga.programmer Subject: Re: Lemmings - a tutorial Part V (last) Message-ID: <18f2dc98.ARN129d@jsmami.UUCP> Date: 7 Apr 91 13:15:08 GMT References: <1991Mar31.003933.1483@mintaka.lcs.mit.edu> <1991Apr1.020748.26863@mintaka.lcs.mit.edu> <1813@disun4.epfl.ch> <1991Apr5.231849.23215@starnet.uucp> Reply-To: cbmehq!cbmdeo!jsmami!jsmoller (Jesper S. Moller) Followup-To: comp.sys.amiga.programmer Organization: Danish SofTech Lines: 53 In article <1991Apr5.231849.23215@starnet.uucp>, Stephan Schaem writes: > Well, CBM had 6 years to redo crytical routines in ASM... > Anyway there will still be low C programers to waist all the > work.(not personal here.Just look at the software around). And there will always be low assembler programmers to code all the worst games. Hey come on - grow up. Stop throwing mud here. > Most redraw gadgets all the time for > no reason, or when do selection redraw the all list! pitifull. Strange - I never saw _one_ program that redraws any gadgets upon selection (except home-made MutualExcludes and some toggle-switches). Can you come up with any proof? > Do Gadget use layers by the way? Just an impresion I had. I need not comment this in any way - it is clear that your knowledge of the OS is ... apalling. > Do you think its resonable to have use more than 1/60 second to move > one step a slider and do a rethink screen? Well you wouldn't really want to RethinkDisplay() for moving a slider. Anyway, I have no complaints about slider-movement in any Amiga program. Or is it real-time movement in e.g. ProPage 2.0 you want? > I'm just really happy exec is was not done in C. Why am I following this up? I must be mad! > And the 20% 30% is defenectly true, if the os have a single > MOUSEMOVE assign the a window! Definitely not true. See the other thread about CPU-usage for a resting Amiga. 1% measured on a normal MC68000. If the mouse is moved around, ok - another % or two. Do not count on the information XOper gives you - the count is based on the number of task switches to each task, not the actual time taken. > Or you read position yourself from the various system copy... Ha - poof! Your you read for instance the values in IntuitionBase your program will get wrong values in 2.0. And the technique is not Amiga-like anyway - it's called busy-polling. - Jesper -- __ Jesper Steen Moller /// VOICE: +45 31 62 46 45 Maglemosevej 52 __ /// USENET: cbmehq!cbmdeo!jsmoller DK-2920 Charl \\\/// FIDONET: 2:231/84.45 Denmark \XX/