From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 10 22:59:45 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BE7F16A41C for ; Fri, 10 Jun 2005 22:59:45 +0000 (GMT) (envelope-from root@Neo-Vortex.net) Received: from Neo-Vortex.net (203-173-58-65.dyn.iinet.net.au [203.173.58.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E358C43D53 for ; Fri, 10 Jun 2005 22:59:44 +0000 (GMT) (envelope-from root@Neo-Vortex.net) Received: from localhost.Neo-Vortex.net (Neo-Vortex@localhost.Neo-Vortex.net [127.0.0.1]) by Neo-Vortex.net (8.13.1/8.12.10) with ESMTP id j5AMxWgP099243; Sat, 11 Jun 2005 08:59:32 +1000 (EST) (envelope-from root@Neo-Vortex.net) Date: Sat, 11 Jun 2005 08:59:32 +1000 (EST) From: Neo-Vortex To: Mike Hunter In-Reply-To: <20050610224415.GB11336@malcolm.berkeley.edu> Message-ID: <20050611085830.N98712@Neo-Vortex.net> References: <20050610224415.GB11336@malcolm.berkeley.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-hackers@freebsd.org Subject: Re: Slowing down an old program to run on a fast CPU? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 22:59:45 -0000 On Fri, 10 Jun 2005, Mike Hunter wrote: > Hey everybody, > > I was playing around in ports and came across xroach. Cool program :) > The only problem is that it runs too fast; you can't see the roaches > because they scurry under your windows too quickly. > > Is there a general-purpose approach to this kind of problem in the FBSD > world? I can see myself writing a C program called `slow` that would take > argv[1] as the factor ( > 1) by which argv[2] should be slowed down by. > > Anybody else ever come up against this? > > Thanks and happy Friday! You could try installing vmware and running however many copies of windows it takes to make the game playable... (i would say some other form of *BSD, but it probobly wouldn't hog as much cpu :P) ~NVX