search for: wrchr

Displaying 2 results from an estimated 2 matches for "wrchr".

Did you mean: arch
2010 Nov 26
1
[PATCH] new *br: Show handoff data
...movw $0x5024, %dx movw $0x506E, %bx ch_pnp: es lodsw cmpw %dx, %ax jne ch_pnp_l es lodsw cmpw %bx, %ax je pr_pnp ch_pnp_l: addw $14, %si andw $0xFFF0, %si loopw ch_pnp jmp end pr_pnp: pushw %si call wrstr .ascii "$PnP-\0" movw %es, %dx call wrhexw movb $':, %al call wrchr popw %dx andw $0xFFF0, %dx call wrhexw #endif /* DEBUG_PNP */ call crlf end: jmp bootfail ASCII_MARKER1 "wc" wrchr: movb $0x0e, %ah movb (BIOS_page), %bh movb $0x07, %bl int $0x10 /* May destroy %bp */ ret ASCII_MARKER1 "ws" wrstr: pop %si wrstr_l: lodsb cmpb...
2017 Mar 21
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...Sectors are 1-based */ movw $0x0201, %ax read_common: movb (driveno), %dl int $0x13 leaw 16(%si), %sp /* Drop DAPA */ popal ret disk_error: call print_string .ascii "Operating system load error.\r\n" jmp boot_failure /* * Prints char in al. * Destroys AH. Possibly BP. */ wrchr: push %bx movb $0x0e, %ah movb (BIOS_page), %bh movb $0x07, %bl int $0x10 /* May destroy %bp */ pop %bx ret /* * Prints byte in AL as hex (e. g. 255 prints FF). * Destroys AX. */ print_al: push %ax shr $4, %al call print_nibble pop %ax print_nibble: and $0x0F, %al cmp $9, %al jb...