Displaying 3 results from an estimated 3 matches for "bios_pag".
Did you mean:
bios_page
2011 Feb 18
1
[PATCH] core: Honor DISPLAY text background color when in VGA mode
...sertions(+), 0 deletions(-)
diff --git a/core/conio.inc b/core/conio.inc
index b450502..0784e65 100644
--- a/core/conio.inc
+++ b/core/conio.inc
@@ -100,9 +100,25 @@ msg_normal: call write_serial_displaymask ; Write to serial port
jz msg_ignore
mov bl,[TextAttribute]
mov bh,[BIOS_page]
+ cmp cl,02h
+ jnz .text
+ push ax
+ mov al,0xdb ; solid block
+ shr bl,4 ; background color
mov ah,09h ; Write character/attribute...
2010 Nov 26
1
[PATCH] new *br: Show handoff data
..._ax = (stack-2)
e0_cx = (stack-4)
e0_dx = (stack-6)
e0_bx = (stack-8)
e0_sp = (stack-10)
e0_bp = (stack-12)
e0_si = (stack-14)
e0_di = (stack-16)
e0_bot = (stack-16)
e_di = (e0_bot-2) /* Original register values from entry point */
e_es = (e0_bot-4)
e_si = (e0_bot-6)
e_ds = (e0_bot-8)
BIOS_page = 0x462
.globl _start
_start:
cli
xorw %ax, %ax
movw %ax, %ss
movw $stack, %sp
pushaw
pushw %di /* es:di -> $PnP header */
pushw %es
pushw %si
pushw %ds
sti
cld
pushw %cs
popw %ds
#ifdef DEBUG_START
pushw %dx
call crlf
movw $(_start),%dx /* 0x0600 mbr.ld .text address */
ca...
2017 Mar 21
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...isolinux_start_hybrid = 0x7c00+64+4
.globl bootsec
/* Important: the top 6 words on the stack are passed to isolinux.bin */
stack = 0x7c00
partoffset = (stack-8)
driveno = (stack-14)
heads = (stack-16)
sectors = (stack-18)
ebios_flag = (stack-20)
secpercyl = (stack-24)
BIOS_kbdflags = 0x417
BIOS_page = 0x462
/* gas/ld has issues with doing this as absolute addresses... */
.section ".bootsec", "a", @nobits
.globl bootsec
bootsec:
.space 512
.text
.globl _start
_start:
.byte 0x33, 0xed /* xorw %bp, %bp */
cli
movw %bp, %ss
movw $stack, %sp
sti
cld
/* Check to...