From: Shawn H. <sh...@ta...> - 1999-06-27 14:10:47
|
Igor Gnip <gnipi@EUnet.yu> writes: > About the bug with ALLEGRO 4.0 introductory animation (hangs before > gfx_select_mode() ... I've found a way to get around it ... but it still > is a bug. As I said in response to your first post, this is a known bug, and has been fixed as of early last week. To work around it in the last WIP version, just don't play MIDI files. -- Shawn Hargreaves - sh...@ta... - http://www.talula.demon.co.uk/ "A binary is barely software: it's more like hardware on a floppy disk." >From <all...@ca...> Sun Jun 27 09:06:02 1999 Received: from finch-post-11.mail.demon.net [194.217.242.39] by canvaslink.com with ESMTP (SMTPD32-4.06) id A1B8A0200D8; Sun, 27 Jun 1999 09:06:00 -0400 Received: from talula.demon.co.uk ([194.222.103.32]) by finch-post-11.mail.demon.net with esmtp (Exim 2.12 #1) id 10yEcb-0003rQ-0B for al...@ca...; Sun, 27 Jun 1999 13:05:21 +0000 Received: (from shawn@localhost) by talula.demon.co.uk (8.9.3/8.8.7) id MAA06501 for al...@ca...; Sun, 27 Jun 1999 12:47:52 +0100 Date: Sun, 27 Jun 1999 12:47:52 +0100 From: Shawn Hargreaves <sh...@ta...> To: al...@ca... Subject: Re: [AL] Bug in _linear_blit_backward8()? Message-ID: <199...@ta...> Mail-Followup-To: al...@ca... References: <001501bec022$ed6394e0$905c08c3@arthur> <199...@ta...> <000b01bec08a$8b3552a0$3c5c08c3@arthur> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <000b01bec08a$8b3552a0$3c5c08c3@arthur>; from James Arthur on Sun, Jun 27, 1999 at 11:47:13AM +0100 Precedence: bulk Sender: all...@ca... Reply-To: al...@ca... X-UIDL: 927489930 Status: O Content-Length: 797 Lines: 24 James Arthur <ja...@ar...> writes: > OK, I've zipped up the source and binary and uploaded it to > http://www.arfa.clara.net/james/files/bug.zip (around 250k). Thanks. This patch (apply to any recent WIP version) should fix it: --- \backup\allegro\src\i386\iblit8.s Tue Mar 30 22:36:44 1999 +++ src\i386\iblit8.s Sun Jun 27 12:46:08 1999 @@ -259,6 +259,9 @@ andl $3, %ecx /* copy bytes */ rep ; movsb /* copy the line */ + subl $3, %esi + subl $3, %edi + movl %eax, %ecx shrl $2, %ecx /* copy dwords */ rep ; movsl /* copy the line */ -- Shawn Hargreaves - sh...@ta... - http://www.talula.demon.co.uk/ "A binary is barely software: it's more like hardware on a floppy disk." >From <all...@ca...> Sun Jun 27 09:58:42 1999 Received: from grynet.passagen.se [195.163.107.36] by canvaslink.com with ESMTP (SMTPD32-4.06) id AE0FBEE00EE; Sun, 27 Jun 1999 09:58:39 -0400 Received: from hem.passagen.se (dialup48-2-13.swipnet.se [130.244.48.77]) by grynet.passagen.se (8.8.6/8.8.6) with ESMTP id PAA27357 for <al...@ca...>; Sun, 27 Jun 1999 15:58:01 +0200 (MDT) Message-ID: <377...@he...> Date: Sun, 27 Jun 1999 15:56:56 +0200 From: Gregor -ALiENiD- Brunmar <gr...@he...> X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: al...@ca... Subject: Re: [AL] Turning off numlock References: <199...@ju...> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Sender: all...@ca... Reply-To: al...@ca... X-UIDL: 927489930 Status: O Content-Length: 665 Lines: 21 mat...@ju... wrote: > Is there a way to turn off not only the numlock LED, but the numlockness > associoated with it within the allegro keyboard functions? i.e. For the > duration of my program, I want pushing the 7 key on my keypad to mean > "home", regardless of whether or not numlock was on prior to the start > of my program. I've had a similar problem and I found no good solution except checking if it was lit before the game start and if it is, print an error message. Here's the code I used: if(key_shifts & KB_NUMLOCK_FLAG) { printf("Error: Numlock lit!"); return 1; } key_led_flag = FALSE; Hops that helps you... - Gregge |