Re: [PATCH] restore floppy boot image

From: Timothy Miller (miller_at_techsource.com)
Date: 06/30/04

  • Next message: Randy.Dunlap: "Re: Crash when loading a module (without executing any code of the module!)"
    Date:	Wed, 30 Jun 2004 17:33:17 -0400
    To: Joshua <jhudson@cyberspace.org>
    
    

    Joshua wrote:

    > +/*
    > + * Routine errcode prints a diagnostic to the screen
    > + * Used for debugging and for printing BIOS error codes
    > + */
    > +errcode:
    > + mov %ah, %dh
    > + mov $1, %cx
    > +print_hex:
    > + mov $10, %ah
    > + mov $7, %bx
    > +phl: mov %dh, %al
    > + shr $4, %al
    > + and 15, %al
    > + add $0x90, %al
    > + daa
    > + add $0x40, %al
    > + daa
    > + int $0x10
    > + shl $4, %dx
    > + loop phl

    This loop will not loop. You've set CX to 1.
    LOOP is like "} while (--CX);".

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Randy.Dunlap: "Re: Crash when loading a module (without executing any code of the module!)"

    Relevant Pages

    • Re: Slow bash script
      ... getting only about one iteration per second in the while loop. ... It extracts md5sums from a 180k Packages file and makes an indices file. ... though I'm no script master, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: loading huge number of rules in iptables (blocklist)
      ... Hash: SHA1 ... So the above function's loop goes over these many times ... inserting the rules for each range. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: iceape puzzle
      ... There's another process doing things with dpkg at the time this loop happens. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
      (Debian-User)
    • [PATCH 9/9] Cleanup a loop in set_slab_attr()
      ... Last, but not least, fix a loop in set_slab_attrto match the rest of the ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Slow bash script
      ... getting only about one iteration per second in the while loop. ... do echo "input line is " $inputline ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)