summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/Graphics/BIOS
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-03-26 19:21:20 +0000
committer <>2014-05-08 15:03:54 +0000
commitfb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch)
treec2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Devices/Graphics/BIOS
parent58ed4748338f9466599adfc8a9171280ed99e23f (diff)
downloadVirtualBox-master.tar.gz
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Devices/Graphics/BIOS')
-rw-r--r--src/VBox/Devices/Graphics/BIOS/Makefile.kmk9
-rw-r--r--src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.asm4287
-rw-r--r--src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.md5sum2
-rw-r--r--src/VBox/Devices/Graphics/BIOS/inlines.h2
-rw-r--r--src/VBox/Devices/Graphics/BIOS/vbe.c12
5 files changed, 2227 insertions, 2085 deletions
diff --git a/src/VBox/Devices/Graphics/BIOS/Makefile.kmk b/src/VBox/Devices/Graphics/BIOS/Makefile.kmk
index 46905328..8d8e78e1 100644
--- a/src/VBox/Devices/Graphics/BIOS/Makefile.kmk
+++ b/src/VBox/Devices/Graphics/BIOS/Makefile.kmk
@@ -135,5 +135,14 @@ $$(VgaDefBiosLogo_0_OUTDIR)/VgaDefBiosLogo.c: $(VBOX_BRAND_BIOS_LOGO) $(VBOX_BIN
$(QUIET)$(VBOX_BIN2C) VgaDefBiosLogo $< $@
+ifdef VBOX_WITH_OPEN_WATCOM
+ #
+ # Install the symbol file for the BIOS.
+ #
+ INSTALLS += VBoxVgaBiosSym
+ VBoxVgaBiosSym_TEMPLATE = VBoxDbgSyms
+ VBoxVgaBiosSym_SOURCES = $(basename $(VBoxVgaBios_1_TARGET)).sym
+endif
+
include $(FILE_KBUILD_SUB_FOOTER)
diff --git a/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.asm b/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.asm
index 3922acd9..183842bb 100644
--- a/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.asm
+++ b/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.asm
@@ -151,11 +151,21 @@
; //
; // ============================================================================================
+;
+; Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
+; other than GPL or LGPL is available it will apply instead, Oracle elects to use only
+; the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
+; a choice of LGPL license versions is made available with the language indicating
+; that LGPLv2 or any later version may be used, or where a choice of which version
+; of the LGPL is applied is otherwise unspecified.
+;
+
+
section VGAROM progbits vstart=0x0 align=1 ; size=0x93e class=CODE group=AUTO
- db 055h, 0aah, 040h, 0e9h, 05fh, 00ah, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
+ db 055h, 0aah, 040h, 0e9h, 062h, 00ah, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 049h, 042h
db 04dh, 000h
vgabios_int10_handler: ; 0xc0022 LB 0x585
@@ -243,7 +253,7 @@ vgabios_int10_handler: ; 0xc0022 LB 0x585
pushaw ; 60
mov bx, 0c000h ; bb 00 c0
mov ds, bx ; 8e db
- call 02fb4h ; e8 c4 2e
+ call 03040h ; e8 50 2f
popaw ; 61
pop DS ; 1f
pop ES ; 07
@@ -1496,7 +1506,7 @@ vbe_biosfn_return_protected_mode_interface: ; 0xc0925 LB 0x19
; Padding 0xc2 bytes at 0xc093e
times 194 db 0
-section _TEXT progbits vstart=0xa00 align=1 ; size=0x2ebf class=CODE group=AUTO
+section _TEXT progbits vstart=0xa00 align=1 ; size=0x2f80 class=CODE group=AUTO
set_int_vector_: ; 0xc0a00 LB 0x1a
push bx ; 53
push bp ; 55
@@ -1510,10 +1520,10 @@ set_int_vector_: ; 0xc0a00 LB 0x1a
pop bp ; 5d
pop bx ; 5b
retn ; c3
-init_vga_card_: ; 0xc0a1a LB 0x19
- push dx ; 52
+init_vga_card_: ; 0xc0a1a LB 0x1c
push bp ; 55
mov bp, sp ; 89 e5
+ push dx ; 52
mov AL, strict byte 0c3h ; b0 c3
mov dx, 003c2h ; ba c2 03
out DX, AL ; ee
@@ -1523,10 +1533,11 @@ init_vga_card_: ; 0xc0a1a LB 0x19
mov AL, strict byte 002h ; b0 02
mov dx, 003c5h ; ba c5 03
out DX, AL ; ee
- pop bp ; 5d
+ lea sp, [bp-002h] ; 8d 66 fe
pop dx ; 5a
+ pop bp ; 5d
retn ; c3
-init_bios_area_: ; 0xc0a33 LB 0x32
+init_bios_area_: ; 0xc0a36 LB 0x32
push bx ; 53
push bp ; 55
mov bp, sp ; 89 e5
@@ -1544,38 +1555,39 @@ init_bios_area_: ; 0xc0a33 LB 0x32
pop bp ; 5d
pop bx ; 5b
retn ; c3
-_vgabios_init_func: ; 0xc0a65 LB 0x1e
+_vgabios_init_func: ; 0xc0a68 LB 0x20
push bp ; 55
mov bp, sp ; 89 e5
- call 00a1ah ; e8 af ff
- call 00a33h ; e8 c5 ff
- call 0340bh ; e8 9a 29
+ call 00a1ah ; e8 ac ff
+ call 00a36h ; e8 c5 ff
+ call 034afh ; e8 3b 2a
mov dx, strict word 00022h ; ba 22 00
mov ax, strict word 00010h ; b8 10 00
- call 00a00h ; e8 86 ff
+ call 00a00h ; e8 83 ff
mov ax, strict word 00003h ; b8 03 00
db 032h, 0e4h
; xor ah, ah ; 32 e4
int 010h ; cd 10
+ mov sp, bp ; 89 ec
pop bp ; 5d
retf ; cb
-vga_get_cursor_pos_: ; 0xc0a83 LB 0x40
- push cx ; 51
- push si ; 56
+vga_get_cursor_pos_: ; 0xc0a88 LB 0x43
push bp ; 55
mov bp, sp ; 89 e5
+ push cx ; 51
+ push si ; 56
mov cl, al ; 88 c1
mov si, dx ; 89 d6
cmp AL, strict byte 007h ; 3c 07
- jbe short 00a9eh ; 76 0e
+ jbe short 00aa3h ; 76 0e
push SS ; 16
pop ES ; 07
mov word [es:si], strict word 00000h ; 26 c7 04 00 00
mov word [es:bx], strict word 00000h ; 26 c7 07 00 00
- jmp short 00abfh ; eb 21
+ jmp short 00ac4h ; eb 21
mov dx, strict word 00060h ; ba 60 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 60 24
+ call 02f93h ; e8 e7 24
push SS ; 16
pop ES ; 07
mov word [es:si], ax ; 26 89 04
@@ -1583,52 +1595,55 @@ vga_get_cursor_pos_: ; 0xc0a83 LB 0x40
add dx, dx ; 01 d2
add dx, strict byte 00050h ; 83 c2 50
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 4d 24
+ call 02f93h ; e8 d4 24
push SS ; 16
pop ES ; 07
mov word [es:bx], ax ; 26 89 07
- pop bp ; 5d
+ lea sp, [bp-004h] ; 8d 66 fc
pop si ; 5e
pop cx ; 59
+ pop bp ; 5d
retn ; c3
-vga_read_char_attr_: ; 0xc0ac3 LB 0xa3
+vga_read_char_attr_: ; 0xc0acb LB 0xa8
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- enter 00008h, 000h ; c8 08 00 00
+ sub sp, strict byte 00008h ; 83 ec 08
mov cl, al ; 88 c1
mov si, dx ; 89 d6
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 13 24
+ call 02f77h ; e8 95 24
xor ah, ah ; 30 e4
- call 02ec4h ; e8 e7 23
+ call 02f50h ; e8 69 24
mov ch, al ; 88 c5
cmp AL, strict byte 0ffh ; 3c ff
- je short 00b50h ; 74 6d
+ je short 00b5ah ; 74 6d
movzx ax, cl ; 0f b6 c1
- lea bx, [bp-008h] ; 8d 5e f8
- lea dx, [bp-006h] ; 8d 56 fa
- call 00a83h ; e8 94 ff
- mov al, byte [bp-008h] ; 8a 46 f8
- mov byte [bp-002h], al ; 88 46 fe
- mov ax, word [bp-008h] ; 8b 46 f8
+ lea bx, [bp-010h] ; 8d 5e f0
+ lea dx, [bp-00eh] ; 8d 56 f2
+ call 00a88h ; e8 8f ff
+ mov al, byte [bp-010h] ; 8a 46 f0
+ mov byte [bp-00ah], al ; 88 46 f6
+ mov ax, word [bp-010h] ; 8b 46 f0
xor al, al ; 30 c0
shr ax, 008h ; c1 e8 08
- mov word [bp-004h], ax ; 89 46 fc
+ mov word [bp-00ch], ax ; 89 46 f4
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 e2 23
+ call 02f77h ; e8 64 24
movzx di, al ; 0f b6 f8
inc di ; 47
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 f1 23
+ call 02f93h ; e8 73 24
movzx bx, ch ; 0f b6 dd
sal bx, 003h ; c1 e3 03
- cmp byte [bx+0482fh], 000h ; 80 bf 2f 48 00
- jne short 00b50h ; 75 2d
+ cmp byte [bx+04830h], 000h ; 80 bf 30 48 00
+ jne short 00b5ah ; 75 2d
mov dx, ax ; 89 c2
imul dx, di ; 0f af d7
add dx, dx ; 01 d2
@@ -1636,123 +1651,130 @@ vga_read_char_attr_: ; 0xc0ac3 LB 0xa3
xor ch, ch ; 30 ed
inc dx ; 42
imul cx, dx ; 0f af ca
- movzx dx, byte [bp-004h] ; 0f b6 56 fc
+ movzx dx, byte [bp-00ch] ; 0f b6 56 f4
imul dx, ax ; 0f af d0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
add ax, dx ; 01 d0
add ax, ax ; 01 c0
mov dx, cx ; 89 ca
add dx, ax ; 01 c2
- mov ax, word [bx+04832h] ; 8b 87 32 48
- call 02f07h ; e8 ba 23
+ mov ax, word [bx+04833h] ; 8b 87 33 48
+ call 02f93h ; e8 3c 24
mov word [ss:si], ax ; 36 89 04
- leave ; c9
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
- or word [bp+di], 00bbdh ; 81 0b bd 0b
- retn 0ca0bh ; c2 0b ca
- db 00bh, 0cfh
- ; or cx, di ; 0b cf
- db 00bh, 0d4h
- ; or dx, sp ; 0b d4
- db 00bh, 0d9h
- ; or bx, cx ; 0b d9
- db 00bh, 0deh
- ; or bx, si ; 0b de
+ mov cs, [bp+di] ; 8e 0b
+ int 00bh ; cd 0b
+ ror byte [bp+di], CL ; d2 0b
+ fimul dword [bp+di] ; da 0b
+ db 0dfh
+ db 00bh, 0e4h
+ ; or sp, sp ; 0b e4
+ db 00bh, 0e9h
+ ; or bp, cx ; 0b e9
+ db 00bh, 0eeh
+ ; or bp, si ; 0b ee
db 00bh
-vga_get_font_info_: ; 0xc0b66 LB 0x7f
+vga_get_font_info_: ; 0xc0b73 LB 0x82
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00002h, 000h ; c8 02 00 00
+ push ax ; 50
mov si, dx ; 89 d6
- mov word [bp-002h], bx ; 89 5e fe
+ mov word [bp-006h], bx ; 89 5e fa
mov bx, cx ; 89 cb
cmp ax, strict word 00007h ; 3d 07 00
- jnbe short 00bb7h ; 77 3f
+ jnbe short 00bc4h ; 77 3f
mov di, ax ; 89 c7
add di, ax ; 01 c7
- jmp word [cs:di+00b56h] ; 2e ff a5 56 0b
+ jmp word [cs:di+00b63h] ; 2e ff a5 63 0b
mov dx, strict word 0007ch ; ba 7c 00
xor ax, ax ; 31 c0
- call 02f23h ; e8 9a 23
+ call 02fafh ; e8 19 24
push SS ; 16
pop ES ; 07
- mov di, word [bp-002h] ; 8b 7e fe
+ mov di, word [bp-006h] ; 8b 7e fa
mov word [es:di], ax ; 26 89 05
mov word [es:si], dx ; 26 89 14
mov dx, 00085h ; ba 85 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 4e 23
+ call 02f77h ; e8 cd 23
xor ah, ah ; 30 e4
push SS ; 16
pop ES ; 07
mov word [es:bx], ax ; 26 89 07
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 3e 23
+ call 02f77h ; e8 bd 23
xor ah, ah ; 30 e4
push SS ; 16
pop ES ; 07
- mov bx, word [bp+008h] ; 8b 5e 08
+ mov bx, word [bp+004h] ; 8b 5e 04
mov word [es:bx], ax ; 26 89 07
- leave ; c9
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00002h ; c2 02 00
mov dx, 0010ch ; ba 0c 01
- jmp short 00b84h ; eb c2
- mov ax, 05daeh ; b8 ae 5d
+ jmp short 00b91h ; eb bf
+ mov ax, 05dafh ; b8 af 5d
mov dx, 0c000h ; ba 00 c0
- jmp short 00b89h ; eb bf
- mov ax, 055aeh ; b8 ae 55
- jmp short 00bc5h ; eb f6
- mov ax, 059aeh ; b8 ae 59
- jmp short 00bc5h ; eb f1
- mov ax, 07baeh ; b8 ae 7b
- jmp short 00bc5h ; eb ec
- mov ax, 06baeh ; b8 ae 6b
- jmp short 00bc5h ; eb e7
- mov ax, 07cdbh ; b8 db 7c
- jmp short 00bc5h ; eb e2
- jmp short 00bb7h ; eb d2
-vga_read_pixel_: ; 0xc0be5 LB 0x134
+ jmp short 00b96h ; eb bc
+ mov ax, 055afh ; b8 af 55
+ jmp short 00bd5h ; eb f6
+ mov ax, 059afh ; b8 af 59
+ jmp short 00bd5h ; eb f1
+ mov ax, 07bafh ; b8 af 7b
+ jmp short 00bd5h ; eb ec
+ mov ax, 06bafh ; b8 af 6b
+ jmp short 00bd5h ; eb e7
+ mov ax, 07cdch ; b8 dc 7c
+ jmp short 00bd5h ; eb e2
+ jmp short 00bc4h ; eb cf
+vga_read_pixel_: ; 0xc0bf5 LB 0x139
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00006h, 000h ; c8 06 00 00
+ sub sp, strict byte 00006h ; 83 ec 06
mov si, dx ; 89 d6
- mov word [bp-006h], bx ; 89 5e fa
+ mov word [bp-00ah], bx ; 89 5e f6
mov di, cx ; 89 cf
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 f0 22
+ call 02f77h ; e8 6a 23
xor ah, ah ; 30 e4
- call 02ec4h ; e8 c4 22
+ call 02f50h ; e8 3e 23
mov cl, al ; 88 c1
cmp AL, strict byte 0ffh ; 3c ff
- je near 00d15h ; 0f 84 0d 01
+ je near 00d27h ; 0f 84 0d 01
movzx bx, al ; 0f b6 d8
sal bx, 003h ; c1 e3 03
- cmp byte [bx+0482fh], 000h ; 80 bf 2f 48 00
- je near 00d15h ; 0f 84 fe 00
- mov bl, byte [bx+04830h] ; 8a 9f 30 48
+ cmp byte [bx+04830h], 000h ; 80 bf 30 48 00
+ je near 00d27h ; 0f 84 fe 00
+ mov bl, byte [bx+04831h] ; 8a 9f 31 48
cmp bl, 003h ; 80 fb 03
- jc short 00c31h ; 72 11
- jbe short 00c39h ; 76 17
+ jc short 00c43h ; 72 11
+ jbe short 00c4bh ; 76 17
cmp bl, 005h ; 80 fb 05
- je near 00cf2h ; 0f 84 c9 00
+ je near 00d04h ; 0f 84 c9 00
cmp bl, 004h ; 80 fb 04
- je short 00c39h ; 74 0b
- jmp near 00d10h ; e9 df 00
+ je short 00c4bh ; 74 0b
+ jmp near 00d22h ; e9 df 00
cmp bl, 002h ; 80 fb 02
- je short 00c91h ; 74 5b
- jmp near 00d10h ; e9 d7 00
+ je short 00ca3h ; 74 5b
+ jmp near 00d22h ; e9 d7 00
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 c5 22
- imul ax, word [bp-006h] ; 0f af 46 fa
+ call 02f93h ; e8 3f 23
+ imul ax, word [bp-00ah] ; 0f af 46 f6
mov bx, si ; 89 f3
shr bx, 003h ; c1 eb 03
add bx, ax ; 01 c3
@@ -1760,44 +1782,44 @@ vga_read_pixel_: ; 0xc0be5 LB 0x134
and cx, strict byte 00007h ; 83 e1 07
mov ax, 00080h ; b8 80 00
sar ax, CL ; d3 f8
- mov byte [bp-004h], al ; 88 46 fc
- mov byte [bp-002h], ch ; 88 6e fe
- jmp short 00c67h ; eb 08
- cmp byte [bp-002h], 004h ; 80 7e fe 04
- jnc near 00d12h ; 0f 83 ab 00
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
+ mov byte [bp-008h], al ; 88 46 f8
+ mov byte [bp-006h], ch ; 88 6e fa
+ jmp short 00c79h ; eb 08
+ cmp byte [bp-006h], 004h ; 80 7e fa 04
+ jnc near 00d24h ; 0f 83 ab 00
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
sal ax, 008h ; c1 e0 08
or AL, strict byte 004h ; 0c 04
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
mov dx, bx ; 89 da
mov ax, 0a000h ; b8 00 a0
- call 02eebh ; e8 6f 22
- and al, byte [bp-004h] ; 22 46 fc
+ call 02f77h ; e8 e9 22
+ and al, byte [bp-008h] ; 22 46 f8
test al, al ; 84 c0
- jbe short 00c8ch ; 76 09
- mov cl, byte [bp-002h] ; 8a 4e fe
+ jbe short 00c9eh ; 76 09
+ mov cl, byte [bp-006h] ; 8a 4e fa
mov AL, strict byte 001h ; b0 01
sal al, CL ; d2 e0
or ch, al ; 08 c5
- inc byte [bp-002h] ; fe 46 fe
- jmp short 00c5fh ; eb ce
- mov ax, word [bp-006h] ; 8b 46 fa
+ inc byte [bp-006h] ; fe 46 fa
+ jmp short 00c71h ; eb ce
+ mov ax, word [bp-00ah] ; 8b 46 f6
shr ax, 1 ; d1 e8
imul ax, ax, strict byte 00050h ; 6b c0 50
mov bx, si ; 89 f3
shr bx, 002h ; c1 eb 02
add bx, ax ; 01 c3
- test byte [bp-006h], 001h ; f6 46 fa 01
- je short 00ca9h ; 74 03
+ test byte [bp-00ah], 001h ; f6 46 f6 01
+ je short 00cbbh ; 74 03
add bh, 020h ; 80 c7 20
mov dx, bx ; 89 da
mov ax, 0b800h ; b8 00 b8
- call 02eebh ; e8 3a 22
+ call 02f77h ; e8 b4 22
movzx bx, cl ; 0f b6 d9
sal bx, 003h ; c1 e3 03
- cmp byte [bx+04831h], 002h ; 80 bf 31 48 02
- jne short 00cd9h ; 75 1b
+ cmp byte [bx+04832h], 002h ; 80 bf 32 48 02
+ jne short 00cebh ; 75 1b
mov cx, si ; 89 f1
xor ch, ch ; 30 ed
and cl, 003h ; 80 e1 03
@@ -1809,7 +1831,7 @@ vga_read_pixel_: ; 0xc0be5 LB 0x134
sar ax, CL ; d3 f8
mov ch, al ; 88 c5
and ch, 003h ; 80 e5 03
- jmp short 00d12h ; eb 39
+ jmp short 00d24h ; eb 39
mov cx, si ; 89 f1
xor ch, ch ; 30 ed
and cl, 007h ; 80 e1 07
@@ -1820,30 +1842,34 @@ vga_read_pixel_: ; 0xc0be5 LB 0x134
sar ax, CL ; d3 f8
mov ch, al ; 88 c5
and ch, 001h ; 80 e5 01
- jmp short 00d12h ; eb 20
+ jmp short 00d24h ; eb 20
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 0c 22
+ call 02f93h ; e8 86 22
sal ax, 003h ; c1 e0 03
- imul ax, word [bp-006h] ; 0f af 46 fa
+ imul ax, word [bp-00ah] ; 0f af 46 f6
mov dx, si ; 89 f2
add dx, ax ; 01 c2
mov ax, 0a000h ; b8 00 a0
- call 02eebh ; e8 df 21
+ call 02f77h ; e8 59 22
mov ch, al ; 88 c5
- jmp short 00d12h ; eb 02
+ jmp short 00d24h ; eb 02
xor ch, ch ; 30 ed
mov byte [ss:di], ch ; 36 88 2d
- leave ; c9
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn ; c3
-biosfn_perform_gray_scale_summing_: ; 0xc0d19 LB 0x88
+biosfn_perform_gray_scale_summing_: ; 0xc0d2e LB 0x8c
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
+ push ax ; 50
+ push ax ; 50
mov bx, ax ; 89 c3
mov di, dx ; 89 d7
mov dx, 003dah ; ba da 03
@@ -1855,7 +1881,7 @@ biosfn_perform_gray_scale_summing_: ; 0xc0d19 LB 0x88
out DX, AL ; ee
xor si, si ; 31 f6
cmp si, di ; 39 fe
- jnc short 00d89h ; 73 52
+ jnc short 00d9fh ; 73 52
mov al, bl ; 88 d8
mov dx, 003c7h ; ba c7 03
out DX, AL ; ee
@@ -1867,23 +1893,23 @@ biosfn_perform_gray_scale_summing_: ; 0xc0d19 LB 0x88
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- mov word [bp-004h], ax ; 89 46 fc
+ mov word [bp-00ch], ax ; 89 46 f4
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
xor ch, ch ; 30 ed
imul cx, cx, strict byte 0004dh ; 6b c9 4d
- mov word [bp-002h], cx ; 89 4e fe
- movzx cx, byte [bp-004h] ; 0f b6 4e fc
+ mov word [bp-00ah], cx ; 89 4e f6
+ movzx cx, byte [bp-00ch] ; 0f b6 4e f4
imul cx, cx, 00097h ; 69 c9 97 00
- add cx, word [bp-002h] ; 03 4e fe
+ add cx, word [bp-00ah] ; 03 4e f6
xor ah, ah ; 30 e4
imul ax, ax, strict byte 0001ch ; 6b c0 1c
add cx, ax ; 01 c1
add cx, 00080h ; 81 c1 80 00
sar cx, 008h ; c1 f9 08
cmp cx, strict byte 0003fh ; 83 f9 3f
- jbe short 00d77h ; 76 03
+ jbe short 00d8dh ; 76 03
mov cx, strict word 0003fh ; b9 3f 00
mov al, bl ; 88 d8
mov dx, 003c8h ; ba c8 03
@@ -1895,7 +1921,7 @@ biosfn_perform_gray_scale_summing_: ; 0xc0d19 LB 0x88
out DX, AL ; ee
inc bx ; 43
inc si ; 46
- jmp short 00d33h ; eb aa
+ jmp short 00d49h ; eb aa
mov dx, 003dah ; ba da 03
in AL, DX ; ec
db 02ah, 0e4h
@@ -1907,19 +1933,20 @@ biosfn_perform_gray_scale_summing_: ; 0xc0d19 LB 0x88
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- leave ; c9
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_set_cursor_shape_: ; 0xc0da1 LB 0xa1
+biosfn_set_cursor_shape_: ; 0xc0dba LB 0xa4
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- push bp ; 55
- mov bp, sp ; 89 e5
mov ch, al ; 88 c5
mov cl, dl ; 88 d1
and ch, 03fh ; 80 e5 3f
@@ -1931,30 +1958,30 @@ biosfn_set_cursor_shape_: ; 0xc0da1 LB 0xa1
add bx, si ; 01 f3
mov dx, strict word 00060h ; ba 60 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 4d 21
+ call 02fa1h ; e8 c0 21
mov dx, 00089h ; ba 89 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 1a 21
+ call 02f77h ; e8 8d 21
mov bl, al ; 88 c3
mov dx, 00085h ; ba 85 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 2b 21
+ call 02f93h ; e8 9e 21
mov dx, ax ; 89 c2
test bl, 001h ; f6 c3 01
- je short 00e1ah ; 74 37
+ je short 00e33h ; 74 37
cmp ax, strict word 00008h ; 3d 08 00
- jbe short 00e1ah ; 76 32
+ jbe short 00e33h ; 76 32
cmp cl, 008h ; 80 f9 08
- jnc short 00e1ah ; 73 2d
+ jnc short 00e33h ; 73 2d
cmp ch, 020h ; 80 fd 20
- jnc short 00e1ah ; 73 28
+ jnc short 00e33h ; 73 28
inc di ; 47
cmp si, di ; 39 fe
- je short 00e00h ; 74 09
+ je short 00e19h ; 74 09
imul ax, di ; 0f af c7
shr ax, 003h ; c1 e8 03
dec ax ; 48
- jmp short 00e0bh ; eb 0b
+ jmp short 00e24h ; eb 0b
lea si, [di+001h] ; 8d 75 01
imul ax, si ; 0f af c6
shr ax, 003h ; c1 e8 03
@@ -1969,7 +1996,7 @@ biosfn_set_cursor_shape_: ; 0xc0da1 LB 0xa1
mov cl, al ; 88 c1
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 e4 20
+ call 02f93h ; e8 57 21
mov bx, ax ; 89 c3
mov AL, strict byte 00ah ; b0 0a
mov dx, bx ; 89 da
@@ -1984,59 +2011,63 @@ biosfn_set_cursor_shape_: ; 0xc0da1 LB 0xa1
mov al, cl ; 88 c8
mov dx, si ; 89 f2
out DX, AL ; ee
- pop bp ; 5d
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_set_cursor_pos_: ; 0xc0e42 LB 0x9e
+biosfn_set_cursor_pos_: ; 0xc0e5e LB 0xa2
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
- enter 00004h, 000h ; c8 04 00 00
- mov byte [bp-002h], al ; 88 46 fe
+ push ax ; 50
+ push ax ; 50
+ mov byte [bp-008h], al ; 88 46 f8
mov cx, dx ; 89 d1
cmp AL, strict byte 007h ; 3c 07
- jnbe near 00edbh ; 0f 87 87 00
+ jnbe near 00ef8h ; 0f 87 87 00
movzx dx, al ; 0f b6 d0
add dx, dx ; 01 d2
add dx, strict byte 00050h ; 83 c2 50
mov bx, cx ; 89 cb
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 b1 20
+ call 02fa1h ; e8 20 21
mov dx, strict word 00062h ; ba 62 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 7e 20
- cmp al, byte [bp-002h] ; 3a 46 fe
- jne short 00edbh ; 75 69
+ call 02f77h ; e8 ed 20
+ cmp al, byte [bp-008h] ; 3a 46 f8
+ jne short 00ef8h ; 75 69
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 8c 20
+ call 02f93h ; e8 fb 20
mov bx, ax ; 89 c3
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 65 20
+ call 02f77h ; e8 d4 20
xor ah, ah ; 30 e4
mov dx, ax ; 89 c2
inc dx ; 42
mov al, cl ; 88 c8
xor cl, cl ; 30 c9
shr cx, 008h ; c1 e9 08
- mov byte [bp-004h], cl ; 88 4e fc
+ mov byte [bp-00ah], cl ; 88 4e f6
imul dx, bx ; 0f af d3
or dl, 0ffh ; 80 ca ff
- movzx cx, byte [bp-002h] ; 0f b6 4e fe
+ movzx cx, byte [bp-008h] ; 0f b6 4e f8
inc dx ; 42
imul dx, cx ; 0f af d1
mov si, ax ; 89 c6
add si, dx ; 01 d6
- movzx dx, byte [bp-004h] ; 0f b6 56 fc
+ movzx dx, byte [bp-00ah] ; 0f b6 56 f6
imul bx, dx ; 0f af da
add si, bx ; 01 de
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 4e 20
+ call 02f93h ; e8 bd 20
mov bx, ax ; 89 c3
mov AL, strict byte 00eh ; b0 0e
mov dx, bx ; 89 da
@@ -2054,45 +2085,49 @@ biosfn_set_cursor_pos_: ; 0xc0e42 LB 0x9e
mov ax, si ; 89 f0
mov dx, cx ; 89 ca
out DX, AL ; ee
- leave ; c9
+ lea sp, [bp-006h] ; 8d 66 fa
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_set_active_page_: ; 0xc0ee0 LB 0xd8
+biosfn_set_active_page_: ; 0xc0f00 LB 0xdc
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push dx ; 52
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
+ push ax ; 50
+ push ax ; 50
mov cl, al ; 88 c1
cmp AL, strict byte 007h ; 3c 07
- jnbe near 00fb1h ; 0f 87 c0 00
+ jnbe near 00fd2h ; 0f 87 c0 00
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 f1 1f
+ call 02f77h ; e8 5c 20
xor ah, ah ; 30 e4
- call 02ec4h ; e8 c5 1f
+ call 02f50h ; e8 30 20
mov ch, al ; 88 c5
cmp AL, strict byte 0ffh ; 3c ff
- je near 00fb1h ; 0f 84 aa 00
+ je near 00fd2h ; 0f 84 aa 00
movzx ax, cl ; 0f b6 c1
- lea bx, [bp-004h] ; 8d 5e fc
- lea dx, [bp-002h] ; 8d 56 fe
- call 00a83h ; e8 70 fb
+ lea bx, [bp-00eh] ; 8d 5e f2
+ lea dx, [bp-00ch] ; 8d 56 f4
+ call 00a88h ; e8 54 fb
movzx bx, ch ; 0f b6 dd
mov si, bx ; 89 de
sal si, 003h ; c1 e6 03
- cmp byte [si+0482fh], 000h ; 80 bc 2f 48 00
- jne short 00f62h ; 75 40
+ cmp byte [si+04830h], 000h ; 80 bc 30 48 00
+ jne short 00f83h ; 75 40
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 dc 1f
+ call 02f93h ; e8 47 20
mov bx, ax ; 89 c3
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 b5 1f
+ call 02f77h ; e8 20 20
xor ah, ah ; 30 e4
inc ax ; 40
mov si, bx ; 89 de
@@ -2106,19 +2141,19 @@ biosfn_set_active_page_: ; 0xc0ee0 LB 0xd8
imul bx, di ; 0f af df
mov dx, strict word 0004eh ; ba 4e 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 bf 1f
+ call 02fa1h ; e8 2a 20
or si, 000ffh ; 81 ce ff 00
lea bx, [si+001h] ; 8d 5c 01
imul bx, di ; 0f af df
- jmp short 00f74h ; eb 12
- movzx bx, byte [bx+048aeh] ; 0f b6 9f ae 48
+ jmp short 00f95h ; eb 12
+ movzx bx, byte [bx+048afh] ; 0f b6 9f af 48
sal bx, 006h ; c1 e3 06
movzx ax, cl ; 0f b6 c1
- mov bx, word [bx+048c5h] ; 8b 9f c5 48
+ mov bx, word [bx+048c6h] ; 8b 9f c6 48
imul bx, ax ; 0f af d8
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 8a 1f
+ call 02f93h ; e8 f5 1f
mov si, ax ; 89 c6
mov AL, strict byte 00ch ; b0 0c
mov dx, si ; 89 f2
@@ -2139,93 +2174,96 @@ biosfn_set_active_page_: ; 0xc0ee0 LB 0xd8
mov bx, si ; 89 f3
mov dx, strict word 00062h ; ba 62 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 50 1f
- mov dx, word [bp-004h] ; 8b 56 fc
+ call 02f85h ; e8 bb 1f
+ mov dx, word [bp-00eh] ; 8b 56 f2
mov ax, si ; 89 f0
- call 00e42h ; e8 91 fe
- leave ; c9
+ call 00e5eh ; e8 8c fe
+ lea sp, [bp-00ah] ; 8d 66 f6
pop di ; 5f
pop si ; 5e
pop dx ; 5a
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_set_video_mode_: ; 0xc0fb8 LB 0x382
+biosfn_set_video_mode_: ; 0xc0fdc LB 0x387
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push dx ; 52
push si ; 56
push di ; 57
- enter 00010h, 000h ; c8 10 00 00
- mov byte [bp-004h], al ; 88 46 fc
+ sub sp, strict byte 00010h ; 83 ec 10
+ mov byte [bp-00eh], al ; 88 46 f2
and AL, strict byte 080h ; 24 80
- mov byte [bp-006h], al ; 88 46 fa
- call 007a4h ; e8 d8 f7
+ mov byte [bp-010h], al ; 88 46 f0
+ call 007a4h ; e8 b2 f7
test ax, ax ; 85 c0
- je short 00fdch ; 74 0c
+ je short 01002h ; 74 0c
mov AL, strict byte 007h ; b0 07
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
xor al, al ; 30 c0
mov dx, 003c5h ; ba c5 03
out DX, AL ; ee
- and byte [bp-004h], 07fh ; 80 66 fc 7f
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- call 02ec4h ; e8 dd 1e
- mov byte [bp-008h], al ; 88 46 f8
+ and byte [bp-00eh], 07fh ; 80 66 f2 7f
+ movzx ax, byte [bp-00eh] ; 0f b6 46 f2
+ call 02f50h ; e8 43 1f
+ mov byte [bp-012h], al ; 88 46 ee
cmp AL, strict byte 0ffh ; 3c ff
- je near 01333h ; 0f 84 43 03
+ je near 01359h ; 0f 84 43 03
movzx si, al ; 0f b6 f0
- mov al, byte [si+048aeh] ; 8a 84 ae 48
- mov byte [bp-002h], al ; 88 46 fe
+ mov al, byte [si+048afh] ; 8a 84 af 48
+ mov byte [bp-00ch], al ; 88 46 f4
movzx bx, al ; 0f b6 d8
sal bx, 006h ; c1 e3 06
- movzx ax, byte [bx+048c2h] ; 0f b6 87 c2 48
- mov word [bp-00eh], ax ; 89 46 f2
movzx ax, byte [bx+048c3h] ; 0f b6 87 c3 48
- mov word [bp-00ch], ax ; 89 46 f4
+ mov word [bp-018h], ax ; 89 46 e8
movzx ax, byte [bx+048c4h] ; 0f b6 87 c4 48
- mov word [bp-00ah], ax ; 89 46 f6
+ mov word [bp-016h], ax ; 89 46 ea
+ movzx ax, byte [bx+048c5h] ; 0f b6 87 c5 48
+ mov word [bp-014h], ax ; 89 46 ec
mov dx, 00087h ; ba 87 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 ca 1e
+ call 02f77h ; e8 30 1f
mov dx, 00088h ; ba 88 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 c1 1e
+ call 02f77h ; e8 27 1f
mov dx, 00089h ; ba 89 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 b8 1e
+ call 02f77h ; e8 1e 1f
mov ah, al ; 88 c4
test AL, strict byte 008h ; a8 08
- jne near 010c5h ; 0f 85 8a 00
+ jne near 010ebh ; 0f 85 8a 00
mov bx, si ; 89 f3
sal bx, 003h ; c1 e3 03
- mov al, byte [bx+04834h] ; 8a 87 34 48
+ mov al, byte [bx+04835h] ; 8a 87 35 48
mov dx, 003c6h ; ba c6 03
out DX, AL ; ee
xor al, al ; 30 c0
mov dx, 003c8h ; ba c8 03
out DX, AL ; ee
- mov bl, byte [bx+04835h] ; 8a 9f 35 48
+ mov bl, byte [bx+04836h] ; 8a 9f 36 48
cmp bl, 001h ; 80 fb 01
- jc short 01065h ; 72 0e
- jbe short 0106eh ; 76 15
+ jc short 0108bh ; 72 0e
+ jbe short 01094h ; 76 15
cmp bl, 003h ; 80 fb 03
- je short 01078h ; 74 1a
+ je short 0109eh ; 74 1a
cmp bl, 002h ; 80 fb 02
- je short 01073h ; 74 10
- jmp short 0107bh ; eb 16
+ je short 01099h ; 74 10
+ jmp short 010a1h ; eb 16
test bl, bl ; 84 db
- jne short 0107bh ; 75 12
- mov di, 05042h ; bf 42 50
- jmp short 0107bh ; eb 0d
- mov di, 05102h ; bf 02 51
- jmp short 0107bh ; eb 08
- mov di, 051c2h ; bf c2 51
- jmp short 0107bh ; eb 03
- mov di, 05282h ; bf 82 52
+ jne short 010a1h ; 75 12
+ mov di, 05043h ; bf 43 50
+ jmp short 010a1h ; eb 0d
+ mov di, 05103h ; bf 03 51
+ jmp short 010a1h ; eb 08
+ mov di, 051c3h ; bf c3 51
+ jmp short 010a1h ; eb 03
+ mov di, 05283h ; bf 83 52
xor bx, bx ; 31 db
- jmp short 0108eh ; eb 0f
+ jmp short 010b4h ; eb 0f
xor al, al ; 30 c0
mov dx, 003c9h ; ba c9 03
out DX, AL ; ee
@@ -2233,13 +2271,13 @@ biosfn_set_video_mode_: ; 0xc0fb8 LB 0x382
out DX, AL ; ee
inc bx ; 43
cmp bx, 00100h ; 81 fb 00 01
- jnc short 010b8h ; 73 2a
- movzx si, byte [bp-008h] ; 0f b6 76 f8
+ jnc short 010deh ; 73 2a
+ movzx si, byte [bp-012h] ; 0f b6 76 ee
sal si, 003h ; c1 e6 03
- movzx si, byte [si+04835h] ; 0f b6 b4 35 48
- movzx dx, byte [si+048beh] ; 0f b6 94 be 48
+ movzx si, byte [si+04836h] ; 0f b6 b4 36 48
+ movzx dx, byte [si+048bfh] ; 0f b6 94 bf 48
cmp bx, dx ; 39 d3
- jnbe short 0107fh ; 77 dc
+ jnbe short 010a5h ; 77 dc
imul si, bx, strict byte 00003h ; 6b f3 03
add si, di ; 01 fe
mov al, byte [si] ; 8a 04
@@ -2249,30 +2287,30 @@ biosfn_set_video_mode_: ; 0xc0fb8 LB 0x382
out DX, AL ; ee
mov al, byte [si+002h] ; 8a 44 02
out DX, AL ; ee
- jmp short 01087h ; eb cf
+ jmp short 010adh ; eb cf
test ah, 002h ; f6 c4 02
- je short 010c5h ; 74 08
+ je short 010ebh ; 74 08
mov dx, 00100h ; ba 00 01
xor ax, ax ; 31 c0
- call 00d19h ; e8 54 fc
+ call 00d2eh ; e8 43 fc
mov dx, 003dah ; ba da 03
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
xor bx, bx ; 31 db
- jmp short 010d4h ; eb 05
+ jmp short 010fah ; eb 05
cmp bx, strict byte 00013h ; 83 fb 13
- jnbe short 010ebh ; 77 17
+ jnbe short 01111h ; 77 17
mov al, bl ; 88 d8
mov dx, 003c0h ; ba c0 03
out DX, AL ; ee
- movzx si, byte [bp-002h] ; 0f b6 76 fe
+ movzx si, byte [bp-00ch] ; 0f b6 76 f4
sal si, 006h ; c1 e6 06
add si, bx ; 01 de
- mov al, byte [si+048e5h] ; 8a 84 e5 48
+ mov al, byte [si+048e6h] ; 8a 84 e6 48
out DX, AL ; ee
inc bx ; 43
- jmp short 010cfh ; eb e4
+ jmp short 010f5h ; eb e4
mov AL, strict byte 014h ; b0 14
mov dx, 003c0h ; ba c0 03
out DX, AL ; ee
@@ -2284,63 +2322,63 @@ biosfn_set_video_mode_: ; 0xc0fb8 LB 0x382
mov dx, 003c5h ; ba c5 03
out DX, AL ; ee
mov bx, strict word 00001h ; bb 01 00
- jmp short 01108h ; eb 05
+ jmp short 0112eh ; eb 05
cmp bx, strict byte 00004h ; 83 fb 04
- jnbe short 01122h ; 77 1a
+ jnbe short 01148h ; 77 1a
mov al, bl ; 88 d8
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
- movzx si, byte [bp-002h] ; 0f b6 76 fe
+ movzx si, byte [bp-00ch] ; 0f b6 76 f4
sal si, 006h ; c1 e6 06
add si, bx ; 01 de
- mov al, byte [si+048c6h] ; 8a 84 c6 48
+ mov al, byte [si+048c7h] ; 8a 84 c7 48
mov dx, 003c5h ; ba c5 03
out DX, AL ; ee
inc bx ; 43
- jmp short 01103h ; eb e1
+ jmp short 01129h ; eb e1
xor bx, bx ; 31 db
- jmp short 0112bh ; eb 05
+ jmp short 01151h ; eb 05
cmp bx, strict byte 00008h ; 83 fb 08
- jnbe short 01145h ; 77 1a
+ jnbe short 0116bh ; 77 1a
mov al, bl ; 88 d8
mov dx, 003ceh ; ba ce 03
out DX, AL ; ee
- movzx si, byte [bp-002h] ; 0f b6 76 fe
+ movzx si, byte [bp-00ch] ; 0f b6 76 f4
sal si, 006h ; c1 e6 06
add si, bx ; 01 de
- mov al, byte [si+048f9h] ; 8a 84 f9 48
+ mov al, byte [si+048fah] ; 8a 84 fa 48
mov dx, 003cfh ; ba cf 03
out DX, AL ; ee
inc bx ; 43
- jmp short 01126h ; eb e1
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ jmp short 0114ch ; eb e1
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
sal bx, 003h ; c1 e3 03
- cmp byte [bx+04830h], 001h ; 80 bf 30 48 01
- jne short 01158h ; 75 05
+ cmp byte [bx+04831h], 001h ; 80 bf 31 48 01
+ jne short 0117eh ; 75 05
mov dx, 003b4h ; ba b4 03
- jmp short 0115bh ; eb 03
+ jmp short 01181h ; eb 03
mov dx, 003d4h ; ba d4 03
mov si, dx ; 89 d6
mov ax, strict word 00011h ; b8 11 00
out DX, ax ; ef
xor bx, bx ; 31 db
- jmp short 0116ah ; eb 05
+ jmp short 01190h ; eb 05
cmp bx, strict byte 00018h ; 83 fb 18
- jnbe short 01185h ; 77 1b
+ jnbe short 011abh ; 77 1b
mov al, bl ; 88 d8
mov dx, si ; 89 f2
out DX, AL ; ee
- movzx cx, byte [bp-002h] ; 0f b6 4e fe
+ movzx cx, byte [bp-00ch] ; 0f b6 4e f4
sal cx, 006h ; c1 e1 06
mov di, cx ; 89 cf
add di, bx ; 01 df
lea dx, [si+001h] ; 8d 54 01
- mov al, byte [di+048cch] ; 8a 85 cc 48
+ mov al, byte [di+048cdh] ; 8a 85 cd 48
out DX, AL ; ee
inc bx ; 43
- jmp short 01165h ; eb e0
+ jmp short 0118bh ; eb e0
mov bx, cx ; 89 cb
- mov al, byte [bx+048cbh] ; 8a 87 cb 48
+ mov al, byte [bx+048cch] ; 8a 87 cc 48
mov dx, 003c2h ; ba c2 03
out DX, AL ; ee
mov AL, strict byte 020h ; b0 20
@@ -2350,30 +2388,30 @@ biosfn_set_video_mode_: ; 0xc0fb8 LB 0x382
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- cmp byte [bp-006h], 000h ; 80 7e fa 00
- jne short 01200h ; 75 5f
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 01226h ; 75 5f
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
sal bx, 003h ; c1 e3 03
- cmp byte [bx+0482fh], 000h ; 80 bf 2f 48 00
- jne short 011c2h ; 75 13
- mov es, [bx+04832h] ; 8e 87 32 48
+ cmp byte [bx+04830h], 000h ; 80 bf 30 48 00
+ jne short 011e8h ; 75 13
+ mov es, [bx+04833h] ; 8e 87 33 48
mov cx, 04000h ; b9 00 40
mov ax, 00720h ; b8 20 07
xor di, di ; 31 ff
cld ; fc
- jcxz 011c0h ; e3 02
+ jcxz 011e6h ; e3 02
rep stosw ; f3 ab
- jmp short 01200h ; eb 3e
- cmp byte [bp-004h], 00dh ; 80 7e fc 0d
- jnc short 011dah ; 73 12
- mov es, [bx+04832h] ; 8e 87 32 48
+ jmp short 01226h ; eb 3e
+ cmp byte [bp-00eh], 00dh ; 80 7e f2 0d
+ jnc short 01200h ; 73 12
+ mov es, [bx+04833h] ; 8e 87 33 48
mov cx, 04000h ; b9 00 40
xor ax, ax ; 31 c0
xor di, di ; 31 ff
cld ; fc
- jcxz 011d8h ; e3 02
+ jcxz 011feh ; e3 02
rep stosw ; f3 ab
- jmp short 01200h ; eb 26
+ jmp short 01226h ; eb 26
mov AL, strict byte 002h ; b0 02
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
@@ -2381,101 +2419,101 @@ biosfn_set_video_mode_: ; 0xc0fb8 LB 0x382
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- mov word [bp-010h], ax ; 89 46 f0
+ mov word [bp-01ah], ax ; 89 46 e6
mov AL, strict byte 00fh ; b0 0f
out DX, AL ; ee
- mov es, [bx+04832h] ; 8e 87 32 48
+ mov es, [bx+04833h] ; 8e 87 33 48
mov cx, 08000h ; b9 00 80
xor ax, ax ; 31 c0
xor di, di ; 31 ff
cld ; fc
- jcxz 011fch ; e3 02
+ jcxz 01222h ; e3 02
rep stosw ; f3 ab
- mov al, byte [bp-010h] ; 8a 46 f0
+ mov al, byte [bp-01ah] ; 8a 46 e6
out DX, AL ; ee
- movzx bx, byte [bp-004h] ; 0f b6 5e fc
+ movzx bx, byte [bp-00eh] ; 0f b6 5e f2
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 ec 1c
- mov bx, word [bp-00eh] ; 8b 5e f2
+ call 02f85h ; e8 52 1d
+ mov bx, word [bp-018h] ; 8b 5e e8
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 fc 1c
- movzx bx, byte [bp-002h] ; 0f b6 5e fe
+ call 02fa1h ; e8 62 1d
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
sal bx, 006h ; c1 e3 06
- mov bx, word [bx+048c5h] ; 8b 9f c5 48
+ mov bx, word [bx+048c6h] ; 8b 9f c6 48
mov dx, strict word 0004ch ; ba 4c 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 e8 1c
+ call 02fa1h ; e8 4e 1d
mov bx, si ; 89 f3
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 dd 1c
- movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ call 02fa1h ; e8 43 1d
+ movzx bx, byte [bp-016h] ; 0f b6 5e ea
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 b4 1c
- mov bx, word [bp-00ah] ; 8b 5e f6
+ call 02f85h ; e8 1a 1d
+ mov bx, word [bp-014h] ; 8b 5e ec
mov dx, 00085h ; ba 85 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 c4 1c
- mov al, byte [bp-006h] ; 8a 46 fa
+ call 02fa1h ; e8 2a 1d
+ mov al, byte [bp-010h] ; 8a 46 f0
or AL, strict byte 060h ; 0c 60
movzx bx, al ; 0f b6 d8
mov dx, 00087h ; ba 87 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 97 1c
+ call 02f85h ; e8 fd 1c
mov bx, 000f9h ; bb f9 00
mov dx, 00088h ; ba 88 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 8b 1c
+ call 02f85h ; e8 f1 1c
mov dx, 00089h ; ba 89 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 74 1c
+ call 02f77h ; e8 da 1c
and AL, strict byte 07fh ; 24 7f
movzx bx, al ; 0f b6 d8
mov dx, 00089h ; ba 89 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 74 1c
+ call 02f85h ; e8 da 1c
mov bx, strict word 00008h ; bb 08 00
mov dx, 0008ah ; ba 8a 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 68 1c
+ call 02f85h ; e8 ce 1c
mov cx, ds ; 8c d9
- mov bx, 05592h ; bb 92 55
+ mov bx, 05593h ; bb 93 55
mov dx, 000a8h ; ba a8 00
mov ax, strict word 00040h ; b8 40 00
- call 02f35h ; e8 96 1c
+ call 02fc1h ; e8 fc 1c
xor bx, bx ; 31 db
mov dx, strict word 00065h ; ba 65 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 4f 1c
+ call 02f85h ; e8 b5 1c
xor bx, bx ; 31 db
mov dx, strict word 00066h ; ba 66 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 44 1c
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ call 02f85h ; e8 aa 1c
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
sal bx, 003h ; c1 e3 03
- cmp byte [bx+0482fh], 000h ; 80 bf 2f 48 00
- jne short 012cch ; 75 09
+ cmp byte [bx+04830h], 000h ; 80 bf 30 48 00
+ jne short 012f2h ; 75 09
mov dx, strict word 00007h ; ba 07 00
mov ax, strict word 00006h ; b8 06 00
- call 00da1h ; e8 d5 fa
+ call 00dbah ; e8 c8 fa
xor bx, bx ; 31 db
- jmp short 012d5h ; eb 05
+ jmp short 012fbh ; eb 05
cmp bx, strict byte 00008h ; 83 fb 08
- jnc short 012e0h ; 73 0b
+ jnc short 01306h ; 73 0b
movzx ax, bl ; 0f b6 c3
xor dx, dx ; 31 d2
- call 00e42h ; e8 65 fb
+ call 00e5eh ; e8 5b fb
inc bx ; 43
- jmp short 012d0h ; eb f0
+ jmp short 012f6h ; eb f0
xor ax, ax ; 31 c0
- call 00ee0h ; e8 fb fb
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ call 00f00h ; e8 f5 fb
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
sal bx, 003h ; c1 e3 03
- cmp byte [bx+0482fh], 000h ; 80 bf 2f 48 00
- jne short 01303h ; 75 10
+ cmp byte [bx+04830h], 000h ; 80 bf 30 48 00
+ jne short 01329h ; 75 10
xor bl, bl ; 30 db
mov AL, strict byte 004h ; b0 04
mov AH, strict byte 011h ; b4 11
@@ -2484,197 +2522,213 @@ biosfn_set_video_mode_: ; 0xc0fb8 LB 0x382
mov AL, strict byte 003h ; b0 03
mov AH, strict byte 011h ; b4 11
int 010h ; cd 10
- mov dx, 059aeh ; ba ae 59
+ mov dx, 059afh ; ba af 59
mov ax, strict word 0001fh ; b8 1f 00
- call 00a00h ; e8 f4 f6
- mov ax, word [bp-00ah] ; 8b 46 f6
+ call 00a00h ; e8 ce f6
+ mov ax, word [bp-014h] ; 8b 46 ec
cmp ax, strict word 00010h ; 3d 10 00
- je short 0132eh ; 74 1a
+ je short 01354h ; 74 1a
cmp ax, strict word 0000eh ; 3d 0e 00
- je short 01329h ; 74 10
+ je short 0134fh ; 74 10
cmp ax, strict word 00008h ; 3d 08 00
- jne short 01333h ; 75 15
- mov dx, 055aeh ; ba ae 55
+ jne short 01359h ; 75 15
+ mov dx, 055afh ; ba af 55
mov ax, strict word 00043h ; b8 43 00
- call 00a00h ; e8 d9 f6
- jmp short 01333h ; eb 0a
- mov dx, 05daeh ; ba ae 5d
- jmp short 01321h ; eb f3
- mov dx, 06baeh ; ba ae 6b
- jmp short 01321h ; eb ee
- leave ; c9
+ call 00a00h ; e8 b3 f6
+ jmp short 01359h ; eb 0a
+ mov dx, 05dafh ; ba af 5d
+ jmp short 01347h ; eb f3
+ mov dx, 06bafh ; ba af 6b
+ jmp short 01347h ; eb ee
+ lea sp, [bp-00ah] ; 8d 66 f6
pop di ; 5f
pop si ; 5e
pop dx ; 5a
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-vgamem_copy_pl4_: ; 0xc133a LB 0x72
+vgamem_copy_pl4_: ; 0xc1363 LB 0x76
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
+ push ax ; 50
+ push ax ; 50
mov bh, cl ; 88 cf
movzx di, dl ; 0f b6 fa
- movzx cx, byte [bp+00ah] ; 0f b6 4e 0a
+ movzx cx, byte [bp+006h] ; 0f b6 4e 06
imul di, cx ; 0f af f9
- movzx si, byte [bp+008h] ; 0f b6 76 08
+ movzx si, byte [bp+004h] ; 0f b6 76 04
imul di, si ; 0f af fe
xor ah, ah ; 30 e4
add di, ax ; 01 c7
- mov word [bp-004h], di ; 89 7e fc
+ mov word [bp-008h], di ; 89 7e f8
movzx di, bl ; 0f b6 fb
imul cx, di ; 0f af cf
imul cx, si ; 0f af ce
add cx, ax ; 01 c1
- mov word [bp-002h], cx ; 89 4e fe
+ mov word [bp-006h], cx ; 89 4e fa
mov ax, 00105h ; b8 05 01
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
xor bl, bl ; 30 db
- cmp bl, byte [bp+00ah] ; 3a 5e 0a
- jnc short 0139fh ; 73 29
+ cmp bl, byte [bp+006h] ; 3a 5e 06
+ jnc short 013c9h ; 73 29
movzx cx, bh ; 0f b6 cf
movzx si, bl ; 0f b6 f3
- movzx ax, byte [bp+008h] ; 0f b6 46 08
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
imul ax, si ; 0f af c6
- mov si, word [bp-004h] ; 8b 76 fc
+ mov si, word [bp-008h] ; 8b 76 f8
add si, ax ; 01 c6
- mov di, word [bp-002h] ; 8b 7e fe
+ mov di, word [bp-006h] ; 8b 7e fa
add di, ax ; 01 c7
mov dx, 0a000h ; ba 00 a0
mov es, dx ; 8e c2
cld ; fc
- jcxz 0139bh ; e3 06
+ jcxz 013c5h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
db 0feh, 0c3h
; inc bl ; fe c3
- jmp short 01371h ; eb d2
+ jmp short 0139bh ; eb d2
mov ax, strict word 00005h ; b8 05 00
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
- leave ; c9
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00004h ; c2 04 00
-vgamem_fill_pl4_: ; 0xc13ac LB 0x5d
+vgamem_fill_pl4_: ; 0xc13d9 LB 0x61
+ push bp ; 55
+ mov bp, sp ; 89 e5
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
- mov byte [bp-002h], bl ; 88 5e fe
+ push ax ; 50
+ push ax ; 50
+ mov byte [bp-004h], bl ; 88 5e fc
mov bh, cl ; 88 cf
movzx cx, dl ; 0f b6 ca
- movzx dx, byte [bp+006h] ; 0f b6 56 06
+ movzx dx, byte [bp+004h] ; 0f b6 56 04
imul cx, dx ; 0f af ca
movzx dx, bh ; 0f b6 d7
imul dx, cx ; 0f af d1
xor ah, ah ; 30 e4
add dx, ax ; 01 c2
- mov word [bp-004h], dx ; 89 56 fc
+ mov word [bp-006h], dx ; 89 56 fa
mov ax, 00205h ; b8 05 02
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
xor bl, bl ; 30 db
- cmp bl, byte [bp+006h] ; 3a 5e 06
- jnc short 013fdh ; 73 22
- movzx cx, byte [bp-002h] ; 0f b6 4e fe
- movzx ax, byte [bp+008h] ; 0f b6 46 08
+ cmp bl, byte [bp+004h] ; 3a 5e 04
+ jnc short 0142bh ; 73 22
+ movzx cx, byte [bp-004h] ; 0f b6 4e fc
+ movzx ax, byte [bp+006h] ; 0f b6 46 06
movzx dx, bl ; 0f b6 d3
movzx di, bh ; 0f b6 ff
imul di, dx ; 0f af fa
- add di, word [bp-004h] ; 03 7e fc
+ add di, word [bp-006h] ; 03 7e fa
mov dx, 0a000h ; ba 00 a0
mov es, dx ; 8e c2
cld ; fc
- jcxz 013f9h ; e3 02
+ jcxz 01427h ; e3 02
rep stosb ; f3 aa
db 0feh, 0c3h
; inc bl ; fe c3
- jmp short 013d6h ; eb d9
+ jmp short 01404h ; eb d9
mov ax, strict word 00005h ; b8 05 00
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
- leave ; c9
+ lea sp, [bp-002h] ; 8d 66 fe
pop di ; 5f
+ pop bp ; 5d
retn 00004h ; c2 04 00
-vgamem_copy_cga_: ; 0xc1409 LB 0xa0
+vgamem_copy_cga_: ; 0xc143a LB 0xa4
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
+ push ax ; 50
+ push ax ; 50
mov bh, cl ; 88 cf
movzx di, dl ; 0f b6 fa
- movzx cx, byte [bp+00ah] ; 0f b6 4e 0a
+ movzx cx, byte [bp+006h] ; 0f b6 4e 06
imul di, cx ; 0f af f9
- movzx si, byte [bp+008h] ; 0f b6 76 08
+ movzx si, byte [bp+004h] ; 0f b6 76 04
imul di, si ; 0f af fe
sar di, 1 ; d1 ff
xor ah, ah ; 30 e4
add di, ax ; 01 c7
- mov word [bp-002h], di ; 89 7e fe
+ mov word [bp-006h], di ; 89 7e fa
movzx di, bl ; 0f b6 fb
imul cx, di ; 0f af cf
imul si, cx ; 0f af f1
sar si, 1 ; d1 fe
add si, ax ; 01 c6
- mov word [bp-004h], si ; 89 76 fc
+ mov word [bp-008h], si ; 89 76 f8
xor bl, bl ; 30 db
- cmp bl, byte [bp+00ah] ; 3a 5e 0a
- jnc short 014a3h ; 73 61
+ cmp bl, byte [bp+006h] ; 3a 5e 06
+ jnc short 014d5h ; 73 61
test bl, 001h ; f6 c3 01
- je short 01478h ; 74 31
+ je short 014aah ; 74 31
movzx cx, bh ; 0f b6 cf
movzx si, bl ; 0f b6 f3
sar si, 1 ; d1 fe
- movzx ax, byte [bp+008h] ; 0f b6 46 08
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
imul ax, si ; 0f af c6
- mov si, word [bp-002h] ; 8b 76 fe
+ mov si, word [bp-006h] ; 8b 76 fa
add si, 02000h ; 81 c6 00 20
add si, ax ; 01 c6
- mov di, word [bp-004h] ; 8b 7e fc
+ mov di, word [bp-008h] ; 8b 7e f8
add di, 02000h ; 81 c7 00 20
add di, ax ; 01 c7
mov dx, 0b800h ; ba 00 b8
mov es, dx ; 8e c2
cld ; fc
- jcxz 01476h ; e3 06
+ jcxz 014a8h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
- jmp short 0149fh ; eb 27
+ jmp short 014d1h ; eb 27
movzx cx, bh ; 0f b6 cf
movzx ax, bl ; 0f b6 c3
sar ax, 1 ; d1 f8
- movzx si, byte [bp+008h] ; 0f b6 76 08
+ movzx si, byte [bp+004h] ; 0f b6 76 04
imul ax, si ; 0f af c6
- mov si, word [bp-002h] ; 8b 76 fe
+ mov si, word [bp-006h] ; 8b 76 fa
add si, ax ; 01 c6
- mov di, word [bp-004h] ; 8b 7e fc
+ mov di, word [bp-008h] ; 8b 7e f8
add di, ax ; 01 c7
mov dx, 0b800h ; ba 00 b8
mov es, dx ; 8e c2
cld ; fc
- jcxz 0149fh ; e3 06
+ jcxz 014d1h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
db 0feh, 0c3h
; inc bl ; fe c3
- jmp short 0143dh ; eb 9a
- leave ; c9
+ jmp short 0146fh ; eb 9a
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00004h ; c2 04 00
-vgamem_fill_cga_: ; 0xc14a9 LB 0x86
+vgamem_fill_cga_: ; 0xc14de LB 0x8a
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
- mov byte [bp-002h], bl ; 88 5e fe
+ push ax ; 50
+ push ax ; 50
+ mov byte [bp-006h], bl ; 88 5e fa
mov bh, cl ; 88 cf
movzx cx, dl ; 0f b6 ca
- movzx dx, byte [bp+008h] ; 0f b6 56 08
+ movzx dx, byte [bp+004h] ; 0f b6 56 04
imul dx, cx ; 0f af d1
movzx cx, bh ; 0f b6 cf
imul dx, cx ; 0f af d1
@@ -2682,29 +2736,29 @@ vgamem_fill_cga_: ; 0xc14a9 LB 0x86
movzx si, al ; 0f b6 f0
add si, dx ; 01 d6
xor bl, bl ; 30 db
- cmp bl, byte [bp+008h] ; 3a 5e 08
- jnc short 01529h ; 73 57
+ cmp bl, byte [bp+004h] ; 3a 5e 04
+ jnc short 0155fh ; 73 57
test bl, 001h ; f6 c3 01
- je short 01506h ; 74 2f
- movzx cx, byte [bp-002h] ; 0f b6 4e fe
- movzx ax, byte [bp+00ah] ; 0f b6 46 0a
+ je short 0153ch ; 74 2f
+ movzx cx, byte [bp-006h] ; 0f b6 4e fa
+ movzx ax, byte [bp+006h] ; 0f b6 46 06
movzx dx, bl ; 0f b6 d3
sar dx, 1 ; d1 fa
- mov word [bp-004h], dx ; 89 56 fc
+ mov word [bp-008h], dx ; 89 56 f8
movzx dx, bh ; 0f b6 d7
- mov di, word [bp-004h] ; 8b 7e fc
+ mov di, word [bp-008h] ; 8b 7e f8
imul di, dx ; 0f af fa
- mov word [bp-004h], di ; 89 7e fc
+ mov word [bp-008h], di ; 89 7e f8
lea di, [si+02000h] ; 8d bc 00 20
- add di, word [bp-004h] ; 03 7e fc
+ add di, word [bp-008h] ; 03 7e f8
mov dx, 0b800h ; ba 00 b8
mov es, dx ; 8e c2
cld ; fc
- jcxz 01504h ; e3 02
+ jcxz 0153ah ; e3 02
rep stosb ; f3 aa
- jmp short 01525h ; eb 1f
- movzx cx, byte [bp-002h] ; 0f b6 4e fe
- movzx ax, byte [bp+00ah] ; 0f b6 46 0a
+ jmp short 0155bh ; eb 1f
+ movzx cx, byte [bp-006h] ; 0f b6 4e fa
+ movzx ax, byte [bp+006h] ; 0f b6 46 06
movzx di, bl ; 0f b6 fb
sar di, 1 ; d1 ff
movzx dx, bh ; 0f b6 d7
@@ -2713,217 +2767,220 @@ vgamem_fill_cga_: ; 0xc14a9 LB 0x86
mov dx, 0b800h ; ba 00 b8
mov es, dx ; 8e c2
cld ; fc
- jcxz 01525h ; e3 02
+ jcxz 0155bh ; e3 02
rep stosb ; f3 aa
db 0feh, 0c3h
; inc bl ; fe c3
- jmp short 014cdh ; eb a4
- leave ; c9
+ jmp short 01503h ; eb a4
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00004h ; c2 04 00
-biosfn_scroll_: ; 0xc152f LB 0x501
+biosfn_scroll_: ; 0xc1568 LB 0x506
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00018h, 000h ; c8 18 00 00
- mov byte [bp-00ch], al ; 88 46 f4
- mov byte [bp-008h], dl ; 88 56 f8
- mov byte [bp-004h], bl ; 88 5e fc
- mov byte [bp-002h], cl ; 88 4e fe
- cmp bl, byte [bp+008h] ; 3a 5e 08
- jnbe near 01a2ah ; 0f 87 e2 04
- cmp cl, byte [bp+00ah] ; 3a 4e 0a
- jnbe near 01a2ah ; 0f 87 db 04
+ sub sp, strict byte 00018h ; 83 ec 18
+ mov byte [bp-010h], al ; 88 46 f0
+ mov byte [bp-00ch], dl ; 88 56 f4
+ mov byte [bp-008h], bl ; 88 5e f8
+ mov byte [bp-006h], cl ; 88 4e fa
+ cmp bl, byte [bp+004h] ; 3a 5e 04
+ jnbe near 01a65h ; 0f 87 e2 04
+ cmp cl, byte [bp+006h] ; 3a 4e 06
+ jnbe near 01a65h ; 0f 87 db 04
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 93 19
+ call 02f77h ; e8 e4 19
xor ah, ah ; 30 e4
- call 02ec4h ; e8 67 19
- mov byte [bp-00ah], al ; 88 46 f6
+ call 02f50h ; e8 b8 19
+ mov byte [bp-00eh], al ; 88 46 f2
cmp AL, strict byte 0ffh ; 3c ff
- je near 01a2ah ; 0f 84 c4 04
+ je near 01a65h ; 0f 84 c4 04
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 7c 19
+ call 02f77h ; e8 cd 19
movzx cx, al ; 0f b6 c8
inc cx ; 41
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 8b 19
- mov word [bp-012h], ax ; 89 46 ee
- cmp byte [bp+00ch], 0ffh ; 80 7e 0c ff
- jne short 01591h ; 75 0c
+ call 02f93h ; e8 dc 19
+ mov word [bp-016h], ax ; 89 46 ea
+ cmp byte [bp+008h], 0ffh ; 80 7e 08 ff
+ jne short 015cch ; 75 0c
mov dx, strict word 00062h ; ba 62 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 5d 19
- mov byte [bp+00ch], al ; 88 46 0c
- movzx ax, byte [bp+008h] ; 0f b6 46 08
+ call 02f77h ; e8 ae 19
+ mov byte [bp+008h], al ; 88 46 08
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
cmp ax, cx ; 39 c8
- jc short 015a0h ; 72 07
+ jc short 015dbh ; 72 07
mov al, cl ; 88 c8
db 0feh, 0c8h
; dec al ; fe c8
- mov byte [bp+008h], al ; 88 46 08
- movzx ax, byte [bp+00ah] ; 0f b6 46 0a
- cmp ax, word [bp-012h] ; 3b 46 ee
- jc short 015b1h ; 72 08
- mov al, byte [bp-012h] ; 8a 46 ee
+ mov byte [bp+004h], al ; 88 46 04
+ movzx ax, byte [bp+006h] ; 0f b6 46 06
+ cmp ax, word [bp-016h] ; 3b 46 ea
+ jc short 015ech ; 72 08
+ mov al, byte [bp-016h] ; 8a 46 ea
db 0feh, 0c8h
; dec al ; fe c8
- mov byte [bp+00ah], al ; 88 46 0a
- movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ mov byte [bp+006h], al ; 88 46 06
+ movzx ax, byte [bp-010h] ; 0f b6 46 f0
cmp ax, cx ; 39 c8
- jbe short 015bdh ; 76 04
- mov byte [bp-00ch], 000h ; c6 46 f4 00
- mov al, byte [bp+00ah] ; 8a 46 0a
- sub al, byte [bp-002h] ; 2a 46 fe
+ jbe short 015f8h ; 76 04
+ mov byte [bp-010h], 000h ; c6 46 f0 00
+ mov al, byte [bp+006h] ; 8a 46 06
+ sub al, byte [bp-006h] ; 2a 46 fa
db 0feh, 0c0h
; inc al ; fe c0
- mov byte [bp-00eh], al ; 88 46 f2
- movzx si, byte [bp-00ah] ; 0f b6 76 f6
+ mov byte [bp-012h], al ; 88 46 ee
+ movzx si, byte [bp-00eh] ; 0f b6 76 f2
mov di, si ; 89 f7
sal di, 003h ; c1 e7 03
- mov ax, word [bp-012h] ; 8b 46 ee
+ mov ax, word [bp-016h] ; 8b 46 ea
dec ax ; 48
- mov word [bp-014h], ax ; 89 46 ec
+ mov word [bp-018h], ax ; 89 46 e8
mov ax, cx ; 89 c8
dec ax ; 48
- mov word [bp-016h], ax ; 89 46 ea
- mov ax, word [bp-012h] ; 8b 46 ee
+ mov word [bp-01ah], ax ; 89 46 e6
+ mov ax, word [bp-016h] ; 8b 46 ea
imul ax, cx ; 0f af c1
- cmp byte [di+0482fh], 000h ; 80 bd 2f 48 00
- jne near 0178ch ; 0f 85 9f 01
+ cmp byte [di+04830h], 000h ; 80 bd 30 48 00
+ jne near 017c7h ; 0f 85 9f 01
mov dx, ax ; 89 c2
add dx, ax ; 01 c2
or dl, 0ffh ; 80 ca ff
- movzx bx, byte [bp+00ch] ; 0f b6 5e 0c
+ movzx bx, byte [bp+008h] ; 0f b6 5e 08
inc dx ; 42
imul bx, dx ; 0f af da
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 0163ch ; 75 3a
- cmp byte [bp-004h], 000h ; 80 7e fc 00
- jne short 0163ch ; 75 34
- cmp byte [bp-002h], 000h ; 80 7e fe 00
- jne short 0163ch ; 75 2e
- movzx dx, byte [bp+008h] ; 0f b6 56 08
- cmp dx, word [bp-016h] ; 3b 56 ea
- jne short 0163ch ; 75 25
- movzx dx, byte [bp+00ah] ; 0f b6 56 0a
- cmp dx, word [bp-014h] ; 3b 56 ec
- jne short 0163ch ; 75 1c
- movzx dx, byte [bp-008h] ; 0f b6 56 f8
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 01677h ; 75 3a
+ cmp byte [bp-008h], 000h ; 80 7e f8 00
+ jne short 01677h ; 75 34
+ cmp byte [bp-006h], 000h ; 80 7e fa 00
+ jne short 01677h ; 75 2e
+ movzx dx, byte [bp+004h] ; 0f b6 56 04
+ cmp dx, word [bp-01ah] ; 3b 56 e6
+ jne short 01677h ; 75 25
+ movzx dx, byte [bp+006h] ; 0f b6 56 06
+ cmp dx, word [bp-018h] ; 3b 56 e8
+ jne short 01677h ; 75 1c
+ movzx dx, byte [bp-00ch] ; 0f b6 56 f4
sal dx, 008h ; c1 e2 08
add dx, strict byte 00020h ; 83 c2 20
- mov es, [di+04832h] ; 8e 85 32 48
+ mov es, [di+04833h] ; 8e 85 33 48
mov cx, ax ; 89 c1
mov ax, dx ; 89 d0
mov di, bx ; 89 df
cld ; fc
- jcxz 01639h ; e3 02
+ jcxz 01674h ; e3 02
rep stosw ; f3 ab
- jmp near 01a2ah ; e9 ee 03
- cmp byte [bp+00eh], 001h ; 80 7e 0e 01
- jne near 016e1h ; 0f 85 9d 00
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- mov word [bp-010h], ax ; 89 46 f0
- movzx dx, byte [bp+008h] ; 0f b6 56 08
- cmp dx, word [bp-010h] ; 3b 56 f0
- jc near 01a2ah ; 0f 82 d4 03
- movzx ax, byte [bp-00ch] ; 0f b6 46 f4
- add ax, word [bp-010h] ; 03 46 f0
- cmp ax, dx ; 39 d0
- jnbe short 01667h ; 77 06
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 0169ah ; 75 33
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
+ jmp near 01a65h ; e9 ee 03
+ cmp byte [bp+00ah], 001h ; 80 7e 0a 01
+ jne near 0171ch ; 0f 85 9d 00
movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ mov word [bp-014h], ax ; 89 46 ec
+ movzx dx, byte [bp+004h] ; 0f b6 56 04
+ cmp dx, word [bp-014h] ; 3b 56 ec
+ jc near 01a65h ; 0f 82 d4 03
+ movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ add ax, word [bp-014h] ; 03 46 ec
+ cmp ax, dx ; 39 d0
+ jnbe short 016a2h ; 77 06
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 016d5h ; 75 33
+ movzx cx, byte [bp-012h] ; 0f b6 4e ee
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
sal ax, 008h ; c1 e0 08
add ax, strict word 00020h ; 05 20 00
- mov si, word [bp-010h] ; 8b 76 f0
- imul si, word [bp-012h] ; 0f af 76 ee
- movzx dx, byte [bp-002h] ; 0f b6 56 fe
+ mov si, word [bp-014h] ; 8b 76 ec
+ imul si, word [bp-016h] ; 0f af 76 ea
+ movzx dx, byte [bp-006h] ; 0f b6 56 fa
add dx, si ; 01 f2
add dx, dx ; 01 d2
mov di, bx ; 89 df
add di, dx ; 01 d7
- movzx si, byte [bp-00ah] ; 0f b6 76 f6
+ movzx si, byte [bp-00eh] ; 0f b6 76 f2
sal si, 003h ; c1 e6 03
- mov es, [si+04832h] ; 8e 84 32 48
+ mov es, [si+04833h] ; 8e 84 33 48
cld ; fc
- jcxz 01698h ; e3 02
+ jcxz 016d3h ; e3 02
rep stosw ; f3 ab
- jmp short 016dbh ; eb 41
- movzx dx, byte [bp-00eh] ; 0f b6 56 f2
- mov word [bp-018h], dx ; 89 56 e8
+ jmp short 01716h ; eb 41
+ movzx dx, byte [bp-012h] ; 0f b6 56 ee
+ mov word [bp-01ch], dx ; 89 56 e4
mov dx, ax ; 89 c2
- imul dx, word [bp-012h] ; 0f af 56 ee
- movzx cx, byte [bp-002h] ; 0f b6 4e fe
+ imul dx, word [bp-016h] ; 0f af 56 ea
+ movzx cx, byte [bp-006h] ; 0f b6 4e fa
add dx, cx ; 01 ca
add dx, dx ; 01 d2
- movzx si, byte [bp-00ah] ; 0f b6 76 f6
+ movzx si, byte [bp-00eh] ; 0f b6 76 f2
sal si, 003h ; c1 e6 03
- mov ax, word [si+04832h] ; 8b 84 32 48
- mov si, word [bp-010h] ; 8b 76 f0
- imul si, word [bp-012h] ; 0f af 76 ee
+ mov ax, word [si+04833h] ; 8b 84 33 48
+ mov si, word [bp-014h] ; 8b 76 ec
+ imul si, word [bp-016h] ; 0f af 76 ea
add cx, si ; 01 f1
add cx, cx ; 01 c9
mov di, bx ; 89 df
add di, cx ; 01 cf
- mov cx, word [bp-018h] ; 8b 4e e8
+ mov cx, word [bp-01ch] ; 8b 4e e4
mov si, dx ; 89 d6
mov dx, ax ; 89 c2
mov es, ax ; 8e c0
cld ; fc
- jcxz 016dbh ; e3 06
+ jcxz 01716h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsw ; f3 a5
pop DS ; 1f
- inc word [bp-010h] ; ff 46 f0
- jmp near 0164bh ; e9 6a ff
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- mov word [bp-010h], ax ; 89 46 f0
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- cmp ax, word [bp-010h] ; 3b 46 f0
- jnbe near 01a2ah ; 0f 87 37 03
- movzx dx, byte [bp-004h] ; 0f b6 56 fc
- movzx ax, byte [bp-00ch] ; 0f b6 46 f4
- add ax, dx ; 01 d0
- cmp ax, word [bp-010h] ; 3b 46 f0
- jnbe short 01708h ; 77 06
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 0173bh ; 75 33
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
+ inc word [bp-014h] ; ff 46 ec
+ jmp near 01686h ; e9 6a ff
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ mov word [bp-014h], ax ; 89 46 ec
movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jnbe near 01a65h ; 0f 87 37 03
+ movzx dx, byte [bp-008h] ; 0f b6 56 f8
+ movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ add ax, dx ; 01 d0
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jnbe short 01743h ; 77 06
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 01776h ; 75 33
+ movzx cx, byte [bp-012h] ; 0f b6 4e ee
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
sal ax, 008h ; c1 e0 08
add ax, strict word 00020h ; 05 20 00
- mov si, word [bp-010h] ; 8b 76 f0
- imul si, word [bp-012h] ; 0f af 76 ee
- movzx dx, byte [bp-002h] ; 0f b6 56 fe
+ mov si, word [bp-014h] ; 8b 76 ec
+ imul si, word [bp-016h] ; 0f af 76 ea
+ movzx dx, byte [bp-006h] ; 0f b6 56 fa
add dx, si ; 01 f2
add dx, dx ; 01 d2
mov di, bx ; 89 df
add di, dx ; 01 d7
- movzx si, byte [bp-00ah] ; 0f b6 76 f6
+ movzx si, byte [bp-00eh] ; 0f b6 76 f2
sal si, 003h ; c1 e6 03
- mov es, [si+04832h] ; 8e 84 32 48
+ mov es, [si+04833h] ; 8e 84 33 48
cld ; fc
- jcxz 01739h ; e3 02
+ jcxz 01774h ; e3 02
rep stosw ; f3 ab
- jmp short 0177bh ; eb 40
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
- movzx ax, byte [bp-00ch] ; 0f b6 46 f4
- mov dx, word [bp-010h] ; 8b 56 f0
+ jmp short 017b6h ; eb 40
+ movzx cx, byte [bp-012h] ; 0f b6 4e ee
+ movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ mov dx, word [bp-014h] ; 8b 56 ec
sub dx, ax ; 29 c2
- imul dx, word [bp-012h] ; 0f af 56 ee
- movzx di, byte [bp-002h] ; 0f b6 7e fe
+ imul dx, word [bp-016h] ; 0f af 56 ea
+ movzx di, byte [bp-006h] ; 0f b6 7e fa
add dx, di ; 01 fa
add dx, dx ; 01 d2
- movzx si, byte [bp-00ah] ; 0f b6 76 f6
+ movzx si, byte [bp-00eh] ; 0f b6 76 f2
sal si, 003h ; c1 e6 03
- mov ax, word [si+04832h] ; 8b 84 32 48
- mov si, word [bp-010h] ; 8b 76 f0
- imul si, word [bp-012h] ; 0f af 76 ee
+ mov ax, word [si+04833h] ; 8b 84 33 48
+ mov si, word [bp-014h] ; 8b 76 ec
+ imul si, word [bp-016h] ; 0f af 76 ea
add di, si ; 01 f7
add di, di ; 01 ff
add di, bx ; 01 df
@@ -2931,324 +2988,327 @@ biosfn_scroll_: ; 0xc152f LB 0x501
mov dx, ax ; 89 c2
mov es, ax ; 8e c0
cld ; fc
- jcxz 0177bh ; e3 06
+ jcxz 017b6h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsw ; f3 a5
pop DS ; 1f
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- cmp ax, word [bp-010h] ; 3b 46 f0
- jc near 01a2ah ; 0f 82 a4 02
- dec word [bp-010h] ; ff 4e f0
- jmp near 016e8h ; e9 5c ff
- movzx bx, byte [si+048aeh] ; 0f b6 9c ae 48
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jc near 01a65h ; 0f 82 a4 02
+ dec word [bp-014h] ; ff 4e ec
+ jmp near 01723h ; e9 5c ff
+ movzx bx, byte [si+048afh] ; 0f b6 9c af 48
sal bx, 006h ; c1 e3 06
- mov dl, byte [bx+048c4h] ; 8a 97 c4 48
- mov byte [bp-006h], dl ; 88 56 fa
- mov bl, byte [di+04830h] ; 8a 9d 30 48
+ mov dl, byte [bx+048c5h] ; 8a 97 c5 48
+ mov byte [bp-00ah], dl ; 88 56 f6
+ mov bl, byte [di+04831h] ; 8a 9d 31 48
cmp bl, 004h ; 80 fb 04
- je short 017b3h ; 74 0f
+ je short 017eeh ; 74 0f
cmp bl, 003h ; 80 fb 03
- je short 017b3h ; 74 0a
+ je short 017eeh ; 74 0a
cmp bl, 002h ; 80 fb 02
- je near 018f2h ; 0f 84 42 01
- jmp near 01a2ah ; e9 77 02
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 0180bh ; 75 52
- cmp byte [bp-004h], 000h ; 80 7e fc 00
- jne short 0180bh ; 75 4c
- cmp byte [bp-002h], 000h ; 80 7e fe 00
- jne short 0180bh ; 75 46
- movzx dx, byte [bp+008h] ; 0f b6 56 08
+ je near 0192dh ; 0f 84 42 01
+ jmp near 01a65h ; e9 77 02
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 01846h ; 75 52
+ cmp byte [bp-008h], 000h ; 80 7e f8 00
+ jne short 01846h ; 75 4c
+ cmp byte [bp-006h], 000h ; 80 7e fa 00
+ jne short 01846h ; 75 46
+ movzx dx, byte [bp+004h] ; 0f b6 56 04
mov ax, cx ; 89 c8
dec ax ; 48
cmp dx, ax ; 39 c2
- jne short 0180bh ; 75 3b
- movzx dx, byte [bp+00ah] ; 0f b6 56 0a
- mov ax, word [bp-012h] ; 8b 46 ee
+ jne short 01846h ; 75 3b
+ movzx dx, byte [bp+006h] ; 0f b6 56 06
+ mov ax, word [bp-016h] ; 8b 46 ea
dec ax ; 48
cmp dx, ax ; 39 c2
- jne short 0180bh ; 75 2f
+ jne short 01846h ; 75 2f
mov ax, 00205h ; b8 05 02
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
- imul cx, word [bp-012h] ; 0f af 4e ee
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ imul cx, word [bp-016h] ; 0f af 4e ea
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
imul cx, ax ; 0f af c8
- movzx ax, byte [bp-008h] ; 0f b6 46 f8
- movzx bx, byte [bp-00ah] ; 0f b6 5e f6
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ movzx bx, byte [bp-00eh] ; 0f b6 5e f2
sal bx, 003h ; c1 e3 03
- mov es, [bx+04832h] ; 8e 87 32 48
+ mov es, [bx+04833h] ; 8e 87 33 48
xor di, di ; 31 ff
cld ; fc
- jcxz 01804h ; e3 02
+ jcxz 0183fh ; e3 02
rep stosb ; f3 aa
mov ax, strict word 00005h ; b8 05 00
out DX, ax ; ef
- jmp near 01a2ah ; e9 1f 02
- cmp byte [bp+00eh], 001h ; 80 7e 0e 01
- jne short 0187ah ; 75 69
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- mov word [bp-010h], ax ; 89 46 f0
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- cmp ax, word [bp-010h] ; 3b 46 f0
- jc near 01a2ah ; 0f 82 07 02
- movzx dx, byte [bp-00ch] ; 0f b6 56 f4
- add dx, word [bp-010h] ; 03 56 f0
- cmp dx, ax ; 39 c2
- jnbe short 01834h ; 77 06
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 01853h ; 75 1f
+ jmp near 01a65h ; e9 1f 02
+ cmp byte [bp+00ah], 001h ; 80 7e 0a 01
+ jne short 018b5h ; 75 69
movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ mov word [bp-014h], ax ; 89 46 ec
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jc near 01a65h ; 0f 82 07 02
+ movzx dx, byte [bp-010h] ; 0f b6 56 f0
+ add dx, word [bp-014h] ; 03 56 ec
+ cmp dx, ax ; 39 c2
+ jnbe short 0186fh ; 77 06
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 0188eh ; 75 1f
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
push ax ; 50
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx cx, byte [bp-012h] ; 0f b6 4e ee
- movzx bx, byte [bp-00eh] ; 0f b6 5e f2
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 013ach ; e8 5b fb
- jmp short 01875h ; eb 22
+ movzx cx, byte [bp-016h] ; 0f b6 4e ea
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 013d9h ; e8 4d fb
+ jmp short 018b0h ; eb 22
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
- movzx bx, byte [bp-010h] ; 0f b6 5e f0
- mov al, byte [bp-010h] ; 8a 46 f0
- add al, byte [bp-00ch] ; 02 46 f4
+ movzx cx, byte [bp-012h] ; 0f b6 4e ee
+ movzx bx, byte [bp-014h] ; 0f b6 5e ec
+ mov al, byte [bp-014h] ; 8a 46 ec
+ add al, byte [bp-010h] ; 02 46 f0
movzx dx, al ; 0f b6 d0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 0133ah ; e8 c5 fa
- inc word [bp-010h] ; ff 46 f0
- jmp short 01818h ; eb 9e
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- mov word [bp-010h], ax ; 89 46 f0
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- cmp ax, word [bp-010h] ; 3b 46 f0
- jnbe near 01a2ah ; 0f 87 9e 01
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- movzx dx, byte [bp-00ch] ; 0f b6 56 f4
- add ax, dx ; 01 d0
- cmp ax, word [bp-010h] ; 3b 46 f0
- jnbe short 018a1h ; 77 06
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 018c0h ; 75 1f
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 01363h ; e8 b3 fa
+ inc word [bp-014h] ; ff 46 ec
+ jmp short 01853h ; eb 9e
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ mov word [bp-014h], ax ; 89 46 ec
movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jnbe near 01a65h ; 0f 87 9e 01
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ movzx dx, byte [bp-010h] ; 0f b6 56 f0
+ add ax, dx ; 01 d0
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jnbe short 018dch ; 77 06
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 018fbh ; 75 1f
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
push ax ; 50
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx cx, byte [bp-012h] ; 0f b6 4e ee
- movzx bx, byte [bp-00eh] ; 0f b6 5e f2
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 013ach ; e8 ee fa
- jmp short 018e2h ; eb 22
+ movzx cx, byte [bp-016h] ; 0f b6 4e ea
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 013d9h ; e8 e0 fa
+ jmp short 0191dh ; eb 22
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
- mov al, byte [bp-010h] ; 8a 46 f0
- sub al, byte [bp-00ch] ; 2a 46 f4
+ movzx cx, byte [bp-012h] ; 0f b6 4e ee
+ mov al, byte [bp-014h] ; 8a 46 ec
+ sub al, byte [bp-010h] ; 2a 46 f0
movzx bx, al ; 0f b6 d8
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 0133ah ; e8 58 fa
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- cmp ax, word [bp-010h] ; 3b 46 f0
- jc near 01a2ah ; 0f 82 3d 01
- dec word [bp-010h] ; ff 4e f0
- jmp short 01881h ; eb 8f
- mov dl, byte [di+04831h] ; 8a 95 31 48
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 01939h ; 75 3d
- cmp byte [bp-004h], 000h ; 80 7e fc 00
- jne short 01939h ; 75 37
- cmp byte [bp-002h], 000h ; 80 7e fe 00
- jne short 01939h ; 75 31
- movzx bx, byte [bp+008h] ; 0f b6 5e 08
- cmp bx, word [bp-016h] ; 3b 5e ea
- jne short 01939h ; 75 28
- movzx bx, byte [bp+00ah] ; 0f b6 5e 0a
- cmp bx, word [bp-014h] ; 3b 5e ec
- jne short 01939h ; 75 1f
- movzx bx, byte [bp-006h] ; 0f b6 5e fa
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 01363h ; e8 46 fa
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jc near 01a65h ; 0f 82 3d 01
+ dec word [bp-014h] ; ff 4e ec
+ jmp short 018bch ; eb 8f
+ mov dl, byte [di+04832h] ; 8a 95 32 48
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 01974h ; 75 3d
+ cmp byte [bp-008h], 000h ; 80 7e f8 00
+ jne short 01974h ; 75 37
+ cmp byte [bp-006h], 000h ; 80 7e fa 00
+ jne short 01974h ; 75 31
+ movzx bx, byte [bp+004h] ; 0f b6 5e 04
+ cmp bx, word [bp-01ah] ; 3b 5e e6
+ jne short 01974h ; 75 28
+ movzx bx, byte [bp+006h] ; 0f b6 5e 06
+ cmp bx, word [bp-018h] ; 3b 5e e8
+ jne short 01974h ; 75 1f
+ movzx bx, byte [bp-00ah] ; 0f b6 5e f6
imul ax, bx ; 0f af c3
movzx cx, dl ; 0f b6 ca
imul cx, ax ; 0f af c8
- movzx ax, byte [bp-008h] ; 0f b6 46 f8
- mov es, [di+04832h] ; 8e 85 32 48
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ mov es, [di+04833h] ; 8e 85 33 48
xor di, di ; 31 ff
cld ; fc
- jcxz 01936h ; e3 02
+ jcxz 01971h ; e3 02
rep stosb ; f3 aa
- jmp near 01a2ah ; e9 f1 00
+ jmp near 01a65h ; e9 f1 00
cmp dl, 002h ; 80 fa 02
- jne short 01947h ; 75 09
- sal byte [bp-002h], 1 ; d0 66 fe
- sal byte [bp-00eh], 1 ; d0 66 f2
- sal word [bp-012h], 1 ; d1 66 ee
- cmp byte [bp+00eh], 001h ; 80 7e 0e 01
- jne short 019b6h ; 75 69
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- mov word [bp-010h], ax ; 89 46 f0
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- cmp ax, word [bp-010h] ; 3b 46 f0
- jc near 01a2ah ; 0f 82 cb 00
- movzx dx, byte [bp-00ch] ; 0f b6 56 f4
- add dx, word [bp-010h] ; 03 56 f0
- cmp dx, ax ; 39 c2
- jnbe short 01970h ; 77 06
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 0198fh ; 75 1f
+ jne short 01982h ; 75 09
+ sal byte [bp-006h], 1 ; d0 66 fa
+ sal byte [bp-012h], 1 ; d0 66 ee
+ sal word [bp-016h], 1 ; d1 66 ea
+ cmp byte [bp+00ah], 001h ; 80 7e 0a 01
+ jne short 019f1h ; 75 69
movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ mov word [bp-014h], ax ; 89 46 ec
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jc near 01a65h ; 0f 82 cb 00
+ movzx dx, byte [bp-010h] ; 0f b6 56 f0
+ add dx, word [bp-014h] ; 03 56 ec
+ cmp dx, ax ; 39 c2
+ jnbe short 019abh ; 77 06
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 019cah ; 75 1f
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
push ax ; 50
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx cx, byte [bp-012h] ; 0f b6 4e ee
- movzx bx, byte [bp-00eh] ; 0f b6 5e f2
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 014a9h ; e8 1c fb
- jmp short 019b1h ; eb 22
+ movzx cx, byte [bp-016h] ; 0f b6 4e ea
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 014deh ; e8 16 fb
+ jmp short 019ech ; eb 22
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
- movzx bx, byte [bp-010h] ; 0f b6 5e f0
- mov al, byte [bp-010h] ; 8a 46 f0
- add al, byte [bp-00ch] ; 02 46 f4
+ movzx cx, byte [bp-012h] ; 0f b6 4e ee
+ movzx bx, byte [bp-014h] ; 0f b6 5e ec
+ mov al, byte [bp-014h] ; 8a 46 ec
+ add al, byte [bp-010h] ; 02 46 f0
movzx dx, al ; 0f b6 d0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 01409h ; e8 58 fa
- inc word [bp-010h] ; ff 46 f0
- jmp short 01954h ; eb 9e
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- mov word [bp-010h], ax ; 89 46 f0
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- cmp ax, word [bp-010h] ; 3b 46 f0
- jnbe short 01a2ah ; 77 64
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- movzx dx, byte [bp-00ch] ; 0f b6 56 f4
- add ax, dx ; 01 d0
- cmp ax, word [bp-010h] ; 3b 46 f0
- jnbe short 019dbh ; 77 06
- cmp byte [bp-00ch], 000h ; 80 7e f4 00
- jne short 019fah ; 75 1f
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 0143ah ; e8 4e fa
+ inc word [bp-014h] ; ff 46 ec
+ jmp short 0198fh ; eb 9e
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ mov word [bp-014h], ax ; 89 46 ec
movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jnbe short 01a65h ; 77 64
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ movzx dx, byte [bp-010h] ; 0f b6 56 f0
+ add ax, dx ; 01 d0
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jnbe short 01a16h ; 77 06
+ cmp byte [bp-010h], 000h ; 80 7e f0 00
+ jne short 01a35h ; 75 1f
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
push ax ; 50
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx cx, byte [bp-012h] ; 0f b6 4e ee
- movzx bx, byte [bp-00eh] ; 0f b6 5e f2
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 014a9h ; e8 b1 fa
- jmp short 01a1ch ; eb 22
+ movzx cx, byte [bp-016h] ; 0f b6 4e ea
+ movzx bx, byte [bp-012h] ; 0f b6 5e ee
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 014deh ; e8 ab fa
+ jmp short 01a57h ; eb 22
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
push ax ; 50
- movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
- mov al, byte [bp-010h] ; 8a 46 f0
- sub al, byte [bp-00ch] ; 2a 46 f4
+ movzx cx, byte [bp-012h] ; 0f b6 4e ee
+ mov al, byte [bp-014h] ; 8a 46 ec
+ sub al, byte [bp-010h] ; 2a 46 f0
movzx bx, al ; 0f b6 d8
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 01409h ; e8 ed f9
- movzx ax, byte [bp+008h] ; 0f b6 46 08
- cmp ax, word [bp-010h] ; 3b 46 f0
- jc short 01a2ah ; 72 05
- dec word [bp-010h] ; ff 4e f0
- jmp short 019bdh ; eb 93
- leave ; c9
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ call 0143ah ; e8 e3 f9
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jc short 01a65h ; 72 05
+ dec word [bp-014h] ; ff 4e ec
+ jmp short 019f8h ; eb 93
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00008h ; c2 08 00
-write_gfx_char_pl4_: ; 0xc1a30 LB 0xe6
+write_gfx_char_pl4_: ; 0xc1a6e LB 0xeb
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 0000ah, 000h ; c8 0a 00 00
- mov byte [bp-002h], dl ; 88 56 fe
+ sub sp, strict byte 0000ah ; 83 ec 0a
+ mov byte [bp-006h], dl ; 88 56 fa
mov ah, bl ; 88 dc
- cmp byte [bp+00ah], 010h ; 80 7e 0a 10
- je short 01a4ch ; 74 0b
- cmp byte [bp+00ah], 00eh ; 80 7e 0a 0e
- jne short 01a51h ; 75 0a
- mov di, 05daeh ; bf ae 5d
- jmp short 01a54h ; eb 08
- mov di, 06baeh ; bf ae 6b
- jmp short 01a54h ; eb 03
- mov di, 055aeh ; bf ae 55
+ cmp byte [bp+006h], 010h ; 80 7e 06 10
+ je short 01a8ch ; 74 0b
+ cmp byte [bp+006h], 00eh ; 80 7e 06 0e
+ jne short 01a91h ; 75 0a
+ mov di, 05dafh ; bf af 5d
+ jmp short 01a94h ; eb 08
+ mov di, 06bafh ; bf af 6b
+ jmp short 01a94h ; eb 03
+ mov di, 055afh ; bf af 55
movzx si, cl ; 0f b6 f1
- movzx bx, byte [bp+00ah] ; 0f b6 5e 0a
+ movzx bx, byte [bp+006h] ; 0f b6 5e 06
imul si, bx ; 0f af f3
- movzx cx, byte [bp+008h] ; 0f b6 4e 08
+ movzx cx, byte [bp+004h] ; 0f b6 4e 04
imul cx, si ; 0f af ce
movzx si, ah ; 0f b6 f4
add si, cx ; 01 ce
- mov word [bp-00ah], si ; 89 76 f6
+ mov word [bp-00eh], si ; 89 76 f2
xor ah, ah ; 30 e4
imul ax, bx ; 0f af c3
- mov word [bp-006h], ax ; 89 46 fa
+ mov word [bp-00ah], ax ; 89 46 f6
mov ax, 00f02h ; b8 02 0f
mov dx, 003c4h ; ba c4 03
out DX, ax ; ef
mov ax, 00205h ; b8 05 02
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
- test byte [bp-002h], 080h ; f6 46 fe 80
- je short 01a8fh ; 74 06
+ test byte [bp-006h], 080h ; f6 46 fa 80
+ je short 01acfh ; 74 06
mov ax, 01803h ; b8 03 18
out DX, ax ; ef
- jmp short 01a93h ; eb 04
+ jmp short 01ad3h ; eb 04
mov ax, strict word 00003h ; b8 03 00
out DX, ax ; ef
xor ch, ch ; 30 ed
- cmp ch, byte [bp+00ah] ; 3a 6e 0a
- jnc short 01b01h ; 73 67
+ cmp ch, byte [bp+006h] ; 3a 6e 06
+ jnc short 01b41h ; 73 67
movzx si, ch ; 0f b6 f5
- movzx ax, byte [bp+008h] ; 0f b6 46 08
+ movzx ax, byte [bp+004h] ; 0f b6 46 04
imul si, ax ; 0f af f0
- add si, word [bp-00ah] ; 03 76 f6
- mov byte [bp-004h], 000h ; c6 46 fc 00
- jmp short 01ac0h ; eb 13
+ add si, word [bp-00eh] ; 03 76 f2
+ mov byte [bp-008h], 000h ; c6 46 f8 00
+ jmp short 01b00h ; eb 13
xor bx, bx ; 31 db
mov dx, si ; 89 f2
mov ax, 0a000h ; b8 00 a0
- call 02ef9h ; e8 42 14
- inc byte [bp-004h] ; fe 46 fc
- cmp byte [bp-004h], 008h ; 80 7e fc 08
- jnc short 01afdh ; 73 3d
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
+ call 02f85h ; e8 8e 14
+ inc byte [bp-008h] ; fe 46 f8
+ cmp byte [bp-008h], 008h ; 80 7e f8 08
+ jnc short 01b3dh ; 73 3d
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
mov cl, al ; 88 c1
mov ax, 00080h ; b8 80 00
sar ax, CL ; d3 f8
xor ah, ah ; 30 e4
- mov word [bp-008h], ax ; 89 46 f8
+ mov word [bp-00ch], ax ; 89 46 f4
sal ax, 008h ; c1 e0 08
or AL, strict byte 008h ; 0c 08
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
mov dx, si ; 89 f2
mov ax, 0a000h ; b8 00 a0
- call 02eebh ; e8 0a 14
+ call 02f77h ; e8 56 14
movzx ax, ch ; 0f b6 c5
- add ax, word [bp-006h] ; 03 46 fa
+ add ax, word [bp-00ah] ; 03 46 f6
mov bx, di ; 89 fb
add bx, ax ; 01 c3
movzx ax, byte [bx] ; 0f b6 07
- test word [bp-008h], ax ; 85 46 f8
- je short 01aadh ; 74 ba
- mov al, byte [bp-002h] ; 8a 46 fe
+ test word [bp-00ch], ax ; 85 46 f4
+ je short 01aedh ; 74 ba
+ mov al, byte [bp-006h] ; 8a 46 fa
and AL, strict byte 00fh ; 24 0f
movzx bx, al ; 0f b6 d8
- jmp short 01aafh ; eb b2
+ jmp short 01aefh ; eb b2
db 0feh, 0c5h
; inc ch ; fe c5
- jmp short 01a95h ; eb 94
+ jmp short 01ad5h ; eb 94
mov ax, 0ff08h ; b8 08 ff
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
@@ -3256,476 +3316,487 @@ write_gfx_char_pl4_: ; 0xc1a30 LB 0xe6
out DX, ax ; ef
mov ax, strict word 00003h ; b8 03 00
out DX, ax ; ef
- leave ; c9
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00004h ; c2 04 00
-write_gfx_char_cga_: ; 0xc1b16 LB 0x119
+write_gfx_char_cga_: ; 0xc1b59 LB 0x11e
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00008h, 000h ; c8 08 00 00
- mov byte [bp-004h], dl ; 88 56 fc
- mov si, 055aeh ; be ae 55
+ sub sp, strict byte 00008h ; 83 ec 08
+ mov byte [bp-008h], dl ; 88 56 f8
+ mov si, 055afh ; be af 55
xor bh, bh ; 30 ff
- movzx di, byte [bp+00ah] ; 0f b6 7e 0a
+ movzx di, byte [bp+006h] ; 0f b6 7e 06
imul di, bx ; 0f af fb
movzx bx, cl ; 0f b6 d9
imul bx, bx, 00140h ; 69 db 40 01
add di, bx ; 01 df
- mov word [bp-008h], di ; 89 7e f8
+ mov word [bp-00ch], di ; 89 7e f4
movzx di, al ; 0f b6 f8
sal di, 003h ; c1 e7 03
- mov byte [bp-002h], 000h ; c6 46 fe 00
- jmp near 01b94h ; e9 50 00
+ mov byte [bp-006h], 000h ; c6 46 fa 00
+ jmp near 01bd9h ; e9 50 00
xor al, al ; 30 c0
xor ah, ah ; 30 e4
- jmp short 01b55h ; eb 0b
+ jmp short 01b9ah ; eb 0b
or al, bl ; 08 d8
shr ch, 1 ; d0 ed
db 0feh, 0c4h
; inc ah ; fe c4
cmp ah, 008h ; 80 fc 08
- jnc short 01b7dh ; 73 28
- movzx bx, byte [bp-002h] ; 0f b6 5e fe
+ jnc short 01bc2h ; 73 28
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
add bx, di ; 01 fb
add bx, si ; 01 f3
movzx bx, byte [bx] ; 0f b6 1f
movzx dx, ch ; 0f b6 d5
test bx, dx ; 85 d3
- je short 01b4ch ; 74 e5
+ je short 01b91h ; 74 e5
mov CL, strict byte 007h ; b1 07
sub cl, ah ; 28 e1
- mov bl, byte [bp-004h] ; 8a 5e fc
+ mov bl, byte [bp-008h] ; 8a 5e f8
and bl, 001h ; 80 e3 01
sal bl, CL ; d2 e3
- test byte [bp-004h], 080h ; f6 46 fc 80
- je short 01b4ah ; 74 d1
+ test byte [bp-008h], 080h ; f6 46 f8 80
+ je short 01b8fh ; 74 d1
xor al, bl ; 30 d8
- jmp short 01b4ch ; eb cf
+ jmp short 01b91h ; eb cf
movzx bx, al ; 0f b6 d8
- mov dx, word [bp-006h] ; 8b 56 fa
+ mov dx, word [bp-00ah] ; 8b 56 f6
mov ax, 0b800h ; b8 00 b8
- call 02ef9h ; e8 70 13
- inc byte [bp-002h] ; fe 46 fe
- cmp byte [bp-002h], 008h ; 80 7e fe 08
- jnc near 01c29h ; 0f 83 95 00
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
+ call 02f85h ; e8 b7 13
+ inc byte [bp-006h] ; fe 46 fa
+ cmp byte [bp-006h], 008h ; 80 7e fa 08
+ jnc near 01c6eh ; 0f 83 95 00
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
sar ax, 1 ; d1 f8
imul ax, ax, strict byte 00050h ; 6b c0 50
- mov bx, word [bp-008h] ; 8b 5e f8
+ mov bx, word [bp-00ch] ; 8b 5e f4
add bx, ax ; 01 c3
- mov word [bp-006h], bx ; 89 5e fa
- test byte [bp-002h], 001h ; f6 46 fe 01
- je short 01bafh ; 74 04
- add byte [bp-005h], 020h ; 80 46 fb 20
+ mov word [bp-00ah], bx ; 89 5e f6
+ test byte [bp-006h], 001h ; f6 46 fa 01
+ je short 01bf4h ; 74 04
+ add byte [bp-009h], 020h ; 80 46 f7 20
mov CH, strict byte 080h ; b5 80
- cmp byte [bp+00ah], 001h ; 80 7e 0a 01
- jne short 01bc8h ; 75 11
- test byte [bp-004h], ch ; 84 6e fc
- je short 01b44h ; 74 88
- mov dx, word [bp-006h] ; 8b 56 fa
+ cmp byte [bp+006h], 001h ; 80 7e 06 01
+ jne short 01c0dh ; 75 11
+ test byte [bp-008h], ch ; 84 6e f8
+ je short 01b89h ; 74 88
+ mov dx, word [bp-00ah] ; 8b 56 f6
mov ax, 0b800h ; b8 00 b8
- call 02eebh ; e8 26 13
- jmp near 01b46h ; e9 7e ff
+ call 02f77h ; e8 6d 13
+ jmp near 01b8bh ; e9 7e ff
test ch, ch ; 84 ed
- jbe short 01b89h ; 76 bd
- test byte [bp-004h], 080h ; f6 46 fc 80
- je short 01bddh ; 74 0b
- mov dx, word [bp-006h] ; 8b 56 fa
+ jbe short 01bceh ; 76 bd
+ test byte [bp-008h], 080h ; f6 46 f8 80
+ je short 01c22h ; 74 0b
+ mov dx, word [bp-00ah] ; 8b 56 f6
mov ax, 0b800h ; b8 00 b8
- call 02eebh ; e8 10 13
- jmp short 01bdfh ; eb 02
+ call 02f77h ; e8 57 13
+ jmp short 01c24h ; eb 02
xor al, al ; 30 c0
xor ah, ah ; 30 e4
- jmp short 01beeh ; eb 0b
+ jmp short 01c33h ; eb 0b
or al, bl ; 08 d8
shr ch, 1 ; d0 ed
db 0feh, 0c4h
; inc ah ; fe c4
cmp ah, 004h ; 80 fc 04
- jnc short 01c18h ; 73 2a
- movzx bx, byte [bp-002h] ; 0f b6 5e fe
+ jnc short 01c5dh ; 73 2a
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
add bx, di ; 01 fb
add bx, si ; 01 f3
movzx dx, byte [bx] ; 0f b6 17
movzx bx, ch ; 0f b6 dd
test bx, dx ; 85 d3
- je short 01be5h ; 74 e5
+ je short 01c2ah ; 74 e5
mov CL, strict byte 003h ; b1 03
sub cl, ah ; 28 e1
- mov bl, byte [bp-004h] ; 8a 5e fc
+ mov bl, byte [bp-008h] ; 8a 5e f8
and bl, 003h ; 80 e3 03
add cl, cl ; 00 c9
sal bl, CL ; d2 e3
- test byte [bp-004h], 080h ; f6 46 fc 80
- je short 01be3h ; 74 cf
+ test byte [bp-008h], 080h ; f6 46 f8 80
+ je short 01c28h ; 74 cf
xor al, bl ; 30 d8
- jmp short 01be5h ; eb cd
+ jmp short 01c2ah ; eb cd
movzx bx, al ; 0f b6 d8
- mov dx, word [bp-006h] ; 8b 56 fa
+ mov dx, word [bp-00ah] ; 8b 56 f6
mov ax, 0b800h ; b8 00 b8
- call 02ef9h ; e8 d5 12
- inc word [bp-006h] ; ff 46 fa
- jmp short 01bc8h ; eb 9f
- leave ; c9
+ call 02f85h ; e8 1c 13
+ inc word [bp-00ah] ; ff 46 f6
+ jmp short 01c0dh ; eb 9f
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00004h ; c2 04 00
-write_gfx_char_lin_: ; 0xc1c2f LB 0x8c
+write_gfx_char_lin_: ; 0xc1c77 LB 0x91
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00008h, 000h ; c8 08 00 00
- mov byte [bp-002h], dl ; 88 56 fe
- mov di, 055aeh ; bf ae 55
+ sub sp, strict byte 00008h ; 83 ec 08
+ mov byte [bp-006h], dl ; 88 56 fa
+ mov di, 055afh ; bf af 55
movzx dx, cl ; 0f b6 d1
- movzx cx, byte [bp+008h] ; 0f b6 4e 08
+ movzx cx, byte [bp+004h] ; 0f b6 4e 04
imul cx, dx ; 0f af ca
sal cx, 006h ; c1 e1 06
movzx dx, bl ; 0f b6 d3
sal dx, 003h ; c1 e2 03
add dx, cx ; 01 ca
- mov word [bp-008h], dx ; 89 56 f8
+ mov word [bp-00ch], dx ; 89 56 f4
movzx si, al ; 0f b6 f0
sal si, 003h ; c1 e6 03
xor cl, cl ; 30 c9
- jmp short 01c98h ; eb 3b
+ jmp short 01ce2h ; eb 3b
cmp ch, 008h ; 80 fd 08
- jnc short 01c91h ; 73 2f
+ jnc short 01cdbh ; 73 2f
xor al, al ; 30 c0
movzx dx, cl ; 0f b6 d1
add dx, si ; 01 f2
mov bx, di ; 89 fb
add bx, dx ; 01 d3
movzx dx, byte [bx] ; 0f b6 17
- movzx bx, byte [bp-004h] ; 0f b6 5e fc
+ movzx bx, byte [bp-008h] ; 0f b6 5e f8
test dx, bx ; 85 da
- je short 01c7bh ; 74 03
- mov al, byte [bp-002h] ; 8a 46 fe
+ je short 01cc5h ; 74 03
+ mov al, byte [bp-006h] ; 8a 46 fa
movzx bx, al ; 0f b6 d8
movzx dx, ch ; 0f b6 d5
- add dx, word [bp-006h] ; 03 56 fa
+ add dx, word [bp-00ah] ; 03 56 f6
mov ax, 0a000h ; b8 00 a0
- call 02ef9h ; e8 6f 12
- shr byte [bp-004h], 1 ; d0 6e fc
+ call 02f85h ; e8 b1 12
+ shr byte [bp-008h], 1 ; d0 6e f8
db 0feh, 0c5h
; inc ch ; fe c5
- jmp short 01c5dh ; eb cc
+ jmp short 01ca7h ; eb cc
db 0feh, 0c1h
; inc cl ; fe c1
cmp cl, 008h ; 80 f9 08
- jnc short 01cb5h ; 73 1d
+ jnc short 01cffh ; 73 1d
movzx bx, cl ; 0f b6 d9
- movzx dx, byte [bp+008h] ; 0f b6 56 08
+ movzx dx, byte [bp+004h] ; 0f b6 56 04
imul dx, bx ; 0f af d3
sal dx, 003h ; c1 e2 03
- mov bx, word [bp-008h] ; 8b 5e f8
+ mov bx, word [bp-00ch] ; 8b 5e f4
add bx, dx ; 01 d3
- mov word [bp-006h], bx ; 89 5e fa
- mov byte [bp-004h], 080h ; c6 46 fc 80
+ mov word [bp-00ah], bx ; 89 5e f6
+ mov byte [bp-008h], 080h ; c6 46 f8 80
xor ch, ch ; 30 ed
- jmp short 01c62h ; eb ad
- leave ; c9
+ jmp short 01cach ; eb ad
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00002h ; c2 02 00
-biosfn_write_char_attr_: ; 0xc1cbb LB 0x163
+biosfn_write_char_attr_: ; 0xc1d08 LB 0x168
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00018h, 000h ; c8 18 00 00
- mov byte [bp-00ah], al ; 88 46 f6
- mov byte [bp-00ch], dl ; 88 56 f4
- mov byte [bp-00eh], bl ; 88 5e f2
+ sub sp, strict byte 00018h ; 83 ec 18
+ mov byte [bp-00eh], al ; 88 46 f2
+ mov byte [bp-010h], dl ; 88 56 f0
+ mov byte [bp-012h], bl ; 88 5e ee
mov si, cx ; 89 ce
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 16 12
+ call 02f77h ; e8 53 12
xor ah, ah ; 30 e4
- call 02ec4h ; e8 ea 11
+ call 02f50h ; e8 27 12
mov cl, al ; 88 c1
- mov byte [bp-002h], al ; 88 46 fe
+ mov byte [bp-006h], al ; 88 46 fa
cmp AL, strict byte 0ffh ; 3c ff
- je near 01e1ah ; 0f 84 35 01
- movzx ax, byte [bp-00ch] ; 0f b6 46 f4
- lea bx, [bp-018h] ; 8d 5e e8
- lea dx, [bp-016h] ; 8d 56 ea
- call 00a83h ; e8 91 ed
- mov al, byte [bp-018h] ; 8a 46 e8
- mov byte [bp-008h], al ; 88 46 f8
- mov ax, word [bp-018h] ; 8b 46 e8
+ je near 01e69h ; 0f 84 35 01
+ movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ lea bx, [bp-01ch] ; 8d 5e e4
+ lea dx, [bp-01ah] ; 8d 56 e6
+ call 00a88h ; e8 47 ed
+ mov al, byte [bp-01ch] ; 8a 46 e4
+ mov byte [bp-00ch], al ; 88 46 f4
+ mov ax, word [bp-01ch] ; 8b 46 e4
xor al, al ; 30 c0
shr ax, 008h ; c1 e8 08
- mov byte [bp-006h], al ; 88 46 fa
+ mov byte [bp-00ah], al ; 88 46 f6
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 df 11
+ call 02f77h ; e8 1c 12
xor ah, ah ; 30 e4
inc ax ; 40
- mov word [bp-014h], ax ; 89 46 ec
+ mov word [bp-018h], ax ; 89 46 e8
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 ec 11
- mov word [bp-012h], ax ; 89 46 ee
+ call 02f93h ; e8 29 12
+ mov word [bp-016h], ax ; 89 46 ea
movzx bx, cl ; 0f b6 d9
mov di, bx ; 89 df
sal di, 003h ; c1 e7 03
- cmp byte [di+0482fh], 000h ; 80 bd 2f 48 00
- jne short 01d74h ; 75 47
- mov bx, word [bp-014h] ; 8b 5e ec
+ cmp byte [di+04830h], 000h ; 80 bd 30 48 00
+ jne short 01dc3h ; 75 47
+ mov bx, word [bp-018h] ; 8b 5e e8
imul bx, ax ; 0f af d8
add bx, bx ; 01 db
or bl, 0ffh ; 80 cb ff
- movzx dx, byte [bp-00ch] ; 0f b6 56 f4
+ movzx dx, byte [bp-010h] ; 0f b6 56 f0
inc bx ; 43
imul dx, bx ; 0f af d3
- movzx bx, byte [bp-006h] ; 0f b6 5e fa
+ movzx bx, byte [bp-00ah] ; 0f b6 5e f6
imul ax, bx ; 0f af c3
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
add ax, bx ; 01 d8
add ax, ax ; 01 c0
add dx, ax ; 01 c2
- movzx ax, byte [bp-00eh] ; 0f b6 46 f2
+ movzx ax, byte [bp-012h] ; 0f b6 46 ee
sal ax, 008h ; c1 e0 08
- movzx bx, byte [bp-00ah] ; 0f b6 5e f6
+ movzx bx, byte [bp-00eh] ; 0f b6 5e f2
add ax, bx ; 01 d8
- mov word [bp-016h], ax ; 89 46 ea
- mov ax, word [bp-016h] ; 8b 46 ea
- mov es, [di+04832h] ; 8e 85 32 48
+ mov word [bp-01ah], ax ; 89 46 e6
+ mov ax, word [bp-01ah] ; 8b 46 e6
+ mov es, [di+04833h] ; 8e 85 33 48
mov cx, si ; 89 f1
mov di, dx ; 89 d7
cld ; fc
- jcxz 01d71h ; e3 02
+ jcxz 01dc0h ; e3 02
rep stosw ; f3 ab
- jmp near 01e1ah ; e9 a6 00
- movzx bx, byte [bx+048aeh] ; 0f b6 9f ae 48
+ jmp near 01e69h ; e9 a6 00
+ movzx bx, byte [bx+048afh] ; 0f b6 9f af 48
sal bx, 006h ; c1 e3 06
- mov al, byte [bx+048c4h] ; 8a 87 c4 48
- mov byte [bp-004h], al ; 88 46 fc
- mov al, byte [di+04831h] ; 8a 85 31 48
- mov byte [bp-010h], al ; 88 46 f0
+ mov al, byte [bx+048c5h] ; 8a 87 c5 48
+ mov byte [bp-008h], al ; 88 46 f8
+ mov al, byte [di+04832h] ; 8a 85 32 48
+ mov byte [bp-014h], al ; 88 46 ec
dec si ; 4e
cmp si, strict byte 0ffffh ; 83 fe ff
- je near 01e1ah ; 0f 84 88 00
- movzx ax, byte [bp-008h] ; 0f b6 46 f8
- cmp ax, word [bp-012h] ; 3b 46 ee
- jnc near 01e1ah ; 0f 83 7d 00
- movzx bx, byte [bp-002h] ; 0f b6 5e fe
+ je near 01e69h ; 0f 84 88 00
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ cmp ax, word [bp-016h] ; 3b 46 ea
+ jnc near 01e69h ; 0f 83 7d 00
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
sal bx, 003h ; c1 e3 03
- mov al, byte [bx+04830h] ; 8a 87 30 48
+ mov al, byte [bx+04831h] ; 8a 87 31 48
cmp AL, strict byte 003h ; 3c 03
- jc short 01db8h ; 72 0c
- jbe short 01dbeh ; 76 10
+ jc short 01e07h ; 72 0c
+ jbe short 01e0dh ; 76 10
cmp AL, strict byte 005h ; 3c 05
- je short 01dfch ; 74 4a
+ je short 01e4bh ; 74 4a
cmp AL, strict byte 004h ; 3c 04
- je short 01dbeh ; 74 08
- jmp short 01e14h ; eb 5c
+ je short 01e0dh ; 74 08
+ jmp short 01e63h ; eb 5c
cmp AL, strict byte 002h ; 3c 02
- je short 01dddh ; 74 21
- jmp short 01e14h ; eb 56
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
+ je short 01e2ch ; 74 21
+ jmp short 01e63h ; eb 56
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
push ax ; 50
- movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-006h] ; 0f b6 4e fa
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
- movzx dx, byte [bp-00eh] ; 0f b6 56 f2
- movzx ax, byte [bp-00ah] ; 0f b6 46 f6
- call 01a30h ; e8 55 fc
- jmp short 01e14h ; eb 37
- movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ movzx cx, byte [bp-00ah] ; 0f b6 4e f6
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ movzx dx, byte [bp-012h] ; 0f b6 56 ee
+ movzx ax, byte [bp-00eh] ; 0f b6 46 f2
+ call 01a6eh ; e8 44 fc
+ jmp short 01e63h ; eb 37
+ movzx ax, byte [bp-014h] ; 0f b6 46 ec
push ax ; 50
- movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-006h] ; 0f b6 4e fa
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
- movzx dx, byte [bp-00eh] ; 0f b6 56 f2
- movzx ax, byte [bp-00ah] ; 0f b6 46 f6
- call 01b16h ; e8 1c fd
- jmp short 01e14h ; eb 18
- movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx cx, byte [bp-00ah] ; 0f b6 4e f6
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ movzx dx, byte [bp-012h] ; 0f b6 56 ee
+ movzx ax, byte [bp-00eh] ; 0f b6 46 f2
+ call 01b59h ; e8 10 fd
+ jmp short 01e63h ; eb 18
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-006h] ; 0f b6 4e fa
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
- movzx dx, byte [bp-00eh] ; 0f b6 56 f2
- movzx ax, byte [bp-00ah] ; 0f b6 46 f6
- call 01c2fh ; e8 1b fe
- inc byte [bp-008h] ; fe 46 f8
- jmp near 01d8ah ; e9 70 ff
- leave ; c9
+ movzx cx, byte [bp-00ah] ; 0f b6 4e f6
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ movzx dx, byte [bp-012h] ; 0f b6 56 ee
+ movzx ax, byte [bp-00eh] ; 0f b6 46 f2
+ call 01c77h ; e8 14 fe
+ inc byte [bp-00ch] ; fe 46 f4
+ jmp near 01dd9h ; e9 70 ff
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn ; c3
-biosfn_write_char_only_: ; 0xc1e1e LB 0x16a
+biosfn_write_char_only_: ; 0xc1e70 LB 0x16f
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00018h, 000h ; c8 18 00 00
- mov byte [bp-00eh], al ; 88 46 f2
- mov byte [bp-002h], dl ; 88 56 fe
- mov byte [bp-010h], bl ; 88 5e f0
+ sub sp, strict byte 00018h ; 83 ec 18
+ mov byte [bp-012h], al ; 88 46 ee
+ mov byte [bp-006h], dl ; 88 56 fa
+ mov byte [bp-014h], bl ; 88 5e ec
mov si, cx ; 89 ce
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 b3 10
+ call 02f77h ; e8 eb 10
xor ah, ah ; 30 e4
- call 02ec4h ; e8 87 10
+ call 02f50h ; e8 bf 10
mov cl, al ; 88 c1
- mov byte [bp-00ah], al ; 88 46 f6
+ mov byte [bp-00eh], al ; 88 46 f2
cmp AL, strict byte 0ffh ; 3c ff
- je near 01f84h ; 0f 84 3c 01
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- lea bx, [bp-018h] ; 8d 5e e8
- lea dx, [bp-016h] ; 8d 56 ea
- call 00a83h ; e8 2e ec
- mov al, byte [bp-018h] ; 8a 46 e8
- mov byte [bp-008h], al ; 88 46 f8
- mov ax, word [bp-018h] ; 8b 46 e8
+ je near 01fd8h ; 0f 84 3c 01
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ lea bx, [bp-01ch] ; 8d 5e e4
+ lea dx, [bp-01ah] ; 8d 56 e6
+ call 00a88h ; e8 df eb
+ mov al, byte [bp-01ch] ; 8a 46 e4
+ mov byte [bp-00ch], al ; 88 46 f4
+ mov ax, word [bp-01ch] ; 8b 46 e4
xor al, al ; 30 c0
shr ax, 008h ; c1 e8 08
- mov byte [bp-00ch], al ; 88 46 f4
+ mov byte [bp-010h], al ; 88 46 f0
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 7c 10
+ call 02f77h ; e8 b4 10
xor ah, ah ; 30 e4
inc ax ; 40
- mov word [bp-014h], ax ; 89 46 ec
+ mov word [bp-018h], ax ; 89 46 e8
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 89 10
- mov word [bp-012h], ax ; 89 46 ee
+ call 02f93h ; e8 c1 10
+ mov word [bp-016h], ax ; 89 46 ea
movzx di, cl ; 0f b6 f9
mov bx, di ; 89 fb
sal bx, 003h ; c1 e3 03
- cmp byte [bx+0482fh], 000h ; 80 bf 2f 48 00
- jne short 01edah ; 75 4a
- mov dx, word [bp-014h] ; 8b 56 ec
+ cmp byte [bx+04830h], 000h ; 80 bf 30 48 00
+ jne short 01f2eh ; 75 4a
+ mov dx, word [bp-018h] ; 8b 56 e8
imul dx, ax ; 0f af d0
add dx, dx ; 01 d2
or dl, 0ffh ; 80 ca ff
- movzx bx, byte [bp-002h] ; 0f b6 5e fe
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
inc dx ; 42
imul bx, dx ; 0f af da
- movzx dx, byte [bp-00ch] ; 0f b6 56 f4
+ movzx dx, byte [bp-010h] ; 0f b6 56 f0
mov cx, ax ; 89 c1
imul cx, dx ; 0f af ca
- movzx dx, byte [bp-008h] ; 0f b6 56 f8
+ movzx dx, byte [bp-00ch] ; 0f b6 56 f4
add cx, dx ; 01 d1
add cx, cx ; 01 c9
add cx, bx ; 01 d9
dec si ; 4e
cmp si, strict byte 0ffffh ; 83 fe ff
- je near 01f84h ; 0f 84 c6 00
- movzx ax, byte [bp-00eh] ; 0f b6 46 f2
- movzx bx, byte [bp-00ah] ; 0f b6 5e f6
+ je near 01fd8h ; 0f 84 c6 00
+ movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ movzx bx, byte [bp-00eh] ; 0f b6 5e f2
sal bx, 003h ; c1 e3 03
- mov di, word [bx+04832h] ; 8b bf 32 48
+ mov di, word [bx+04833h] ; 8b bf 33 48
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, di ; 89 f8
- call 02ef9h ; e8 23 10
+ call 02f85h ; e8 5b 10
inc cx ; 41
inc cx ; 41
- jmp short 01eb6h ; eb dc
- movzx di, byte [di+048aeh] ; 0f b6 bd ae 48
+ jmp short 01f0ah ; eb dc
+ movzx di, byte [di+048afh] ; 0f b6 bd af 48
sal di, 006h ; c1 e7 06
- mov al, byte [di+048c4h] ; 8a 85 c4 48
- mov byte [bp-006h], al ; 88 46 fa
- mov al, byte [bx+04831h] ; 8a 87 31 48
- mov byte [bp-004h], al ; 88 46 fc
+ mov al, byte [di+048c5h] ; 8a 85 c5 48
+ mov byte [bp-00ah], al ; 88 46 f6
+ mov al, byte [bx+04832h] ; 8a 87 32 48
+ mov byte [bp-008h], al ; 88 46 f8
dec si ; 4e
cmp si, strict byte 0ffffh ; 83 fe ff
- je near 01f84h ; 0f 84 8c 00
- movzx ax, byte [bp-008h] ; 0f b6 46 f8
- cmp ax, word [bp-012h] ; 3b 46 ee
- jnc near 01f84h ; 0f 83 81 00
- movzx bx, byte [bp-00ah] ; 0f b6 5e f6
+ je near 01fd8h ; 0f 84 8c 00
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ cmp ax, word [bp-016h] ; 3b 46 ea
+ jnc near 01fd8h ; 0f 83 81 00
+ movzx bx, byte [bp-00eh] ; 0f b6 5e f2
sal bx, 003h ; c1 e3 03
- mov bl, byte [bx+04830h] ; 8a 9f 30 48
+ mov bl, byte [bx+04831h] ; 8a 9f 31 48
cmp bl, 003h ; 80 fb 03
- jc short 01f21h ; 72 0e
- jbe short 01f28h ; 76 13
+ jc short 01f75h ; 72 0e
+ jbe short 01f7ch ; 76 13
cmp bl, 005h ; 80 fb 05
- je short 01f66h ; 74 4c
+ je short 01fbah ; 74 4c
cmp bl, 004h ; 80 fb 04
- je short 01f28h ; 74 09
- jmp short 01f7eh ; eb 5d
+ je short 01f7ch ; 74 09
+ jmp short 01fd2h ; eb 5d
cmp bl, 002h ; 80 fb 02
- je short 01f47h ; 74 21
- jmp short 01f7eh ; eb 56
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ je short 01f9bh ; 74 21
+ jmp short 01fd2h ; eb 56
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
+ push ax ; 50
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
+ movzx cx, byte [bp-010h] ; 0f b6 4e f0
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ call 01a6eh ; e8 d5 fa
+ jmp short 01fd2h ; eb 37
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
push ax ; 50
- movzx cx, byte [bp-00ch] ; 0f b6 4e f4
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-00eh] ; 0f b6 46 f2
- call 01a30h ; e8 eb fa
- jmp short 01f7eh ; eb 37
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
+ movzx cx, byte [bp-010h] ; 0f b6 4e f0
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
movzx ax, byte [bp-012h] ; 0f b6 46 ee
+ call 01b59h ; e8 a1 fb
+ jmp short 01fd2h ; eb 18
+ movzx ax, byte [bp-016h] ; 0f b6 46 ea
push ax ; 50
- movzx cx, byte [bp-00ch] ; 0f b6 4e f4
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-00eh] ; 0f b6 46 f2
- call 01b16h ; e8 b2 fb
- jmp short 01f7eh ; eb 18
+ movzx cx, byte [bp-010h] ; 0f b6 4e f0
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ movzx dx, byte [bp-014h] ; 0f b6 56 ec
movzx ax, byte [bp-012h] ; 0f b6 46 ee
- push ax ; 50
- movzx cx, byte [bp-00ch] ; 0f b6 4e f4
- movzx bx, byte [bp-008h] ; 0f b6 5e f8
- movzx dx, byte [bp-010h] ; 0f b6 56 f0
- movzx ax, byte [bp-00eh] ; 0f b6 46 f2
- call 01c2fh ; e8 b1 fc
- inc byte [bp-008h] ; fe 46 f8
- jmp near 01ef0h ; e9 6c ff
- leave ; c9
+ call 01c77h ; e8 a5 fc
+ inc byte [bp-00ch] ; fe 46 f4
+ jmp near 01f44h ; e9 6c ff
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn ; c3
-biosfn_write_pixel_: ; 0xc1f88 LB 0x168
+biosfn_write_pixel_: ; 0xc1fdf LB 0x16a
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
- enter 00008h, 000h ; c8 08 00 00
- mov byte [bp-004h], dl ; 88 56 fc
- mov word [bp-008h], bx ; 89 5e f8
+ sub sp, strict byte 00008h ; 83 ec 08
+ mov byte [bp-006h], dl ; 88 56 fa
+ mov word [bp-00ah], bx ; 89 5e f6
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 4f 0f
+ call 02f77h ; e8 82 0f
xor ah, ah ; 30 e4
- call 02ec4h ; e8 23 0f
- mov byte [bp-002h], al ; 88 46 fe
+ call 02f50h ; e8 56 0f
+ mov byte [bp-004h], al ; 88 46 fc
cmp AL, strict byte 0ffh ; 3c ff
- je near 020edh ; 0f 84 43 01
+ je near 02121h ; 0f 84 1e 01
movzx bx, al ; 0f b6 d8
sal bx, 003h ; c1 e3 03
- cmp byte [bx+0482fh], 000h ; 80 bf 2f 48 00
- je near 020edh ; 0f 84 34 01
- mov al, byte [bx+04830h] ; 8a 87 30 48
+ cmp byte [bx+04830h], 000h ; 80 bf 30 48 00
+ je near 02121h ; 0f 84 0f 01
+ mov al, byte [bx+04831h] ; 8a 87 31 48
cmp AL, strict byte 003h ; 3c 03
- jc short 01fd0h ; 72 0f
- jbe short 01fd7h ; 76 14
+ jc short 02029h ; 72 0f
+ jbe short 02030h ; 76 14
cmp AL, strict byte 005h ; 3c 05
- je near 020cbh ; 0f 84 02 01
+ je near 02127h ; 0f 84 05 01
cmp AL, strict byte 004h ; 3c 04
- je short 01fd7h ; 74 0a
- leave ; c9
- pop si ; 5e
- retn ; c3
+ je short 02030h ; 74 0a
+ jmp near 02121h ; e9 f8 00
cmp AL, strict byte 002h ; 3c 02
- je short 0203ch ; 74 68
- leave ; c9
- pop si ; 5e
- retn ; c3
+ je short 02095h ; 74 68
+ jmp near 02121h ; e9 f1 00
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 27 0f
+ call 02f93h ; e8 5a 0f
imul ax, cx ; 0f af c1
- mov bx, word [bp-008h] ; 8b 5e f8
+ mov bx, word [bp-00ah] ; 8b 5e f6
shr bx, 003h ; c1 eb 03
add bx, ax ; 01 c3
- mov word [bp-006h], bx ; 89 5e fa
- mov cx, word [bp-008h] ; 8b 4e f8
+ mov word [bp-008h], bx ; 89 5e f8
+ mov cx, word [bp-00ah] ; 8b 4e f6
and cl, 007h ; 80 e1 07
mov ax, 00080h ; b8 80 00
sar ax, CL ; d3 f8
@@ -3738,16 +3809,16 @@ biosfn_write_pixel_: ; 0xc1f88 LB 0x168
out DX, ax ; ef
mov dx, bx ; 89 da
mov ax, 0a000h ; b8 00 a0
- call 02eebh ; e8 db 0e
- test byte [bp-004h], 080h ; f6 46 fc 80
- je short 0201dh ; 74 07
+ call 02f77h ; e8 0e 0f
+ test byte [bp-006h], 080h ; f6 46 fa 80
+ je short 02076h ; 74 07
mov ax, 01803h ; b8 03 18
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
- movzx bx, byte [bp-004h] ; 0f b6 5e fc
- mov dx, word [bp-006h] ; 8b 56 fa
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
+ mov dx, word [bp-008h] ; 8b 56 f8
mov ax, 0a000h ; b8 00 a0
- call 02ef9h ; e8 cf 0e
+ call 02f85h ; e8 02 0f
mov ax, 0ff08h ; b8 08 ff
mov dx, 003ceh ; ba ce 03
out DX, ax ; ef
@@ -3755,278 +3826,276 @@ biosfn_write_pixel_: ; 0xc1f88 LB 0x168
out DX, ax ; ef
mov ax, strict word 00003h ; b8 03 00
out DX, ax ; ef
- leave ; c9
- pop si ; 5e
- retn ; c3
+ jmp near 02121h ; e9 8c 00
mov ax, cx ; 89 c8
shr ax, 1 ; d1 e8
imul ax, ax, strict byte 00050h ; 6b c0 50
- cmp byte [bx+04831h], 002h ; 80 bf 31 48 02
- jne short 02052h ; 75 08
- mov bx, word [bp-008h] ; 8b 5e f8
+ cmp byte [bx+04832h], 002h ; 80 bf 32 48 02
+ jne short 020abh ; 75 08
+ mov bx, word [bp-00ah] ; 8b 5e f6
shr bx, 002h ; c1 eb 02
- jmp short 02058h ; eb 06
- mov bx, word [bp-008h] ; 8b 5e f8
+ jmp short 020b1h ; eb 06
+ mov bx, word [bp-00ah] ; 8b 5e f6
shr bx, 003h ; c1 eb 03
add bx, ax ; 01 c3
- mov word [bp-006h], bx ; 89 5e fa
+ mov word [bp-008h], bx ; 89 5e f8
test cl, 001h ; f6 c1 01
- je short 02066h ; 74 04
- add byte [bp-005h], 020h ; 80 46 fb 20
- mov dx, word [bp-006h] ; 8b 56 fa
+ je short 020bfh ; 74 04
+ add byte [bp-007h], 020h ; 80 46 f9 20
+ mov dx, word [bp-008h] ; 8b 56 f8
mov ax, 0b800h ; b8 00 b8
- call 02eebh ; e8 7c 0e
+ call 02f77h ; e8 af 0e
mov bl, al ; 88 c3
- movzx si, byte [bp-002h] ; 0f b6 76 fe
+ movzx si, byte [bp-004h] ; 0f b6 76 fc
sal si, 003h ; c1 e6 03
- cmp byte [si+04831h], 002h ; 80 bc 31 48 02
- jne short 02098h ; 75 19
- mov al, byte [bp-008h] ; 8a 46 f8
+ cmp byte [si+04832h], 002h ; 80 bc 32 48 02
+ jne short 020f1h ; 75 19
+ mov al, byte [bp-00ah] ; 8a 46 f6
and AL, strict byte 003h ; 24 03
mov AH, strict byte 003h ; b4 03
sub ah, al ; 28 c4
mov cl, ah ; 88 e1
add cl, ah ; 00 e1
- mov bh, byte [bp-004h] ; 8a 7e fc
+ mov bh, byte [bp-006h] ; 8a 7e fa
and bh, 003h ; 80 e7 03
sal bh, CL ; d2 e7
mov AL, strict byte 003h ; b0 03
- jmp short 020abh ; eb 13
- mov al, byte [bp-008h] ; 8a 46 f8
+ jmp short 02104h ; eb 13
+ mov al, byte [bp-00ah] ; 8a 46 f6
and AL, strict byte 007h ; 24 07
mov CL, strict byte 007h ; b1 07
sub cl, al ; 28 c1
- mov bh, byte [bp-004h] ; 8a 7e fc
+ mov bh, byte [bp-006h] ; 8a 7e fa
and bh, 001h ; 80 e7 01
sal bh, CL ; d2 e7
mov AL, strict byte 001h ; b0 01
sal al, CL ; d2 e0
- test byte [bp-004h], 080h ; f6 46 fc 80
- je short 020b7h ; 74 04
+ test byte [bp-006h], 080h ; f6 46 fa 80
+ je short 02110h ; 74 04
xor bl, bh ; 30 fb
- jmp short 020bdh ; eb 06
+ jmp short 02116h ; eb 06
not al ; f6 d0
and bl, al ; 20 c3
or bl, bh ; 08 fb
xor bh, bh ; 30 ff
- mov dx, word [bp-006h] ; 8b 56 fa
+ mov dx, word [bp-008h] ; 8b 56 f8
mov ax, 0b800h ; b8 00 b8
- call 02ef9h ; e8 31 0e
- leave ; c9
+ call 02f85h ; e8 64 0e
+ lea sp, [bp-002h] ; 8d 66 fe
pop si ; 5e
+ pop bp ; 5d
retn ; c3
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 33 0e
+ call 02f93h ; e8 63 0e
sal ax, 003h ; c1 e0 03
imul cx, ax ; 0f af c8
- mov ax, word [bp-008h] ; 8b 46 f8
+ mov ax, word [bp-00ah] ; 8b 46 f6
add ax, cx ; 01 c8
- mov word [bp-006h], ax ; 89 46 fa
- movzx bx, byte [bp-004h] ; 0f b6 5e fc
+ mov word [bp-008h], ax ; 89 46 f8
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
mov dx, ax ; 89 c2
mov ax, 0a000h ; b8 00 a0
- jmp short 020c5h ; eb d8
- leave ; c9
- pop si ; 5e
- retn ; c3
-biosfn_write_teletype_: ; 0xc20f0 LB 0x27f
+ jmp short 0211eh ; eb d5
+biosfn_write_teletype_: ; 0xc2149 LB 0x284
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
- enter 00016h, 000h ; c8 16 00 00
- mov byte [bp-00ah], al ; 88 46 f6
- mov byte [bp-002h], dl ; 88 56 fe
- mov byte [bp-004h], bl ; 88 5e fc
- mov byte [bp-00eh], cl ; 88 4e f2
+ sub sp, strict byte 00016h ; 83 ec 16
+ mov byte [bp-00ch], al ; 88 46 f4
+ mov byte [bp-004h], dl ; 88 56 fc
+ mov byte [bp-006h], bl ; 88 5e fa
+ mov byte [bp-010h], cl ; 88 4e f0
cmp dl, 0ffh ; 80 fa ff
- jne short 02112h ; 75 0c
+ jne short 0216dh ; 75 0c
mov dx, strict word 00062h ; ba 62 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 dc 0d
- mov byte [bp-002h], al ; 88 46 fe
+ call 02f77h ; e8 0d 0e
+ mov byte [bp-004h], al ; 88 46 fc
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 d0 0d
+ call 02f77h ; e8 01 0e
xor ah, ah ; 30 e4
- call 02ec4h ; e8 a4 0d
- mov byte [bp-00ch], al ; 88 46 f4
+ call 02f50h ; e8 d5 0d
+ mov byte [bp-00eh], al ; 88 46 f2
cmp AL, strict byte 0ffh ; 3c ff
- je near 0236ch ; 0f 84 43 02
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- lea bx, [bp-016h] ; 8d 5e ea
- lea dx, [bp-014h] ; 8d 56 ec
- call 00a83h ; e8 4d e9
- mov al, byte [bp-016h] ; 8a 46 ea
- mov byte [bp-006h], al ; 88 46 fa
- mov ax, word [bp-016h] ; 8b 46 ea
+ je near 023c7h ; 0f 84 43 02
+ movzx ax, byte [bp-004h] ; 0f b6 46 fc
+ lea bx, [bp-018h] ; 8d 5e e8
+ lea dx, [bp-016h] ; 8d 56 ea
+ call 00a88h ; e8 f7 e8
+ mov al, byte [bp-018h] ; 8a 46 e8
+ mov byte [bp-008h], al ; 88 46 f8
+ mov ax, word [bp-018h] ; 8b 46 e8
xor al, al ; 30 c0
shr ax, 008h ; c1 e8 08
- mov byte [bp-008h], al ; 88 46 f8
+ mov byte [bp-00ah], al ; 88 46 f6
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 9b 0d
+ call 02f77h ; e8 cc 0d
xor ah, ah ; 30 e4
inc ax ; 40
- mov word [bp-012h], ax ; 89 46 ee
+ mov word [bp-014h], ax ; 89 46 ec
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 a8 0d
- mov word [bp-010h], ax ; 89 46 f0
- mov al, byte [bp-00ah] ; 8a 46 f6
+ call 02f93h ; e8 d9 0d
+ mov word [bp-012h], ax ; 89 46 ee
+ mov al, byte [bp-00ch] ; 8a 46 f4
cmp AL, strict byte 009h ; 3c 09
- jc short 02175h ; 72 0c
- jbe short 0219ch ; 76 31
+ jc short 021d0h ; 72 0c
+ jbe short 021f7h ; 76 31
cmp AL, strict byte 00dh ; 3c 0d
- je short 0218fh ; 74 20
+ je short 021eah ; 74 20
cmp AL, strict byte 00ah ; 3c 0a
- je short 02196h ; 74 23
- jmp short 021ddh ; eb 68
+ je short 021f1h ; 74 23
+ jmp short 02238h ; eb 68
cmp AL, strict byte 008h ; 3c 08
- je short 02181h ; 74 08
+ je short 021dch ; 74 08
cmp AL, strict byte 007h ; 3c 07
- je near 022b9h ; 0f 84 3a 01
- jmp short 021ddh ; eb 5c
- cmp byte [bp-006h], 000h ; 80 7e fa 00
- jbe near 022b9h ; 0f 86 30 01
- dec byte [bp-006h] ; fe 4e fa
- jmp near 022b9h ; e9 2a 01
- mov byte [bp-006h], 000h ; c6 46 fa 00
- jmp near 022b9h ; e9 23 01
- inc byte [bp-008h] ; fe 46 f8
- jmp near 022b9h ; e9 1d 01
- movzx cx, byte [bp-00eh] ; 0f b6 4e f2
- movzx bx, byte [bp-004h] ; 0f b6 5e fc
- movzx si, byte [bp-002h] ; 0f b6 76 fe
+ je near 02314h ; 0f 84 3a 01
+ jmp short 02238h ; eb 5c
+ cmp byte [bp-008h], 000h ; 80 7e f8 00
+ jbe near 02314h ; 0f 86 30 01
+ dec byte [bp-008h] ; fe 4e f8
+ jmp near 02314h ; e9 2a 01
+ mov byte [bp-008h], 000h ; c6 46 f8 00
+ jmp near 02314h ; e9 23 01
+ inc byte [bp-00ah] ; fe 46 f6
+ jmp near 02314h ; e9 1d 01
+ movzx cx, byte [bp-010h] ; 0f b6 4e f0
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
+ movzx si, byte [bp-004h] ; 0f b6 76 fc
mov dx, si ; 89 f2
mov ax, strict word 00020h ; b8 20 00
- call 020f0h ; e8 40 ff
- lea bx, [bp-016h] ; 8d 5e ea
- lea dx, [bp-014h] ; 8d 56 ec
+ call 02149h ; e8 3e ff
+ lea bx, [bp-018h] ; 8d 5e e8
+ lea dx, [bp-016h] ; 8d 56 ea
mov ax, si ; 89 f0
- call 00a83h ; e8 c8 e8
- mov al, byte [bp-016h] ; 8a 46 ea
- mov byte [bp-006h], al ; 88 46 fa
- mov ax, word [bp-016h] ; 8b 46 ea
+ call 00a88h ; e8 72 e8
+ mov al, byte [bp-018h] ; 8a 46 e8
+ mov byte [bp-008h], al ; 88 46 f8
+ mov ax, word [bp-018h] ; 8b 46 e8
xor al, al ; 30 c0
shr ax, 008h ; c1 e8 08
- mov byte [bp-008h], al ; 88 46 f8
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
+ mov byte [bp-00ah], al ; 88 46 f6
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
mov bx, strict word 00008h ; bb 08 00
cwd ; 99
idiv bx ; f7 fb
test dx, dx ; 85 d2
- je short 0219ch ; 74 c2
- jmp near 022b9h ; e9 dc 00
- movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ je short 021f7h ; 74 c2
+ jmp near 02314h ; e9 dc 00
+ movzx bx, byte [bp-00eh] ; 0f b6 5e f2
mov si, bx ; 89 de
sal si, 003h ; c1 e6 03
- cmp byte [si+0482fh], 000h ; 80 bc 2f 48 00
- jne short 02238h ; 75 4b
- mov ax, word [bp-010h] ; 8b 46 f0
- imul ax, word [bp-012h] ; 0f af 46 ee
+ cmp byte [si+04830h], 000h ; 80 bc 30 48 00
+ jne short 02293h ; 75 4b
+ mov ax, word [bp-012h] ; 8b 46 ee
+ imul ax, word [bp-014h] ; 0f af 46 ec
add ax, ax ; 01 c0
or AL, strict byte 0ffh ; 0c ff
- movzx dx, byte [bp-002h] ; 0f b6 56 fe
+ movzx dx, byte [bp-004h] ; 0f b6 56 fc
inc ax ; 40
imul dx, ax ; 0f af d0
- movzx cx, byte [bp-008h] ; 0f b6 4e f8
- imul cx, word [bp-010h] ; 0f af 4e f0
- movzx bx, byte [bp-006h] ; 0f b6 5e fa
+ movzx cx, byte [bp-00ah] ; 0f b6 4e f6
+ imul cx, word [bp-012h] ; 0f af 4e ee
+ movzx bx, byte [bp-008h] ; 0f b6 5e f8
add cx, bx ; 01 d9
add cx, cx ; 01 c9
add cx, dx ; 01 d1
- movzx bx, byte [bp-00ah] ; 0f b6 5e f6
- mov ax, word [si+04832h] ; 8b 84 32 48
+ movzx bx, byte [bp-00ch] ; 0f b6 5e f4
+ mov ax, word [si+04833h] ; 8b 84 33 48
mov dx, cx ; 89 ca
- call 02ef9h ; e8 da 0c
- cmp byte [bp-00eh], 003h ; 80 7e f2 03
- jne near 022b6h ; 0f 85 8f 00
- movzx bx, byte [bp-004h] ; 0f b6 5e fc
+ call 02f85h ; e8 0b 0d
+ cmp byte [bp-010h], 003h ; 80 7e f0 03
+ jne near 02311h ; 0f 85 8f 00
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
mov dx, cx ; 89 ca
inc dx ; 42
- mov ax, word [si+04832h] ; 8b 84 32 48
- call 02ef9h ; e8 c4 0c
- jmp near 022b6h ; e9 7e 00
- movzx bx, byte [bx+048aeh] ; 0f b6 9f ae 48
+ mov ax, word [si+04833h] ; 8b 84 33 48
+ call 02f85h ; e8 f5 0c
+ jmp near 02311h ; e9 7e 00
+ movzx bx, byte [bx+048afh] ; 0f b6 9f af 48
sal bx, 006h ; c1 e3 06
- mov ah, byte [bx+048c4h] ; 8a a7 c4 48
- mov dl, byte [si+04831h] ; 8a 94 31 48
- mov al, byte [si+04830h] ; 8a 84 30 48
+ mov ah, byte [bx+048c5h] ; 8a a7 c5 48
+ mov dl, byte [si+04832h] ; 8a 94 32 48
+ mov al, byte [si+04831h] ; 8a 84 31 48
cmp AL, strict byte 003h ; 3c 03
- jc short 0225ch ; 72 0c
- jbe short 02262h ; 76 10
+ jc short 022b7h ; 72 0c
+ jbe short 022bdh ; 76 10
cmp AL, strict byte 005h ; 3c 05
- je short 0229eh ; 74 48
+ je short 022f9h ; 74 48
cmp AL, strict byte 004h ; 3c 04
- je short 02262h ; 74 08
- jmp short 022b6h ; eb 5a
+ je short 022bdh ; 74 08
+ jmp short 02311h ; eb 5a
cmp AL, strict byte 002h ; 3c 02
- je short 02280h ; 74 20
- jmp short 022b6h ; eb 54
+ je short 022dbh ; 74 20
+ jmp short 02311h ; eb 54
movzx ax, ah ; 0f b6 c4
push ax ; 50
- movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ movzx ax, byte [bp-012h] ; 0f b6 46 ee
push ax ; 50
- movzx cx, byte [bp-008h] ; 0f b6 4e f8
- movzx bx, byte [bp-006h] ; 0f b6 5e fa
- movzx dx, byte [bp-004h] ; 0f b6 56 fc
- movzx ax, byte [bp-00ah] ; 0f b6 46 f6
- call 01a30h ; e8 b2 f7
- jmp short 022b6h ; eb 36
+ movzx cx, byte [bp-00ah] ; 0f b6 4e f6
+ movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ movzx dx, byte [bp-006h] ; 0f b6 56 fa
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ call 01a6eh ; e8 95 f7
+ jmp short 02311h ; eb 36
movzx ax, dl ; 0f b6 c2
push ax ; 50
- movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ movzx ax, byte [bp-012h] ; 0f b6 46 ee
push ax ; 50
- movzx cx, byte [bp-008h] ; 0f b6 4e f8
- movzx bx, byte [bp-006h] ; 0f b6 5e fa
- movzx dx, byte [bp-004h] ; 0f b6 56 fc
- movzx ax, byte [bp-00ah] ; 0f b6 46 f6
- call 01b16h ; e8 7a f8
- jmp short 022b6h ; eb 18
- movzx ax, byte [bp-010h] ; 0f b6 46 f0
+ movzx cx, byte [bp-00ah] ; 0f b6 4e f6
+ movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ movzx dx, byte [bp-006h] ; 0f b6 56 fa
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ call 01b59h ; e8 62 f8
+ jmp short 02311h ; eb 18
+ movzx ax, byte [bp-012h] ; 0f b6 46 ee
push ax ; 50
- movzx cx, byte [bp-008h] ; 0f b6 4e f8
- movzx bx, byte [bp-006h] ; 0f b6 5e fa
- movzx dx, byte [bp-004h] ; 0f b6 56 fc
- movzx ax, byte [bp-00ah] ; 0f b6 46 f6
- call 01c2fh ; e8 79 f9
- inc byte [bp-006h] ; fe 46 fa
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
- cmp ax, word [bp-010h] ; 3b 46 f0
- jne short 022c9h ; 75 07
- mov byte [bp-006h], 000h ; c6 46 fa 00
+ movzx cx, byte [bp-00ah] ; 0f b6 4e f6
+ movzx bx, byte [bp-008h] ; 0f b6 5e f8
+ movzx dx, byte [bp-006h] ; 0f b6 56 fa
+ movzx ax, byte [bp-00ch] ; 0f b6 46 f4
+ call 01c77h ; e8 66 f9
inc byte [bp-008h] ; fe 46 f8
movzx ax, byte [bp-008h] ; 0f b6 46 f8
cmp ax, word [bp-012h] ; 3b 46 ee
- jne near 02350h ; 0f 85 7c 00
- movzx si, byte [bp-00ch] ; 0f b6 76 f4
+ jne short 02324h ; 75 07
+ mov byte [bp-008h], 000h ; c6 46 f8 00
+ inc byte [bp-00ah] ; fe 46 f6
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
+ cmp ax, word [bp-014h] ; 3b 46 ec
+ jne near 023abh ; 0f 85 7c 00
+ movzx si, byte [bp-00eh] ; 0f b6 76 f2
sal si, 003h ; c1 e6 03
- mov bl, byte [bp-012h] ; 8a 5e ee
+ mov bl, byte [bp-014h] ; 8a 5e ec
db 0feh, 0cbh
; dec bl ; fe cb
- mov bh, byte [bp-010h] ; 8a 7e f0
+ mov bh, byte [bp-012h] ; 8a 7e ee
db 0feh, 0cfh
; dec bh ; fe cf
- cmp byte [si+0482fh], 000h ; 80 bc 2f 48 00
- jne short 02332h ; 75 46
- mov ax, word [bp-010h] ; 8b 46 f0
- imul ax, word [bp-012h] ; 0f af 46 ee
+ cmp byte [si+04830h], 000h ; 80 bc 30 48 00
+ jne short 0238dh ; 75 46
+ mov ax, word [bp-012h] ; 8b 46 ee
+ imul ax, word [bp-014h] ; 0f af 46 ec
add ax, ax ; 01 c0
or AL, strict byte 0ffh ; 0c ff
- movzx dx, byte [bp-002h] ; 0f b6 56 fe
+ movzx dx, byte [bp-004h] ; 0f b6 56 fc
inc ax ; 40
imul dx, ax ; 0f af d0
- movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
dec ax ; 48
- imul ax, word [bp-010h] ; 0f af 46 f0
- movzx cx, byte [bp-006h] ; 0f b6 4e fa
+ imul ax, word [bp-012h] ; 0f af 46 ee
+ movzx cx, byte [bp-008h] ; 0f b6 4e f8
add cx, ax ; 01 c1
add cx, cx ; 01 c9
add dx, cx ; 01 ca
inc dx ; 42
- mov ax, word [si+04832h] ; 8b 84 32 48
- call 02eebh ; e8 d1 0b
+ mov ax, word [si+04833h] ; 8b 84 33 48
+ call 02f77h ; e8 02 0c
push strict byte 00001h ; 6a 01
- movzx dx, byte [bp-002h] ; 0f b6 56 fe
+ movzx dx, byte [bp-004h] ; 0f b6 56 fc
push dx ; 52
movzx dx, bh ; 0f b6 d7
push dx ; 52
@@ -4035,9 +4104,9 @@ biosfn_write_teletype_: ; 0xc20f0 LB 0x27f
movzx dx, al ; 0f b6 d0
xor cx, cx ; 31 c9
xor bx, bx ; 31 db
- jmp short 02347h ; eb 15
+ jmp short 023a2h ; eb 15
push strict byte 00001h ; 6a 01
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
+ movzx ax, byte [bp-004h] ; 0f b6 46 fc
push ax ; 50
movzx ax, bh ; 0f b6 c7
push ax ; 50
@@ -4047,23 +4116,24 @@ biosfn_write_teletype_: ; 0xc20f0 LB 0x27f
xor bx, bx ; 31 db
xor dx, dx ; 31 d2
mov ax, strict word 00001h ; b8 01 00
- call 0152fh ; e8 e2 f1
- dec byte [bp-008h] ; fe 4e f8
+ call 01568h ; e8 c0 f1
+ dec byte [bp-00ah] ; fe 4e f6
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
+ mov word [bp-018h], ax ; 89 46 e8
+ sal word [bp-018h], 008h ; c1 66 e8 08
movzx ax, byte [bp-008h] ; 0f b6 46 f8
- mov word [bp-016h], ax ; 89 46 ea
- sal word [bp-016h], 008h ; c1 66 ea 08
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
- add word [bp-016h], ax ; 01 46 ea
- mov dx, word [bp-016h] ; 8b 56 ea
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
- call 00e42h ; e8 d6 ea
- leave ; c9
+ add word [bp-018h], ax ; 01 46 e8
+ mov dx, word [bp-018h] ; 8b 56 e8
+ movzx ax, byte [bp-004h] ; 0f b6 46 fc
+ call 00e5eh ; e8 97 ea
+ lea sp, [bp-002h] ; 8d 66 fe
pop si ; 5e
+ pop bp ; 5d
retn ; c3
-get_font_access_: ; 0xc236f LB 0x29
- push dx ; 52
+get_font_access_: ; 0xc23cd LB 0x2c
push bp ; 55
mov bp, sp ; 89 e5
+ push dx ; 52
mov ax, 00100h ; b8 00 01
mov dx, 003c4h ; ba c4 03
out DX, ax ; ef
@@ -4080,13 +4150,14 @@ get_font_access_: ; 0xc236f LB 0x29
out DX, ax ; ef
mov ax, 00406h ; b8 06 04
out DX, ax ; ef
- pop bp ; 5d
+ lea sp, [bp-002h] ; 8d 66 fe
pop dx ; 5a
+ pop bp ; 5d
retn ; c3
-release_font_access_: ; 0xc2398 LB 0x39
- push dx ; 52
+release_font_access_: ; 0xc23f9 LB 0x3c
push bp ; 55
mov bp, sp ; 89 e5
+ push dx ; 52
mov ax, 00100h ; b8 00 01
mov dx, 003c4h ; ba c4 03
out DX, ax ; ef
@@ -4111,21 +4182,22 @@ release_font_access_: ; 0xc2398 LB 0x39
out DX, ax ; ef
mov ax, 01005h ; b8 05 10
out DX, ax ; ef
- pop bp ; 5d
+ lea sp, [bp-002h] ; 8d 66 fe
pop dx ; 5a
+ pop bp ; 5d
retn ; c3
-set_scan_lines_: ; 0xc23d1 LB 0xbc
+set_scan_lines_: ; 0xc2435 LB 0xbf
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push dx ; 52
push si ; 56
push di ; 57
- push bp ; 55
- mov bp, sp ; 89 e5
mov bl, al ; 88 c3
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 23 0b
+ call 02f93h ; e8 4b 0b
mov dx, ax ; 89 c2
mov si, ax ; 89 c6
mov AL, strict byte 009h ; b0 09
@@ -4142,22 +4214,22 @@ set_scan_lines_: ; 0xc23d1 LB 0xbc
or al, ah ; 08 e0
out DX, AL ; ee
cmp bl, 008h ; 80 fb 08
- jne short 02408h ; 75 08
+ jne short 0246ch ; 75 08
mov dx, strict word 00007h ; ba 07 00
mov ax, strict word 00006h ; b8 06 00
- jmp short 02415h ; eb 0d
+ jmp short 02479h ; eb 0d
mov al, bl ; 88 d8
sub AL, strict byte 003h ; 2c 03
movzx dx, al ; 0f b6 d0
mov al, bl ; 88 d8
sub AL, strict byte 004h ; 2c 04
xor ah, ah ; 30 e4
- call 00da1h ; e8 89 e9
+ call 00dbah ; e8 3e e9
movzx di, bl ; 0f b6 fb
mov bx, di ; 89 fb
mov dx, 00085h ; ba 85 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 ef 0a
+ call 02fa1h ; e8 17 0b
mov AL, strict byte 012h ; b0 12
mov dx, si ; 89 f2
out DX, AL ; ee
@@ -4192,83 +4264,90 @@ set_scan_lines_: ; 0xc23d1 LB 0xbc
movzx bx, al ; 0f b6 d8
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 8f 0a
+ call 02f85h ; e8 b7 0a
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 94 0a
+ call 02f93h ; e8 bc 0a
movzx dx, cl ; 0f b6 d1
mov bx, ax ; 89 c3
imul bx, dx ; 0f af da
add bx, bx ; 01 db
mov dx, strict word 0004ch ; ba 4c 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 8f 0a
- pop bp ; 5d
+ call 02fa1h ; e8 b7 0a
+ lea sp, [bp-00ah] ; 8d 66 f6
pop di ; 5f
pop si ; 5e
pop dx ; 5a
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_load_text_user_pat_: ; 0xc248d LB 0x78
+biosfn_load_text_user_pat_: ; 0xc24f4 LB 0x7d
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 0000ah, 000h ; c8 0a 00 00
- mov byte [bp-002h], al ; 88 46 fe
- mov word [bp-008h], dx ; 89 56 f8
- mov word [bp-004h], bx ; 89 5e fc
- mov word [bp-006h], cx ; 89 4e fa
- call 0236fh ; e8 cd fe
- mov al, byte [bp+00ah] ; 8a 46 0a
+ sub sp, strict byte 0000ah ; 83 ec 0a
+ mov byte [bp-006h], al ; 88 46 fa
+ mov word [bp-00ch], dx ; 89 56 f4
+ mov word [bp-008h], bx ; 89 5e f8
+ mov word [bp-00ah], cx ; 89 4e f6
+ call 023cdh ; e8 c2 fe
+ mov al, byte [bp+006h] ; 8a 46 06
and AL, strict byte 003h ; 24 03
xor ah, ah ; 30 e4
mov bx, ax ; 89 c3
sal bx, 00eh ; c1 e3 0e
- mov al, byte [bp+00ah] ; 8a 46 0a
+ mov al, byte [bp+006h] ; 8a 46 06
and AL, strict byte 004h ; 24 04
xor ah, ah ; 30 e4
sal ax, 00bh ; c1 e0 0b
add bx, ax ; 01 c3
- mov word [bp-00ah], bx ; 89 5e f6
+ mov word [bp-00eh], bx ; 89 5e f2
xor bx, bx ; 31 db
- cmp bx, word [bp-006h] ; 3b 5e fa
- jnc short 024efh ; 73 2b
- movzx cx, byte [bp+00ch] ; 0f b6 4e 0c
+ cmp bx, word [bp-00ah] ; 3b 5e f6
+ jnc short 02558h ; 73 2b
+ movzx cx, byte [bp+008h] ; 0f b6 4e 08
mov si, bx ; 89 de
imul si, cx ; 0f af f1
- add si, word [bp-004h] ; 03 76 fc
- mov di, word [bp+008h] ; 8b 7e 08
+ add si, word [bp-008h] ; 03 76 f8
+ mov di, word [bp+004h] ; 8b 7e 04
add di, bx ; 01 df
sal di, 005h ; c1 e7 05
- add di, word [bp-00ah] ; 03 7e f6
- mov dx, word [bp-008h] ; 8b 56 f8
+ add di, word [bp-00eh] ; 03 7e f2
+ mov dx, word [bp-00ch] ; 8b 56 f4
mov ax, 0a000h ; b8 00 a0
mov es, ax ; 8e c0
cld ; fc
- jcxz 024ech ; e3 06
+ jcxz 02555h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
inc bx ; 43
- jmp short 024bfh ; eb d0
- call 02398h ; e8 a6 fe
- cmp byte [bp-002h], 010h ; 80 7e fe 10
- jc short 024ffh ; 72 07
- movzx ax, byte [bp+00ch] ; 0f b6 46 0c
- call 023d1h ; e8 d2 fe
- leave ; c9
+ jmp short 02528h ; eb d0
+ call 023f9h ; e8 9e fe
+ cmp byte [bp-006h], 010h ; 80 7e fa 10
+ jc short 02568h ; 72 07
+ movzx ax, byte [bp+008h] ; 0f b6 46 08
+ call 02435h ; e8 cd fe
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00006h ; c2 06 00
-biosfn_load_text_8_14_pat_: ; 0xc2505 LB 0x6c
+biosfn_load_text_8_14_pat_: ; 0xc2571 LB 0x70
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
- mov byte [bp-002h], al ; 88 46 fe
- call 0236fh ; e8 5c fe
+ push ax ; 50
+ push ax ; 50
+ mov byte [bp-00ah], al ; 88 46 f6
+ call 023cdh ; e8 4d fe
mov al, dl ; 88 d0
and AL, strict byte 003h ; 24 03
xor ah, ah ; 30 e4
@@ -4279,47 +4358,51 @@ biosfn_load_text_8_14_pat_: ; 0xc2505 LB 0x6c
xor ah, ah ; 30 e4
sal ax, 00bh ; c1 e0 0b
add bx, ax ; 01 c3
- mov word [bp-004h], bx ; 89 5e fc
+ mov word [bp-00ch], bx ; 89 5e f4
xor bx, bx ; 31 db
- jmp short 02536h ; eb 06
+ jmp short 025a3h ; eb 06
cmp bx, 00100h ; 81 fb 00 01
- jnc short 0255ch ; 73 26
+ jnc short 025c9h ; 73 26
imul si, bx, strict byte 0000eh ; 6b f3 0e
mov di, bx ; 89 df
sal di, 005h ; c1 e7 05
- add di, word [bp-004h] ; 03 7e fc
- add si, 05daeh ; 81 c6 ae 5d
+ add di, word [bp-00ch] ; 03 7e f4
+ add si, 05dafh ; 81 c6 af 5d
mov cx, strict word 0000eh ; b9 0e 00
mov dx, 0c000h ; ba 00 c0
mov ax, 0a000h ; b8 00 a0
mov es, ax ; 8e c0
cld ; fc
- jcxz 02559h ; e3 06
+ jcxz 025c6h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
inc bx ; 43
- jmp short 02530h ; eb d4
- call 02398h ; e8 39 fe
- cmp byte [bp-002h], 010h ; 80 7e fe 10
- jc short 0256bh ; 72 06
+ jmp short 0259dh ; eb d4
+ call 023f9h ; e8 2d fe
+ cmp byte [bp-00ah], 010h ; 80 7e f6 10
+ jc short 025d8h ; 72 06
mov ax, strict word 0000eh ; b8 0e 00
- call 023d1h ; e8 66 fe
- leave ; c9
+ call 02435h ; e8 5d fe
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_load_text_8_8_pat_: ; 0xc2571 LB 0x6e
+biosfn_load_text_8_8_pat_: ; 0xc25e1 LB 0x72
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
- mov byte [bp-002h], al ; 88 46 fe
- call 0236fh ; e8 f0 fd
+ push ax ; 50
+ push ax ; 50
+ mov byte [bp-00ah], al ; 88 46 f6
+ call 023cdh ; e8 dd fd
mov al, dl ; 88 d0
and AL, strict byte 003h ; 24 03
xor ah, ah ; 30 e4
@@ -4330,48 +4413,52 @@ biosfn_load_text_8_8_pat_: ; 0xc2571 LB 0x6e
xor ah, ah ; 30 e4
sal ax, 00bh ; c1 e0 0b
add bx, ax ; 01 c3
- mov word [bp-004h], bx ; 89 5e fc
+ mov word [bp-00ch], bx ; 89 5e f4
xor bx, bx ; 31 db
- jmp short 025a2h ; eb 06
+ jmp short 02613h ; eb 06
cmp bx, 00100h ; 81 fb 00 01
- jnc short 025cah ; 73 28
+ jnc short 0263bh ; 73 28
mov si, bx ; 89 de
sal si, 003h ; c1 e6 03
mov di, bx ; 89 df
sal di, 005h ; c1 e7 05
- add di, word [bp-004h] ; 03 7e fc
- add si, 055aeh ; 81 c6 ae 55
+ add di, word [bp-00ch] ; 03 7e f4
+ add si, 055afh ; 81 c6 af 55
mov cx, strict word 00008h ; b9 08 00
mov dx, 0c000h ; ba 00 c0
mov ax, 0a000h ; b8 00 a0
mov es, ax ; 8e c0
cld ; fc
- jcxz 025c7h ; e3 06
+ jcxz 02638h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
inc bx ; 43
- jmp short 0259ch ; eb d2
- call 02398h ; e8 cb fd
- cmp byte [bp-002h], 010h ; 80 7e fe 10
- jc short 025d9h ; 72 06
+ jmp short 0260dh ; eb d2
+ call 023f9h ; e8 bb fd
+ cmp byte [bp-00ah], 010h ; 80 7e f6 10
+ jc short 0264ah ; 72 06
mov ax, strict word 00008h ; b8 08 00
- call 023d1h ; e8 f8 fd
- leave ; c9
+ call 02435h ; e8 eb fd
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_load_text_8_16_pat_: ; 0xc25df LB 0x6e
+biosfn_load_text_8_16_pat_: ; 0xc2653 LB 0x72
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
- mov byte [bp-002h], al ; 88 46 fe
- call 0236fh ; e8 82 fd
+ push ax ; 50
+ push ax ; 50
+ mov byte [bp-00ah], al ; 88 46 f6
+ call 023cdh ; e8 6b fd
mov al, dl ; 88 d0
and AL, strict byte 003h ; 24 03
xor ah, ah ; 30 e4
@@ -4382,282 +4469,291 @@ biosfn_load_text_8_16_pat_: ; 0xc25df LB 0x6e
xor ah, ah ; 30 e4
sal ax, 00bh ; c1 e0 0b
add bx, ax ; 01 c3
- mov word [bp-004h], bx ; 89 5e fc
+ mov word [bp-00ch], bx ; 89 5e f4
xor bx, bx ; 31 db
- jmp short 02610h ; eb 06
+ jmp short 02685h ; eb 06
cmp bx, 00100h ; 81 fb 00 01
- jnc short 02638h ; 73 28
+ jnc short 026adh ; 73 28
mov si, bx ; 89 de
sal si, 004h ; c1 e6 04
mov di, bx ; 89 df
sal di, 005h ; c1 e7 05
- add di, word [bp-004h] ; 03 7e fc
- add si, 06baeh ; 81 c6 ae 6b
+ add di, word [bp-00ch] ; 03 7e f4
+ add si, 06bafh ; 81 c6 af 6b
mov cx, strict word 00010h ; b9 10 00
mov dx, 0c000h ; ba 00 c0
mov ax, 0a000h ; b8 00 a0
mov es, ax ; 8e c0
cld ; fc
- jcxz 02635h ; e3 06
+ jcxz 026aah ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
inc bx ; 43
- jmp short 0260ah ; eb d2
- call 02398h ; e8 5d fd
- cmp byte [bp-002h], 010h ; 80 7e fe 10
- jc short 02647h ; 72 06
+ jmp short 0267fh ; eb d2
+ call 023f9h ; e8 49 fd
+ cmp byte [bp-00ah], 010h ; 80 7e f6 10
+ jc short 026bch ; 72 06
mov ax, strict word 00010h ; b8 10 00
- call 023d1h ; e8 8a fd
- leave ; c9
+ call 02435h ; e8 79 fd
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_load_gfx_8_8_chars_: ; 0xc264d LB 0x5
+biosfn_load_gfx_8_8_chars_: ; 0xc26c5 LB 0x5
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn ; c3
-biosfn_load_gfx_user_chars_: ; 0xc2652 LB 0x7
+biosfn_load_gfx_user_chars_: ; 0xc26ca LB 0x7
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn 00002h ; c2 02 00
-biosfn_load_gfx_8_14_chars_: ; 0xc2659 LB 0x5
+biosfn_load_gfx_8_14_chars_: ; 0xc26d1 LB 0x5
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn ; c3
-biosfn_load_gfx_8_8_dd_chars_: ; 0xc265e LB 0x5
+biosfn_load_gfx_8_8_dd_chars_: ; 0xc26d6 LB 0x5
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn ; c3
-biosfn_load_gfx_8_16_chars_: ; 0xc2663 LB 0x5
+biosfn_load_gfx_8_16_chars_: ; 0xc26db LB 0x5
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn ; c3
-biosfn_alternate_prtsc_: ; 0xc2668 LB 0x5
+biosfn_alternate_prtsc_: ; 0xc26e0 LB 0x5
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn ; c3
-biosfn_switch_video_interface_: ; 0xc266d LB 0x5
+biosfn_switch_video_interface_: ; 0xc26e5 LB 0x5
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn ; c3
-biosfn_enable_video_refresh_control_: ; 0xc2672 LB 0x5
+biosfn_enable_video_refresh_control_: ; 0xc26ea LB 0x5
push bp ; 55
mov bp, sp ; 89 e5
pop bp ; 5d
retn ; c3
-biosfn_write_string_: ; 0xc2677 LB 0x97
+biosfn_write_string_: ; 0xc26ef LB 0x9c
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 0000ah, 000h ; c8 0a 00 00
- mov byte [bp-006h], al ; 88 46 fa
- mov byte [bp-004h], dl ; 88 56 fc
- mov byte [bp-002h], bl ; 88 5e fe
+ sub sp, strict byte 0000ah ; 83 ec 0a
+ mov byte [bp-00ah], al ; 88 46 f6
+ mov byte [bp-008h], dl ; 88 56 f8
+ mov byte [bp-006h], bl ; 88 5e fa
mov si, cx ; 89 ce
- mov di, word [bp+00eh] ; 8b 7e 0e
+ mov di, word [bp+00ah] ; 8b 7e 0a
movzx ax, dl ; 0f b6 c2
- lea bx, [bp-00ah] ; 8d 5e f6
- lea dx, [bp-008h] ; 8d 56 f8
- call 00a83h ; e8 ec e3
- cmp byte [bp+008h], 0ffh ; 80 7e 08 ff
- jne short 026aeh ; 75 11
- mov al, byte [bp-00ah] ; 8a 46 f6
- mov byte [bp+00ah], al ; 88 46 0a
- mov ax, word [bp-00ah] ; 8b 46 f6
+ lea bx, [bp-00eh] ; 8d 5e f2
+ lea dx, [bp-00ch] ; 8d 56 f4
+ call 00a88h ; e8 77 e3
+ cmp byte [bp+004h], 0ffh ; 80 7e 04 ff
+ jne short 02728h ; 75 11
+ mov al, byte [bp-00eh] ; 8a 46 f2
+ mov byte [bp+006h], al ; 88 46 06
+ mov ax, word [bp-00eh] ; 8b 46 f2
xor al, al ; 30 c0
shr ax, 008h ; c1 e8 08
- mov byte [bp+008h], al ; 88 46 08
- movzx dx, byte [bp+008h] ; 0f b6 56 08
+ mov byte [bp+004h], al ; 88 46 04
+ movzx dx, byte [bp+004h] ; 0f b6 56 04
sal dx, 008h ; c1 e2 08
- movzx ax, byte [bp+00ah] ; 0f b6 46 0a
+ movzx ax, byte [bp+006h] ; 0f b6 46 06
add dx, ax ; 01 c2
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- call 00e42h ; e8 80 e7
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ call 00e5eh ; e8 22 e7
dec si ; 4e
cmp si, strict byte 0ffffh ; 83 fe ff
- je short 026f8h ; 74 30
+ je short 02772h ; 74 30
mov dx, di ; 89 fa
inc di ; 47
- mov ax, word [bp+00ch] ; 8b 46 0c
- call 02eebh ; e8 1a 08
+ mov ax, word [bp+008h] ; 8b 46 08
+ call 02f77h ; e8 2c 08
mov cl, al ; 88 c1
- test byte [bp-006h], 002h ; f6 46 fa 02
- je short 026e5h ; 74 0c
+ test byte [bp-00ah], 002h ; f6 46 f6 02
+ je short 0275fh ; 74 0c
mov dx, di ; 89 fa
inc di ; 47
- mov ax, word [bp+00ch] ; 8b 46 0c
- call 02eebh ; e8 09 08
- mov byte [bp-002h], al ; 88 46 fe
- movzx bx, byte [bp-002h] ; 0f b6 5e fe
- movzx dx, byte [bp-004h] ; 0f b6 56 fc
+ mov ax, word [bp+008h] ; 8b 46 08
+ call 02f77h ; e8 1b 08
+ mov byte [bp-006h], al ; 88 46 fa
+ movzx bx, byte [bp-006h] ; 0f b6 5e fa
+ movzx dx, byte [bp-008h] ; 0f b6 56 f8
movzx ax, cl ; 0f b6 c1
mov cx, strict word 00003h ; b9 03 00
- call 020f0h ; e8 fa f9
- jmp short 026c2h ; eb ca
- test byte [bp-006h], 001h ; f6 46 fa 01
- jne short 02708h ; 75 0a
- mov dx, word [bp-00ah] ; 8b 56 f6
- movzx ax, byte [bp-004h] ; 0f b6 46 fc
- call 00e42h ; e8 3a e7
- leave ; c9
+ call 02149h ; e8 d9 f9
+ jmp short 0273ch ; eb ca
+ test byte [bp-00ah], 001h ; f6 46 f6 01
+ jne short 02782h ; 75 0a
+ mov dx, word [bp-00eh] ; 8b 56 f2
+ movzx ax, byte [bp-008h] ; 0f b6 46 f8
+ call 00e5eh ; e8 dc e6
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00008h ; c2 08 00
-biosfn_read_state_info_: ; 0xc270e LB 0xfe
+biosfn_read_state_info_: ; 0xc278b LB 0x101
+ push bp ; 55
+ mov bp, sp ; 89 e5
push cx ; 51
push si ; 56
push di ; 57
- push bp ; 55
- mov bp, sp ; 89 e5
push dx ; 52
push bx ; 53
mov cx, ds ; 8c d9
- mov bx, 05582h ; bb 82 55
- mov dx, word [bp-004h] ; 8b 56 fc
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02f35h ; e8 11 08
- mov di, word [bp-004h] ; 8b 7e fc
+ mov bx, 05583h ; bb 83 55
+ mov dx, word [bp-00ah] ; 8b 56 f6
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02fc1h ; e8 20 08
+ mov di, word [bp-00ah] ; 8b 7e f6
add di, strict byte 00004h ; 83 c7 04
mov cx, strict word 0001eh ; b9 1e 00
mov si, strict word 00049h ; be 49 00
mov dx, strict word 00040h ; ba 40 00
- mov es, [bp-002h] ; 8e 46 fe
+ mov es, [bp-008h] ; 8e 46 f8
cld ; fc
- jcxz 0273fh ; e3 06
+ jcxz 027bch ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
- mov di, word [bp-004h] ; 8b 7e fc
+ mov di, word [bp-00ah] ; 8b 7e f6
add di, strict byte 00022h ; 83 c7 22
mov cx, strict word 00003h ; b9 03 00
mov si, 00084h ; be 84 00
mov dx, strict word 00040h ; ba 40 00
- mov es, [bp-002h] ; 8e 46 fe
+ mov es, [bp-008h] ; 8e 46 f8
cld ; fc
- jcxz 0275ah ; e3 06
+ jcxz 027d7h ; e3 06
push DS ; 1e
mov ds, dx ; 8e da
rep movsb ; f3 a4
pop DS ; 1f
mov dx, 0008ah ; ba 8a 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 88 07
+ call 02f77h ; e8 97 07
movzx bx, al ; 0f b6 d8
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 00025h ; 83 c2 25
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 87 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 96 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 00026h ; 83 c2 26
xor bx, bx ; 31 db
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 79 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 88 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 00027h ; 83 c2 27
mov bx, strict word 00010h ; bb 10 00
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 6a 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 79 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 00028h ; 83 c2 28
xor bx, bx ; 31 db
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 5c 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 6b 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 00029h ; 83 c2 29
mov bx, strict word 00008h ; bb 08 00
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 4d 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 5c 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 0002ah ; 83 c2 2a
mov bx, strict word 00002h ; bb 02 00
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 3e 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 4d 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 0002bh ; 83 c2 2b
xor bx, bx ; 31 db
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 30 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 3f 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 0002ch ; 83 c2 2c
xor bx, bx ; 31 db
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 22 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 31 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 00031h ; 83 c2 31
mov bx, strict word 00003h ; bb 03 00
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 13 07
- mov dx, word [bp-004h] ; 8b 56 fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 22 07
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, strict byte 00032h ; 83 c2 32
xor bx, bx ; 31 db
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ef9h ; e8 05 07
- mov di, word [bp-004h] ; 8b 7e fc
+ mov ax, word [bp-008h] ; 8b 46 f8
+ call 02f85h ; e8 14 07
+ mov di, word [bp-00ah] ; 8b 7e f6
add di, strict byte 00033h ; 83 c7 33
mov cx, strict word 0000dh ; b9 0d 00
xor ax, ax ; 31 c0
- mov es, [bp-002h] ; 8e 46 fe
+ mov es, [bp-008h] ; 8e 46 f8
cld ; fc
- jcxz 02807h ; e3 02
+ jcxz 02884h ; e3 02
rep stosb ; f3 aa
- leave ; c9
+ lea sp, [bp-006h] ; 8d 66 fa
pop di ; 5f
pop si ; 5e
pop cx ; 59
+ pop bp ; 5d
retn ; c3
-biosfn_read_video_state_size2_: ; 0xc280c LB 0x23
+biosfn_read_video_state_size2_: ; 0xc288c LB 0x23
push dx ; 52
push bp ; 55
mov bp, sp ; 89 e5
mov dx, ax ; 89 c2
xor ax, ax ; 31 c0
test dl, 001h ; f6 c2 01
- je short 0281ch ; 74 03
+ je short 0289ch ; 74 03
mov ax, strict word 00046h ; b8 46 00
test dl, 002h ; f6 c2 02
- je short 02824h ; 74 03
+ je short 028a4h ; 74 03
add ax, strict word 0002ah ; 05 2a 00
test dl, 004h ; f6 c2 04
- je short 0282ch ; 74 03
+ je short 028ach ; 74 03
add ax, 00304h ; 05 04 03
pop bp ; 5d
pop dx ; 5a
retn ; c3
-vga_get_video_state_size_: ; 0xc282f LB 0xf
- push bx ; 53
+vga_get_video_state_size_: ; 0xc28af LB 0x12
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
mov bx, dx ; 89 d3
- call 0280ch ; e8 d4 ff
+ call 0288ch ; e8 d4 ff
mov word [ss:bx], ax ; 36 89 07
- pop bp ; 5d
+ lea sp, [bp-002h] ; 8d 66 fe
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-biosfn_save_video_state_: ; 0xc283e LB 0x365
+biosfn_save_video_state_: ; 0xc28c1 LB 0x369
+ push bp ; 55
+ mov bp, sp ; 89 e5
push cx ; 51
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
+ push ax ; 50
+ push ax ; 50
push ax ; 50
mov si, dx ; 89 d6
mov cx, bx ; 89 d9
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 b4 06
+ call 02f93h ; e8 bc 06
mov di, ax ; 89 c7
- test byte [bp-006h], 001h ; f6 46 fa 01
- je near 029c0h ; 0f 84 63 01
+ test byte [bp-00ch], 001h ; f6 46 f4 01
+ je near 02a44h ; 0f 84 63 01
mov dx, 003c4h ; ba c4 03
in AL, DX ; ec
db 02ah, 0e4h
@@ -4665,7 +4761,7 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 8c 06
+ call 02f85h ; e8 94 06
inc cx ; 41
mov dx, di ; 89 fa
in AL, DX ; ec
@@ -4674,7 +4770,7 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 7c 06
+ call 02f85h ; e8 84 06
inc cx ; 41
mov dx, 003ceh ; ba ce 03
in AL, DX ; ec
@@ -4683,7 +4779,7 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 6b 06
+ call 02f85h ; e8 73 06
inc cx ; 41
mov dx, 003dah ; ba da 03
in AL, DX ; ec
@@ -4693,11 +4789,11 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- mov word [bp-002h], ax ; 89 46 fe
- movzx bx, byte [bp-002h] ; 0f b6 5e fe
+ mov word [bp-008h], ax ; 89 46 f8
+ movzx bx, byte [bp-008h] ; 0f b6 5e f8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 50 06
+ call 02f85h ; e8 58 06
inc cx ; 41
mov dx, 003cah ; ba ca 03
in AL, DX ; ec
@@ -4706,14 +4802,14 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 3f 06
+ call 02f85h ; e8 47 06
mov ax, strict word 00001h ; b8 01 00
- mov word [bp-004h], ax ; 89 46 fc
+ mov word [bp-00ah], ax ; 89 46 f6
add cx, ax ; 01 c1
- jmp short 028cah ; eb 06
- cmp word [bp-004h], strict byte 00004h ; 83 7e fc 04
- jnbe short 028e7h ; 77 1d
- mov al, byte [bp-004h] ; 8a 46 fc
+ jmp short 0294eh ; eb 06
+ cmp word [bp-00ah], strict byte 00004h ; 83 7e f6 04
+ jnbe short 0296bh ; 77 1d
+ mov al, byte [bp-00ah] ; 8a 46 f6
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
mov dx, 003c5h ; ba c5 03
@@ -4723,10 +4819,10 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 18 06
+ call 02f85h ; e8 20 06
inc cx ; 41
- inc word [bp-004h] ; ff 46 fc
- jmp short 028c4h ; eb dd
+ inc word [bp-00ah] ; ff 46 f6
+ jmp short 02948h ; eb dd
xor al, al ; 30 c0
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
@@ -4737,13 +4833,13 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 fc 05
- mov word [bp-004h], strict word 00000h ; c7 46 fc 00 00
+ call 02f85h ; e8 04 06
+ mov word [bp-00ah], strict word 00000h ; c7 46 f6 00 00
inc cx ; 41
- jmp short 0290bh ; eb 06
- cmp word [bp-004h], strict byte 00018h ; 83 7e fc 18
- jnbe short 02927h ; 77 1c
- mov al, byte [bp-004h] ; 8a 46 fc
+ jmp short 0298fh ; eb 06
+ cmp word [bp-00ah], strict byte 00018h ; 83 7e f6 18
+ jnbe short 029abh ; 77 1c
+ mov al, byte [bp-00ah] ; 8a 46 f6
mov dx, di ; 89 fa
out DX, AL ; ee
lea dx, [di+001h] ; 8d 55 01
@@ -4753,21 +4849,21 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 d8 05
+ call 02f85h ; e8 e0 05
inc cx ; 41
- inc word [bp-004h] ; ff 46 fc
- jmp short 02905h ; eb de
- mov word [bp-004h], strict word 00000h ; c7 46 fc 00 00
- jmp short 02934h ; eb 06
- cmp word [bp-004h], strict byte 00013h ; 83 7e fc 13
- jnbe short 0295dh ; 77 29
+ inc word [bp-00ah] ; ff 46 f6
+ jmp short 02989h ; eb de
+ mov word [bp-00ah], strict word 00000h ; c7 46 f6 00 00
+ jmp short 029b8h ; eb 06
+ cmp word [bp-00ah], strict byte 00013h ; 83 7e f6 13
+ jnbe short 029e1h ; 77 29
mov dx, 003dah ; ba da 03
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- mov ax, word [bp-002h] ; 8b 46 fe
+ mov ax, word [bp-008h] ; 8b 46 f8
and ax, strict word 00020h ; 25 20 00
- or ax, word [bp-004h] ; 0b 46 fc
+ or ax, word [bp-00ah] ; 0b 46 f6
mov dx, 003c0h ; ba c0 03
out DX, AL ; ee
mov dx, 003c1h ; ba c1 03
@@ -4777,19 +4873,19 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 a2 05
+ call 02f85h ; e8 aa 05
inc cx ; 41
- inc word [bp-004h] ; ff 46 fc
- jmp short 0292eh ; eb d1
+ inc word [bp-00ah] ; ff 46 f6
+ jmp short 029b2h ; eb d1
mov dx, 003dah ; ba da 03
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- mov word [bp-004h], strict word 00000h ; c7 46 fc 00 00
- jmp short 02970h ; eb 06
- cmp word [bp-004h], strict byte 00008h ; 83 7e fc 08
- jnbe short 0298dh ; 77 1d
- mov al, byte [bp-004h] ; 8a 46 fc
+ mov word [bp-00ah], strict word 00000h ; c7 46 f6 00 00
+ jmp short 029f4h ; eb 06
+ cmp word [bp-00ah], strict byte 00008h ; 83 7e f6 08
+ jnbe short 02a11h ; 77 1d
+ mov al, byte [bp-00ah] ; 8a 46 f6
mov dx, 003ceh ; ba ce 03
out DX, AL ; ee
mov dx, 003cfh ; ba cf 03
@@ -4799,195 +4895,195 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 72 05
+ call 02f85h ; e8 7a 05
inc cx ; 41
- inc word [bp-004h] ; ff 46 fc
- jmp short 0296ah ; eb dd
+ inc word [bp-00ah] ; ff 46 f6
+ jmp short 029eeh ; eb dd
mov bx, di ; 89 fb
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 7f 05
+ call 02fa1h ; e8 87 05
inc cx ; 41
inc cx ; 41
xor bx, bx ; 31 db
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 58 05
+ call 02f85h ; e8 60 05
inc cx ; 41
xor bx, bx ; 31 db
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 4e 05
+ call 02f85h ; e8 56 05
inc cx ; 41
xor bx, bx ; 31 db
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 44 05
+ call 02f85h ; e8 4c 05
inc cx ; 41
xor bx, bx ; 31 db
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 3a 05
+ call 02f85h ; e8 42 05
inc cx ; 41
- test byte [bp-006h], 002h ; f6 46 fa 02
- je near 02b2fh ; 0f 84 67 01
+ test byte [bp-00ch], 002h ; f6 46 f4 02
+ je near 02bb3h ; 0f 84 67 01
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 1a 05
+ call 02f77h ; e8 22 05
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 1e 05
+ call 02f85h ; e8 26 05
inc cx ; 41
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 22 05
+ call 02f93h ; e8 2a 05
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 27 05
+ call 02fa1h ; e8 2f 05
inc cx ; 41
inc cx ; 41
mov dx, strict word 0004ch ; ba 4c 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 0e 05
+ call 02f93h ; e8 16 05
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 13 05
+ call 02fa1h ; e8 1b 05
inc cx ; 41
inc cx ; 41
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 fa 04
+ call 02f93h ; e8 02 05
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 ff 04
+ call 02fa1h ; e8 07 05
inc cx ; 41
inc cx ; 41
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 ca 04
+ call 02f77h ; e8 d2 04
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 ce 04
+ call 02f85h ; e8 d6 04
inc cx ; 41
mov dx, 00085h ; ba 85 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 d2 04
+ call 02f93h ; e8 da 04
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 d7 04
+ call 02fa1h ; e8 df 04
inc cx ; 41
inc cx ; 41
mov dx, 00087h ; ba 87 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 a2 04
+ call 02f77h ; e8 aa 04
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 a6 04
+ call 02f85h ; e8 ae 04
inc cx ; 41
mov dx, 00088h ; ba 88 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 8e 04
+ call 02f77h ; e8 96 04
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 92 04
+ call 02f85h ; e8 9a 04
inc cx ; 41
mov dx, 00089h ; ba 89 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 7a 04
+ call 02f77h ; e8 82 04
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 7e 04
+ call 02f85h ; e8 86 04
inc cx ; 41
mov dx, strict word 00060h ; ba 60 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 82 04
+ call 02f93h ; e8 8a 04
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 87 04
- mov word [bp-004h], strict word 00000h ; c7 46 fc 00 00
+ call 02fa1h ; e8 8f 04
+ mov word [bp-00ah], strict word 00000h ; c7 46 f6 00 00
inc cx ; 41
inc cx ; 41
- jmp short 02a9dh ; eb 06
- cmp word [bp-004h], strict byte 00008h ; 83 7e fc 08
- jnc short 02abbh ; 73 1e
- mov dx, word [bp-004h] ; 8b 56 fc
+ jmp short 02b21h ; eb 06
+ cmp word [bp-00ah], strict byte 00008h ; 83 7e f6 08
+ jnc short 02b3fh ; 73 1e
+ mov dx, word [bp-00ah] ; 8b 56 f6
add dx, dx ; 01 d2
add dx, strict byte 00050h ; 83 c2 50
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 5c 04
+ call 02f93h ; e8 64 04
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 61 04
+ call 02fa1h ; e8 69 04
inc cx ; 41
inc cx ; 41
- inc word [bp-004h] ; ff 46 fc
- jmp short 02a97h ; eb dc
+ inc word [bp-00ah] ; ff 46 f6
+ jmp short 02b1bh ; eb dc
mov dx, strict word 0004eh ; ba 4e 00
mov ax, strict word 00040h ; b8 40 00
- call 02f07h ; e8 43 04
+ call 02f93h ; e8 4b 04
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 48 04
+ call 02fa1h ; e8 50 04
inc cx ; 41
inc cx ; 41
mov dx, strict word 00062h ; ba 62 00
mov ax, strict word 00040h ; b8 40 00
- call 02eebh ; e8 13 04
+ call 02f77h ; e8 1b 04
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 17 04
+ call 02f85h ; e8 1f 04
inc cx ; 41
mov dx, strict word 0007ch ; ba 7c 00
xor ax, ax ; 31 c0
- call 02f07h ; e8 1c 04
+ call 02f93h ; e8 24 04
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 21 04
+ call 02fa1h ; e8 29 04
inc cx ; 41
inc cx ; 41
mov dx, strict word 0007eh ; ba 7e 00
xor ax, ax ; 31 c0
- call 02f07h ; e8 09 04
+ call 02f93h ; e8 11 04
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 0e 04
+ call 02fa1h ; e8 16 04
inc cx ; 41
inc cx ; 41
mov dx, 0010ch ; ba 0c 01
xor ax, ax ; 31 c0
- call 02f07h ; e8 f6 03
+ call 02f93h ; e8 fe 03
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 fb 03
+ call 02fa1h ; e8 03 04
inc cx ; 41
inc cx ; 41
mov dx, 0010eh ; ba 0e 01
xor ax, ax ; 31 c0
- call 02f07h ; e8 e3 03
+ call 02f93h ; e8 eb 03
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f15h ; e8 e8 03
+ call 02fa1h ; e8 f0 03
inc cx ; 41
inc cx ; 41
- test byte [bp-006h], 004h ; f6 46 fa 04
- je short 02b9ch ; 74 67
+ test byte [bp-00ch], 004h ; f6 46 f4 04
+ je short 02c20h ; 74 67
mov dx, 003c7h ; ba c7 03
in AL, DX ; ec
db 02ah, 0e4h
@@ -4995,7 +5091,7 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 b4 03
+ call 02f85h ; e8 bc 03
inc cx ; 41
mov dx, 003c8h ; ba c8 03
in AL, DX ; ec
@@ -5004,7 +5100,7 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 a3 03
+ call 02f85h ; e8 ab 03
inc cx ; 41
mov dx, 003c6h ; ba c6 03
in AL, DX ; ec
@@ -5013,16 +5109,16 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 92 03
+ call 02f85h ; e8 9a 03
inc cx ; 41
xor al, al ; 30 c0
mov dx, 003c8h ; ba c8 03
out DX, AL ; ee
xor ah, ah ; 30 e4
- mov word [bp-004h], ax ; 89 46 fc
- jmp short 02b7ch ; eb 07
- cmp word [bp-004h], 00300h ; 81 7e fc 00 03
- jnc short 02b92h ; 73 16
+ mov word [bp-00ah], ax ; 89 46 f6
+ jmp short 02c00h ; eb 07
+ cmp word [bp-00ah], 00300h ; 81 7e f6 00 03
+ jnc short 02c16h ; 73 16
mov dx, 003c9h ; ba c9 03
in AL, DX ; ec
db 02ah, 0e4h
@@ -5030,94 +5126,97 @@ biosfn_save_video_state_: ; 0xc283e LB 0x365
movzx bx, al ; 0f b6 d8
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 6d 03
+ call 02f85h ; e8 75 03
inc cx ; 41
- inc word [bp-004h] ; ff 46 fc
- jmp short 02b75h ; eb e3
+ inc word [bp-00ah] ; ff 46 f6
+ jmp short 02bf9h ; eb e3
xor bx, bx ; 31 db
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 5e 03
+ call 02f85h ; e8 66 03
inc cx ; 41
mov ax, cx ; 89 c8
- leave ; c9
+ lea sp, [bp-006h] ; 8d 66 fa
pop di ; 5f
pop si ; 5e
pop cx ; 59
+ pop bp ; 5d
retn ; c3
-biosfn_restore_video_state_: ; 0xc2ba3 LB 0x321
+biosfn_restore_video_state_: ; 0xc2c2a LB 0x326
+ push bp ; 55
+ mov bp, sp ; 89 e5
push cx ; 51
push si ; 56
push di ; 57
- enter 00006h, 000h ; c8 06 00 00
+ sub sp, strict byte 00006h ; 83 ec 06
push ax ; 50
mov si, dx ; 89 d6
mov cx, bx ; 89 d9
- test byte [bp-008h], 001h ; f6 46 f8 01
- je near 02d01h ; 0f 84 4a 01
+ test byte [bp-00eh], 001h ; f6 46 f2 01
+ je near 02d8ah ; 0f 84 4a 01
mov dx, 003dah ; ba da 03
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
lea dx, [bx+040h] ; 8d 57 40
mov ax, si ; 89 f0
- call 02f07h ; e8 42 03
+ call 02f93h ; e8 45 03
mov di, ax ; 89 c7
- mov word [bp-002h], strict word 00001h ; c7 46 fe 01 00
+ mov word [bp-008h], strict word 00001h ; c7 46 f8 01 00
lea cx, [bx+005h] ; 8d 4f 05
- jmp short 02bd7h ; eb 06
- cmp word [bp-002h], strict byte 00004h ; 83 7e fe 04
- jnbe short 02befh ; 77 18
- mov al, byte [bp-002h] ; 8a 46 fe
+ jmp short 02c60h ; eb 06
+ cmp word [bp-008h], strict byte 00004h ; 83 7e f8 04
+ jnbe short 02c78h ; 77 18
+ mov al, byte [bp-008h] ; 8a 46 f8
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 06 03
+ call 02f77h ; e8 09 03
mov dx, 003c5h ; ba c5 03
out DX, AL ; ee
inc cx ; 41
- inc word [bp-002h] ; ff 46 fe
- jmp short 02bd1h ; eb e2
+ inc word [bp-008h] ; ff 46 f8
+ jmp short 02c5ah ; eb e2
xor al, al ; 30 c0
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 ef 02
+ call 02f77h ; e8 f2 02
mov dx, 003c5h ; ba c5 03
out DX, AL ; ee
inc cx ; 41
mov ax, strict word 00011h ; b8 11 00
mov dx, di ; 89 fa
out DX, ax ; ef
- mov word [bp-002h], strict word 00000h ; c7 46 fe 00 00
- jmp short 02c14h ; eb 06
- cmp word [bp-002h], strict byte 00018h ; 83 7e fe 18
- jnbe short 02c31h ; 77 1d
- cmp word [bp-002h], strict byte 00011h ; 83 7e fe 11
- je short 02c2bh ; 74 11
- mov al, byte [bp-002h] ; 8a 46 fe
+ mov word [bp-008h], strict word 00000h ; c7 46 f8 00 00
+ jmp short 02c9dh ; eb 06
+ cmp word [bp-008h], strict byte 00018h ; 83 7e f8 18
+ jnbe short 02cbah ; 77 1d
+ cmp word [bp-008h], strict byte 00011h ; 83 7e f8 11
+ je short 02cb4h ; 74 11
+ mov al, byte [bp-008h] ; 8a 46 f8
mov dx, di ; 89 fa
out DX, AL ; ee
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 c4 02
+ call 02f77h ; e8 c7 02
lea dx, [di+001h] ; 8d 55 01
out DX, AL ; ee
inc cx ; 41
- inc word [bp-002h] ; ff 46 fe
- jmp short 02c0eh ; eb dd
+ inc word [bp-008h] ; ff 46 f8
+ jmp short 02c97h ; eb dd
mov dx, 003cch ; ba cc 03
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
and AL, strict byte 0feh ; 24 fe
- mov word [bp-004h], ax ; 89 46 fc
+ mov word [bp-00ah], ax ; 89 46 f6
cmp di, 003d4h ; 81 ff d4 03
- jne short 02c46h ; 75 04
- or byte [bp-004h], 001h ; 80 4e fc 01
- mov al, byte [bp-004h] ; 8a 46 fc
+ jne short 02ccfh ; 75 04
+ or byte [bp-00ah], 001h ; 80 4e f6 01
+ mov al, byte [bp-00ah] ; 8a 46 f6
mov dx, 003c2h ; ba c2 03
out DX, AL ; ee
mov AL, strict byte 011h ; b0 11
@@ -5126,249 +5225,249 @@ biosfn_restore_video_state_: ; 0xc2ba3 LB 0x321
mov dx, cx ; 89 ca
add dx, strict byte 0fff9h ; 83 c2 f9
mov ax, si ; 89 f0
- call 02eebh ; e8 8f 02
+ call 02f77h ; e8 92 02
lea dx, [di+001h] ; 8d 55 01
out DX, AL ; ee
lea dx, [bx+003h] ; 8d 57 03
mov ax, si ; 89 f0
- call 02eebh ; e8 83 02
+ call 02f77h ; e8 86 02
xor ah, ah ; 30 e4
- mov word [bp-006h], ax ; 89 46 fa
+ mov word [bp-00ch], ax ; 89 46 f4
mov dx, 003dah ; ba da 03
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- mov word [bp-002h], strict word 00000h ; c7 46 fe 00 00
- jmp short 02c80h ; eb 06
- cmp word [bp-002h], strict byte 00013h ; 83 7e fe 13
- jnbe short 02c9eh ; 77 1e
- mov ax, word [bp-006h] ; 8b 46 fa
+ mov word [bp-008h], strict word 00000h ; c7 46 f8 00 00
+ jmp short 02d09h ; eb 06
+ cmp word [bp-008h], strict byte 00013h ; 83 7e f8 13
+ jnbe short 02d27h ; 77 1e
+ mov ax, word [bp-00ch] ; 8b 46 f4
and ax, strict word 00020h ; 25 20 00
- or ax, word [bp-002h] ; 0b 46 fe
+ or ax, word [bp-008h] ; 0b 46 f8
mov dx, 003c0h ; ba c0 03
out DX, AL ; ee
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 57 02
+ call 02f77h ; e8 5a 02
mov dx, 003c0h ; ba c0 03
out DX, AL ; ee
inc cx ; 41
- inc word [bp-002h] ; ff 46 fe
- jmp short 02c7ah ; eb dc
- mov al, byte [bp-006h] ; 8a 46 fa
+ inc word [bp-008h] ; ff 46 f8
+ jmp short 02d03h ; eb dc
+ mov al, byte [bp-00ch] ; 8a 46 f4
mov dx, 003c0h ; ba c0 03
out DX, AL ; ee
mov dx, 003dah ; ba da 03
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- mov word [bp-002h], strict word 00000h ; c7 46 fe 00 00
- jmp short 02cb8h ; eb 06
- cmp word [bp-002h], strict byte 00008h ; 83 7e fe 08
- jnbe short 02cd0h ; 77 18
- mov al, byte [bp-002h] ; 8a 46 fe
+ mov word [bp-008h], strict word 00000h ; c7 46 f8 00 00
+ jmp short 02d41h ; eb 06
+ cmp word [bp-008h], strict byte 00008h ; 83 7e f8 08
+ jnbe short 02d59h ; 77 18
+ mov al, byte [bp-008h] ; 8a 46 f8
mov dx, 003ceh ; ba ce 03
out DX, AL ; ee
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 25 02
+ call 02f77h ; e8 28 02
mov dx, 003cfh ; ba cf 03
out DX, AL ; ee
inc cx ; 41
- inc word [bp-002h] ; ff 46 fe
- jmp short 02cb2h ; eb e2
+ inc word [bp-008h] ; ff 46 f8
+ jmp short 02d3bh ; eb e2
add cx, strict byte 00006h ; 83 c1 06
mov dx, bx ; 89 da
mov ax, si ; 89 f0
- call 02eebh ; e8 11 02
+ call 02f77h ; e8 14 02
mov dx, 003c4h ; ba c4 03
out DX, AL ; ee
inc bx ; 43
mov dx, bx ; 89 da
mov ax, si ; 89 f0
- call 02eebh ; e8 05 02
+ call 02f77h ; e8 08 02
mov dx, di ; 89 fa
out DX, AL ; ee
inc bx ; 43
mov dx, bx ; 89 da
mov ax, si ; 89 f0
- call 02eebh ; e8 fa 01
+ call 02f77h ; e8 fd 01
mov dx, 003ceh ; ba ce 03
out DX, AL ; ee
lea dx, [bx+002h] ; 8d 57 02
mov ax, si ; 89 f0
- call 02eebh ; e8 ee 01
+ call 02f77h ; e8 f1 01
lea dx, [di+006h] ; 8d 55 06
out DX, AL ; ee
- test byte [bp-008h], 002h ; f6 46 f8 02
- je near 02e70h ; 0f 84 67 01
+ test byte [bp-00eh], 002h ; f6 46 f2 02
+ je near 02ef9h ; 0f 84 67 01
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 db 01
+ call 02f77h ; e8 de 01
movzx bx, al ; 0f b6 d8
mov dx, strict word 00049h ; ba 49 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 dd 01
+ call 02f85h ; e8 e0 01
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 e3 01
+ call 02f93h ; e8 e6 01
mov bx, ax ; 89 c3
mov dx, strict word 0004ah ; ba 4a 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 e6 01
+ call 02fa1h ; e8 e9 01
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 cf 01
+ call 02f93h ; e8 d2 01
mov bx, ax ; 89 c3
mov dx, strict word 0004ch ; ba 4c 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 d2 01
+ call 02fa1h ; e8 d5 01
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 bb 01
+ call 02f93h ; e8 be 01
mov bx, ax ; 89 c3
mov dx, strict word 00063h ; ba 63 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 be 01
+ call 02fa1h ; e8 c1 01
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 8b 01
+ call 02f77h ; e8 8e 01
movzx bx, al ; 0f b6 d8
mov dx, 00084h ; ba 84 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 8d 01
+ call 02f85h ; e8 90 01
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 93 01
+ call 02f93h ; e8 96 01
mov bx, ax ; 89 c3
mov dx, 00085h ; ba 85 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 96 01
+ call 02fa1h ; e8 99 01
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 63 01
+ call 02f77h ; e8 66 01
movzx bx, al ; 0f b6 d8
mov dx, 00087h ; ba 87 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 65 01
+ call 02f85h ; e8 68 01
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 4f 01
+ call 02f77h ; e8 52 01
movzx bx, al ; 0f b6 d8
mov dx, 00088h ; ba 88 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 51 01
+ call 02f85h ; e8 54 01
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 3b 01
+ call 02f77h ; e8 3e 01
movzx bx, al ; 0f b6 d8
mov dx, 00089h ; ba 89 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 3d 01
+ call 02f85h ; e8 40 01
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 43 01
+ call 02f93h ; e8 46 01
mov bx, ax ; 89 c3
mov dx, strict word 00060h ; ba 60 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 46 01
- mov word [bp-002h], strict word 00000h ; c7 46 fe 00 00
+ call 02fa1h ; e8 49 01
+ mov word [bp-008h], strict word 00000h ; c7 46 f8 00 00
inc cx ; 41
inc cx ; 41
- jmp short 02ddeh ; eb 06
- cmp word [bp-002h], strict byte 00008h ; 83 7e fe 08
- jnc short 02dfch ; 73 1e
+ jmp short 02e67h ; eb 06
+ cmp word [bp-008h], strict byte 00008h ; 83 7e f8 08
+ jnc short 02e85h ; 73 1e
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 22 01
+ call 02f93h ; e8 25 01
mov bx, ax ; 89 c3
- mov dx, word [bp-002h] ; 8b 56 fe
+ mov dx, word [bp-008h] ; 8b 56 f8
add dx, dx ; 01 d2
add dx, strict byte 00050h ; 83 c2 50
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 20 01
+ call 02fa1h ; e8 23 01
inc cx ; 41
inc cx ; 41
- inc word [bp-002h] ; ff 46 fe
- jmp short 02dd8h ; eb dc
+ inc word [bp-008h] ; ff 46 f8
+ jmp short 02e61h ; eb dc
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 04 01
+ call 02f93h ; e8 07 01
mov bx, ax ; 89 c3
mov dx, strict word 0004eh ; ba 4e 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 07 01
+ call 02fa1h ; e8 0a 01
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 d4 00
+ call 02f77h ; e8 d7 00
movzx bx, al ; 0f b6 d8
mov dx, strict word 00062h ; ba 62 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 d6 00
+ call 02f85h ; e8 d9 00
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 dc 00
+ call 02f93h ; e8 df 00
mov bx, ax ; 89 c3
mov dx, strict word 0007ch ; ba 7c 00
xor ax, ax ; 31 c0
- call 02f15h ; e8 e0 00
+ call 02fa1h ; e8 e3 00
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 c9 00
+ call 02f93h ; e8 cc 00
mov bx, ax ; 89 c3
mov dx, strict word 0007eh ; ba 7e 00
xor ax, ax ; 31 c0
- call 02f15h ; e8 cd 00
+ call 02fa1h ; e8 d0 00
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 b6 00
+ call 02f93h ; e8 b9 00
mov bx, ax ; 89 c3
mov dx, 0010ch ; ba 0c 01
xor ax, ax ; 31 c0
- call 02f15h ; e8 ba 00
+ call 02fa1h ; e8 bd 00
inc cx ; 41
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02f07h ; e8 a3 00
+ call 02f93h ; e8 a6 00
mov bx, ax ; 89 c3
mov dx, 0010eh ; ba 0e 01
xor ax, ax ; 31 c0
- call 02f15h ; e8 a7 00
+ call 02fa1h ; e8 aa 00
inc cx ; 41
inc cx ; 41
- test byte [bp-008h], 004h ; f6 46 f8 04
- je short 02ebdh ; 74 47
+ test byte [bp-00eh], 004h ; f6 46 f2 04
+ je short 02f46h ; 74 47
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 6d 00
+ call 02f77h ; e8 70 00
xor ah, ah ; 30 e4
- mov word [bp-004h], ax ; 89 46 fc
+ mov word [bp-00ah], ax ; 89 46 f6
inc cx ; 41
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 60 00
+ call 02f77h ; e8 63 00
mov dx, 003c6h ; ba c6 03
out DX, AL ; ee
inc cx ; 41
@@ -5376,29 +5475,30 @@ biosfn_restore_video_state_: ; 0xc2ba3 LB 0x321
mov dx, 003c8h ; ba c8 03
out DX, AL ; ee
xor ah, ah ; 30 e4
- mov word [bp-002h], ax ; 89 46 fe
- jmp short 02ea4h ; eb 07
- cmp word [bp-002h], 00300h ; 81 7e fe 00 03
- jnc short 02eb5h ; 73 11
+ mov word [bp-008h], ax ; 89 46 f8
+ jmp short 02f2dh ; eb 07
+ cmp word [bp-008h], 00300h ; 81 7e f8 00 03
+ jnc short 02f3eh ; 73 11
mov dx, cx ; 89 ca
mov ax, si ; 89 f0
- call 02eebh ; e8 40 00
+ call 02f77h ; e8 43 00
mov dx, 003c9h ; ba c9 03
out DX, AL ; ee
inc cx ; 41
- inc word [bp-002h] ; ff 46 fe
- jmp short 02e9dh ; eb e8
+ inc word [bp-008h] ; ff 46 f8
+ jmp short 02f26h ; eb e8
inc cx ; 41
- mov al, byte [bp-004h] ; 8a 46 fc
+ mov al, byte [bp-00ah] ; 8a 46 f6
mov dx, 003c8h ; ba c8 03
out DX, AL ; ee
mov ax, cx ; 89 c8
- leave ; c9
+ lea sp, [bp-006h] ; 8d 66 fa
pop di ; 5f
pop si ; 5e
pop cx ; 59
+ pop bp ; 5d
retn ; c3
-find_vga_entry_: ; 0xc2ec4 LB 0x27
+find_vga_entry_: ; 0xc2f50 LB 0x27
push bx ; 53
push dx ; 52
push bp ; 55
@@ -5406,22 +5506,22 @@ find_vga_entry_: ; 0xc2ec4 LB 0x27
mov dl, al ; 88 c2
mov AH, strict byte 0ffh ; b4 ff
xor al, al ; 30 c0
- jmp short 02ed7h ; eb 06
+ jmp short 02f63h ; eb 06
db 0feh, 0c0h
; inc al ; fe c0
cmp AL, strict byte 00fh ; 3c 0f
- jnbe short 02ee5h ; 77 0e
+ jnbe short 02f71h ; 77 0e
movzx bx, al ; 0f b6 d8
sal bx, 003h ; c1 e3 03
- cmp dl, byte [bx+0482eh] ; 3a 97 2e 48
- jne short 02ed1h ; 75 ee
+ cmp dl, byte [bx+0482fh] ; 3a 97 2f 48
+ jne short 02f5dh ; 75 ee
mov ah, al ; 88 c4
mov al, ah ; 88 e0
pop bp ; 5d
pop dx ; 5a
pop bx ; 5b
retn ; c3
-read_byte_: ; 0xc2eeb LB 0xe
+read_byte_: ; 0xc2f77 LB 0xe
push bx ; 53
push bp ; 55
mov bp, sp ; 89 e5
@@ -5431,7 +5531,7 @@ read_byte_: ; 0xc2eeb LB 0xe
pop bp ; 5d
pop bx ; 5b
retn ; c3
-write_byte_: ; 0xc2ef9 LB 0xe
+write_byte_: ; 0xc2f85 LB 0xe
push si ; 56
push bp ; 55
mov bp, sp ; 89 e5
@@ -5441,7 +5541,7 @@ write_byte_: ; 0xc2ef9 LB 0xe
pop bp ; 5d
pop si ; 5e
retn ; c3
-read_word_: ; 0xc2f07 LB 0xe
+read_word_: ; 0xc2f93 LB 0xe
push bx ; 53
push bp ; 55
mov bp, sp ; 89 e5
@@ -5451,7 +5551,7 @@ read_word_: ; 0xc2f07 LB 0xe
pop bp ; 5d
pop bx ; 5b
retn ; c3
-write_word_: ; 0xc2f15 LB 0xe
+write_word_: ; 0xc2fa1 LB 0xe
push si ; 56
push bp ; 55
mov bp, sp ; 89 e5
@@ -5461,7 +5561,7 @@ write_word_: ; 0xc2f15 LB 0xe
pop bp ; 5d
pop si ; 5e
retn ; c3
-read_dword_: ; 0xc2f23 LB 0x12
+read_dword_: ; 0xc2faf LB 0x12
push bx ; 53
push bp ; 55
mov bp, sp ; 89 e5
@@ -5472,7 +5572,7 @@ read_dword_: ; 0xc2f23 LB 0x12
pop bp ; 5d
pop bx ; 5b
retn ; c3
-write_dword_: ; 0xc2f35 LB 0x7f
+write_dword_: ; 0xc2fc1 LB 0x7f
push si ; 56
push bp ; 55
mov bp, sp ; 89 e5
@@ -5494,416 +5594,418 @@ write_dword_: ; 0xc2f35 LB 0x7f
push ES ; 06
add ax, 00304h ; 05 04 03
add al, byte [bx+di] ; 02 01
- add byte [bx+033h], dh ; 00 77 33
- loop 02f8fh ; e2 2f
- and byte [bx+si], dh ; 20 30
- xor AL, strict byte 030h ; 34 30
- inc bp ; 45
- xor byte [bx+di+030h], bl ; 30 59 30
- push strict byte 00030h ; 6a 30
- je short 02f9ch ; 74 30
- scasb ; ae
- xor byte [bp+si-03cd0h], dh ; 30 b2 30 c3
- xor al, ah ; 30 e0
- xor ch, bh ; 30 fd
- xor byte [di], bl ; 30 1d
+ add byte [bp+di], al ; 00 03
+ xor AL, strict byte 06eh ; 34 6e
+ xor byte [si-03fd0h], ch ; 30 ac 30 c0
+ xor cl, dl ; 30 d1
+ xor ch, ah ; 30 e5
+ xor dh, dh ; 30 f6
+ xor byte [bx+si], al ; 30 00
xor word [bp+si], di ; 31 3a
- xor word [bx+di+031h], dx ; 31 51 31
- pop bp ; 5d
- xor word [bx+si], di ; 31 38
- xor dh, byte [bp+di+032h] ; 32 73 32
- mov word [0b832h], ax ; a3 32 b8
- db 032h, 0fah
- ; xor bh, dl ; 32 fa
- xor dh, byte [bx+si] ; 32 30
- and AL, strict byte 023h ; 24 23
- and ah, byte [bx+di] ; 22 21
- and byte [si], dl ; 20 14
- adc dl, byte [bx+di] ; 12 11
- adc byte [si], al ; 10 04
- add al, byte [bx+di] ; 02 01
- add byte [bx+033h], dh ; 00 77 33
- jle short 02fcbh ; 7e 31
- movsb ; a4
- xor word [di-039cfh], si ; 31 b5 31 c6
- xor word [bp+031h], di ; 31 7e 31
- movsb ; a4
- xor word [di-039cfh], si ; 31 b5 31 c6
- xor di, dx ; 31 d7
- xor bx, sp ; 31 e3
- xor si, di ; 31 fe
- xor word [bx+di], cx ; 31 09
- xor dl, byte [si] ; 32 14
- xor bl, byte [bx] ; 32 1f
+ xor word [04f31h], di ; 31 3e 31 4f
+ xor word [si+031h], bp ; 31 6c 31
+ mov word [bx+di], si ; 89 31
+ test ax, 0c631h ; a9 31 c6
+ xor bp, bx ; 31 dd
+ xor cx, bp ; 31 e9
+ xor sp, ax ; 31 c4
+ db 032h, 0ffh
+ ; xor bh, bh ; 32 ff
+ xor ch, byte [bx] ; 32 2f
+ xor ax, word [si+033h] ; 33 44 33
+ xchg byte [bp+di], dh ; 86 33
+ xor byte [si], ah ; 30 24
+ and sp, word [bp+si] ; 23 22
+ and word [bx+si], sp ; 21 20
+ adc AL, strict byte 012h ; 14 12
+ adc word [bx+si], dx ; 11 10
+ add AL, strict byte 002h ; 04 02
+ add word [bx+si], ax ; 01 00
+ add si, word [si] ; 03 34
+ or dh, byte [bp+si] ; 0a 32
+ xor byte [bp+si], dh ; 30 32
+ inc cx ; 41
+ xor dl, byte [bp+si+032h] ; 32 52 32
+ or dh, byte [bp+si] ; 0a 32
+ xor byte [bp+si], dh ; 30 32
+ inc cx ; 41
+ xor dl, byte [bp+si+032h] ; 32 52 32
+ arpl word [bp+si], si ; 63 32
+ outsw ; 6f
+ xor cl, byte [bp+si-06aceh] ; 32 8a 32 95
+ xor ah, byte [bx+si-054ceh] ; 32 a0 32 ab
db 032h
-_int10_func: ; 0xc2fb4 LB 0x3c7
+_int10_func: ; 0xc3040 LB 0x3ca
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00002h, 000h ; c8 02 00 00
- mov si, word [bp+008h] ; 8b 76 08
- mov ax, word [bp+016h] ; 8b 46 16
+ push ax ; 50
+ mov si, word [bp+004h] ; 8b 76 04
+ mov ax, word [bp+012h] ; 8b 46 12
shr ax, 008h ; c1 e8 08
cmp ax, strict word 0004fh ; 3d 4f 00
- jnbe near 03377h ; 0f 87 ad 03
+ jnbe near 03403h ; 0f 87 ad 03
push CS ; 0e
pop ES ; 07
mov cx, strict word 00016h ; b9 16 00
- mov di, 02f47h ; bf 47 2f
+ mov di, 02fd3h ; bf d3 2f
repne scasb ; f2 ae
sal cx, 1 ; d1 e1
mov di, cx ; 89 cf
- mov ax, word [cs:di+02f5ch] ; 2e 8b 85 5c 2f
- mov cl, byte [bp+016h] ; 8a 4e 16
+ mov ax, word [cs:di+02fe8h] ; 2e 8b 85 e8 2f
+ mov cl, byte [bp+012h] ; 8a 4e 12
jmp ax ; ff e0
- mov al, byte [bp+016h] ; 8a 46 16
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- call 00fb8h ; e8 ce df
- mov ax, word [bp+016h] ; 8b 46 16
+ call 00fdch ; e8 66 df
+ mov ax, word [bp+012h] ; 8b 46 12
and ax, strict word 0007fh ; 25 7f 00
cmp ax, strict word 00007h ; 3d 07 00
- je short 0300ah ; 74 15
+ je short 03096h ; 74 15
cmp ax, strict word 00006h ; 3d 06 00
- je short 03001h ; 74 07
+ je short 0308dh ; 74 07
cmp ax, strict word 00005h ; 3d 05 00
- jbe short 0300ah ; 76 0b
- jmp short 03013h ; eb 12
- mov ax, word [bp+016h] ; 8b 46 16
+ jbe short 03096h ; 76 0b
+ jmp short 0309fh ; eb 12
+ mov ax, word [bp+012h] ; 8b 46 12
xor al, al ; 30 c0
or AL, strict byte 03fh ; 0c 3f
- jmp short 0301ah ; eb 10
- mov ax, word [bp+016h] ; 8b 46 16
+ jmp short 030a6h ; eb 10
+ mov ax, word [bp+012h] ; 8b 46 12
xor al, al ; 30 c0
or AL, strict byte 030h ; 0c 30
- jmp short 0301ah ; eb 07
- mov ax, word [bp+016h] ; 8b 46 16
+ jmp short 030a6h ; eb 07
+ mov ax, word [bp+012h] ; 8b 46 12
xor al, al ; 30 c0
or AL, strict byte 020h ; 0c 20
- mov word [bp+016h], ax ; 89 46 16
- jmp near 03377h ; e9 57 03
- mov al, byte [bp+014h] ; 8a 46 14
+ mov word [bp+012h], ax ; 89 46 12
+ jmp near 03403h ; e9 57 03
+ mov al, byte [bp+010h] ; 8a 46 10
movzx dx, al ; 0f b6 d0
- mov ax, word [bp+014h] ; 8b 46 14
+ mov ax, word [bp+010h] ; 8b 46 10
shr ax, 008h ; c1 e8 08
xor ah, ah ; 30 e4
- call 00da1h ; e8 70 dd
- jmp near 03377h ; e9 43 03
- mov dx, word [bp+012h] ; 8b 56 12
- mov ax, word [bp+010h] ; 8b 46 10
+ call 00dbah ; e8 fd dc
+ jmp near 03403h ; e9 43 03
+ mov dx, word [bp+00eh] ; 8b 56 0e
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
xor ah, ah ; 30 e4
- call 00e42h ; e8 00 de
- jmp near 03377h ; e9 32 03
- lea bx, [bp+012h] ; 8d 5e 12
- lea dx, [bp+014h] ; 8d 56 14
- mov ax, word [bp+010h] ; 8b 46 10
+ call 00e5eh ; e8 90 dd
+ jmp near 03403h ; e9 32 03
+ lea bx, [bp+00eh] ; 8d 5e 0e
+ lea dx, [bp+010h] ; 8d 56 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
xor ah, ah ; 30 e4
- call 00a83h ; e8 2d da
- jmp near 03377h ; e9 1e 03
+ call 00a88h ; e8 a6 d9
+ jmp near 03403h ; e9 1e 03
xor ax, ax ; 31 c0
- mov word [bp+016h], ax ; 89 46 16
- mov word [bp+010h], ax ; 89 46 10
- mov word [bp+014h], ax ; 89 46 14
mov word [bp+012h], ax ; 89 46 12
- jmp near 03377h ; e9 0d 03
+ mov word [bp+00ch], ax ; 89 46 0c
+ mov word [bp+010h], ax ; 89 46 10
+ mov word [bp+00eh], ax ; 89 46 0e
+ jmp near 03403h ; e9 0d 03
mov al, cl ; 88 c8
xor ah, ah ; 30 e4
- call 00ee0h ; e8 6f de
- jmp near 03377h ; e9 03 03
+ call 00f00h ; e8 03 de
+ jmp near 03403h ; e9 03 03
mov ax, strict word 00001h ; b8 01 00
push ax ; 50
mov ax, 000ffh ; b8 ff 00
push ax ; 50
- mov al, byte [bp+012h] ; 8a 46 12
+ mov al, byte [bp+00eh] ; 8a 46 0e
xor ah, ah ; 30 e4
push ax ; 50
- mov ax, word [bp+012h] ; 8b 46 12
+ mov ax, word [bp+00eh] ; 8b 46 0e
shr ax, 008h ; c1 e8 08
xor ah, ah ; 30 e4
push ax ; 50
- mov al, byte [bp+014h] ; 8a 46 14
+ mov al, byte [bp+010h] ; 8a 46 10
movzx cx, al ; 0f b6 c8
- mov ax, word [bp+014h] ; 8b 46 14
+ mov ax, word [bp+010h] ; 8b 46 10
shr ax, 008h ; c1 e8 08
movzx bx, al ; 0f b6 d8
- mov ax, word [bp+010h] ; 8b 46 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
movzx dx, al ; 0f b6 d0
- mov al, byte [bp+016h] ; 8a 46 16
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- call 0152fh ; e8 84 e4
- jmp near 03377h ; e9 c9 02
+ call 01568h ; e8 31 e4
+ jmp near 03403h ; e9 c9 02
xor ax, ax ; 31 c0
- jmp short 03077h ; eb c5
- lea dx, [bp+016h] ; 8d 56 16
- mov ax, word [bp+010h] ; 8b 46 10
+ jmp short 03103h ; eb c5
+ lea dx, [bp+012h] ; 8d 56 12
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
xor ah, ah ; 30 e4
- call 00ac3h ; e8 03 da
- jmp near 03377h ; e9 b4 02
- mov cx, word [bp+014h] ; 8b 4e 14
- mov al, byte [bp+010h] ; 8a 46 10
+ call 00acbh ; e8 7f d9
+ jmp near 03403h ; e9 b4 02
+ mov cx, word [bp+010h] ; 8b 4e 10
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx bx, al ; 0f b6 d8
- mov ax, word [bp+010h] ; 8b 46 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
movzx dx, al ; 0f b6 d0
- mov al, byte [bp+016h] ; 8a 46 16
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- call 01cbbh ; e8 de eb
- jmp near 03377h ; e9 97 02
- mov cx, word [bp+014h] ; 8b 4e 14
- mov al, byte [bp+010h] ; 8a 46 10
+ call 01d08h ; e8 9f eb
+ jmp near 03403h ; e9 97 02
+ mov cx, word [bp+010h] ; 8b 4e 10
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx bx, al ; 0f b6 d8
- mov ax, word [bp+010h] ; 8b 46 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
movzx dx, al ; 0f b6 d0
- mov al, byte [bp+016h] ; 8a 46 16
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- call 01e1eh ; e8 24 ed
- jmp near 03377h ; e9 7a 02
- mov cx, word [bp+012h] ; 8b 4e 12
- mov bx, word [bp+014h] ; 8b 5e 14
- mov al, byte [bp+016h] ; 8a 46 16
+ call 01e70h ; e8 ea ec
+ jmp near 03403h ; e9 7a 02
+ mov cx, word [bp+00eh] ; 8b 4e 0e
+ mov bx, word [bp+010h] ; 8b 5e 10
+ mov al, byte [bp+012h] ; 8a 46 12
movzx dx, al ; 0f b6 d0
- mov ax, word [bp+010h] ; 8b 46 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
- mov word [bp-002h], ax ; 89 46 fe
- mov al, byte [bp-002h] ; 8a 46 fe
+ mov word [bp-006h], ax ; 89 46 fa
+ mov al, byte [bp-006h] ; 8a 46 fa
xor ah, ah ; 30 e4
- call 01f88h ; e8 6e ee
- jmp near 03377h ; e9 5a 02
- lea cx, [bp+016h] ; 8d 4e 16
- mov bx, word [bp+012h] ; 8b 5e 12
- mov dx, word [bp+014h] ; 8b 56 14
- mov ax, word [bp+010h] ; 8b 46 10
+ call 01fdfh ; e8 39 ee
+ jmp near 03403h ; e9 5a 02
+ lea cx, [bp+012h] ; 8d 4e 12
+ mov bx, word [bp+00eh] ; 8b 5e 0e
+ mov dx, word [bp+010h] ; 8b 56 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
- mov word [bp-002h], ax ; 89 46 fe
- mov al, byte [bp-002h] ; 8a 46 fe
+ mov word [bp-006h], ax ; 89 46 fa
+ mov al, byte [bp-006h] ; 8a 46 fa
xor ah, ah ; 30 e4
- call 00be5h ; e8 ae da
- jmp near 03377h ; e9 3d 02
+ call 00bf5h ; e8 32 da
+ jmp near 03403h ; e9 3d 02
mov cx, strict word 00002h ; b9 02 00
- mov al, byte [bp+010h] ; 8a 46 10
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx bx, al ; 0f b6 d8
mov dx, 000ffh ; ba ff 00
- mov al, byte [bp+016h] ; 8a 46 16
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- call 020f0h ; e8 a2 ef
- jmp near 03377h ; e9 26 02
- mov dx, word [bp+014h] ; 8b 56 14
- mov ax, word [bp+010h] ; 8b 46 10
- call 00d19h ; e8 bf db
- jmp near 03377h ; e9 1a 02
- mov ax, word [bp+016h] ; 8b 46 16
+ call 02149h ; e8 6f ef
+ jmp near 03403h ; e9 26 02
+ mov dx, word [bp+010h] ; 8b 56 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
+ call 00d2eh ; e8 48 db
+ jmp near 03403h ; e9 1a 02
+ mov ax, word [bp+012h] ; 8b 46 12
xor ah, ah ; 30 e4
cmp ax, strict word 00030h ; 3d 30 00
- jnbe near 03377h ; 0f 87 0e 02
+ jnbe near 03403h ; 0f 87 0e 02
push CS ; 0e
pop ES ; 07
mov cx, strict word 0000fh ; b9 0f 00
- mov di, 02f88h ; bf 88 2f
+ mov di, 03014h ; bf 14 30
repne scasb ; f2 ae
sal cx, 1 ; d1 e1
mov di, cx ; 89 cf
- mov ax, word [cs:di+02f96h] ; 2e 8b 85 96 2f
+ mov ax, word [cs:di+03022h] ; 2e 8b 85 22 30
jmp ax ; ff e0
- mov ax, word [bp+010h] ; 8b 46 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
xor ah, ah ; 30 e4
push ax ; 50
- mov al, byte [bp+010h] ; 8a 46 10
+ mov al, byte [bp+00ch] ; 8a 46 0c
xor ah, ah ; 30 e4
push ax ; 50
- push word [bp+012h] ; ff 76 12
- mov al, byte [bp+016h] ; 8a 46 16
+ push word [bp+00eh] ; ff 76 0e
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- mov cx, word [bp+014h] ; 8b 4e 14
- mov bx, word [bp+00ch] ; 8b 5e 0c
- mov dx, word [bp+01ah] ; 8b 56 1a
- call 0248dh ; e8 ec f2
- jmp near 03377h ; e9 d3 01
- mov al, byte [bp+010h] ; 8a 46 10
+ mov cx, word [bp+010h] ; 8b 4e 10
+ mov bx, word [bp+008h] ; 8b 5e 08
+ mov dx, word [bp+016h] ; 8b 56 16
+ call 024f4h ; e8 c7 f2
+ jmp near 03403h ; e9 d3 01
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx dx, al ; 0f b6 d0
- mov al, byte [bp+016h] ; 8a 46 16
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- call 02505h ; e8 53 f3
- jmp near 03377h ; e9 c2 01
- mov al, byte [bp+010h] ; 8a 46 10
+ call 02571h ; e8 33 f3
+ jmp near 03403h ; e9 c2 01
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx dx, al ; 0f b6 d0
- mov al, byte [bp+016h] ; 8a 46 16
+ mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
- call 02571h ; e8 ae f3
- jmp near 03377h ; e9 b1 01
- mov al, byte [bp+010h] ; 8a 46 10
+ call 025e1h ; e8 92 f3
+ jmp near 03403h ; e9 b1 01
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx dx, al ; 0f b6 d0
- mov al, byte [bp+016h] ; 8a 46 16
- xor ah, ah ; 30 e4
- call 025dfh ; e8 0b f4
- jmp near 03377h ; e9 a0 01
- mov dx, word [bp+00ch] ; 8b 56 0c
- mov ax, word [bp+01ah] ; 8b 46 1a
- call 0264dh ; e8 6d f4
- jmp near 03377h ; e9 94 01
mov al, byte [bp+012h] ; 8a 46 12
xor ah, ah ; 30 e4
+ call 02653h ; e8 f3 f3
+ jmp near 03403h ; e9 a0 01
+ mov dx, word [bp+008h] ; 8b 56 08
+ mov ax, word [bp+016h] ; 8b 46 16
+ call 026c5h ; e8 59 f4
+ jmp near 03403h ; e9 94 01
+ mov al, byte [bp+00eh] ; 8a 46 0e
+ xor ah, ah ; 30 e4
push ax ; 50
- mov al, byte [bp+010h] ; 8a 46 10
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx cx, al ; 0f b6 c8
- mov bx, word [bp+014h] ; 8b 5e 14
- mov dx, word [bp+00ch] ; 8b 56 0c
- mov ax, word [bp+01ah] ; 8b 46 1a
- call 02652h ; e8 57 f4
- jmp near 03377h ; e9 79 01
- mov al, byte [bp+010h] ; 8a 46 10
+ mov bx, word [bp+010h] ; 8b 5e 10
+ mov dx, word [bp+008h] ; 8b 56 08
+ mov ax, word [bp+016h] ; 8b 46 16
+ call 026cah ; e8 43 f4
+ jmp near 03403h ; e9 79 01
+ mov al, byte [bp+00ch] ; 8a 46 0c
xor ah, ah ; 30 e4
- call 02659h ; e8 53 f4
- jmp near 03377h ; e9 6e 01
- mov al, byte [bp+010h] ; 8a 46 10
+ call 026d1h ; e8 3f f4
+ jmp near 03403h ; e9 6e 01
+ mov al, byte [bp+00ch] ; 8a 46 0c
xor ah, ah ; 30 e4
- call 0265eh ; e8 4d f4
- jmp near 03377h ; e9 63 01
- mov al, byte [bp+010h] ; 8a 46 10
+ call 026d6h ; e8 39 f4
+ jmp near 03403h ; e9 63 01
+ mov al, byte [bp+00ch] ; 8a 46 0c
xor ah, ah ; 30 e4
- call 02663h ; e8 47 f4
- jmp near 03377h ; e9 58 01
- lea ax, [bp+012h] ; 8d 46 12
+ call 026dbh ; e8 33 f4
+ jmp near 03403h ; e9 58 01
+ lea ax, [bp+00eh] ; 8d 46 0e
push ax ; 50
- lea cx, [bp+014h] ; 8d 4e 14
- lea bx, [bp+00ch] ; 8d 5e 0c
- lea dx, [bp+01ah] ; 8d 56 1a
- mov ax, word [bp+010h] ; 8b 46 10
+ lea cx, [bp+010h] ; 8d 4e 10
+ lea bx, [bp+008h] ; 8d 5e 08
+ lea dx, [bp+016h] ; 8d 56 16
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
- call 00b66h ; e8 31 d9
- jmp near 03377h ; e9 3f 01
- mov ax, word [bp+010h] ; 8b 46 10
+ call 00b73h ; e8 b2 d8
+ jmp near 03403h ; e9 3f 01
+ mov ax, word [bp+00ch] ; 8b 46 0c
xor ah, ah ; 30 e4
cmp ax, strict word 00036h ; 3d 36 00
- je short 0326ah ; 74 28
+ je short 032f6h ; 74 28
cmp ax, strict word 00035h ; 3d 35 00
- je short 03254h ; 74 0d
+ je short 032e0h ; 74 0d
cmp ax, strict word 00020h ; 3d 20 00
- jne near 03377h ; 0f 85 29 01
- call 02668h ; e8 17 f4
- jmp near 03377h ; e9 23 01
+ jne near 03403h ; 0f 85 29 01
+ call 026e0h ; e8 03 f4
+ jmp near 03403h ; e9 23 01
movzx ax, cl ; 0f b6 c1
- mov bx, word [bp+012h] ; 8b 5e 12
- mov dx, word [bp+01ah] ; 8b 56 1a
- call 0266dh ; e8 0d f4
- mov ax, word [bp+016h] ; 8b 46 16
+ mov bx, word [bp+00eh] ; 8b 5e 0e
+ mov dx, word [bp+016h] ; 8b 56 16
+ call 026e5h ; e8 f9 f3
+ mov ax, word [bp+012h] ; 8b 46 12
xor al, al ; 30 c0
or AL, strict byte 012h ; 0c 12
- jmp near 0301ah ; e9 b0 fd
+ jmp near 030a6h ; e9 b0 fd
mov al, cl ; 88 c8
xor ah, ah ; 30 e4
- call 02672h ; e8 01 f4
- jmp short 03260h ; eb ed
- push word [bp+00ch] ; ff 76 0c
- push word [bp+01ah] ; ff 76 1a
- mov al, byte [bp+012h] ; 8a 46 12
+ call 026eah ; e8 ed f3
+ jmp short 032ech ; eb ed
+ push word [bp+008h] ; ff 76 08
+ push word [bp+016h] ; ff 76 16
+ mov al, byte [bp+00eh] ; 8a 46 0e
xor ah, ah ; 30 e4
push ax ; 50
- mov ax, word [bp+012h] ; 8b 46 12
+ mov ax, word [bp+00eh] ; 8b 46 0e
shr ax, 008h ; c1 e8 08
xor ah, ah ; 30 e4
push ax ; 50
- mov al, byte [bp+010h] ; 8a 46 10
+ mov al, byte [bp+00ch] ; 8a 46 0c
movzx bx, al ; 0f b6 d8
- mov ax, word [bp+010h] ; 8b 46 10
+ mov ax, word [bp+00ch] ; 8b 46 0c
shr ax, 008h ; c1 e8 08
movzx dx, al ; 0f b6 d0
movzx ax, cl ; 0f b6 c1
- mov cx, word [bp+014h] ; 8b 4e 14
- call 02677h ; e8 d7 f3
- jmp near 03377h ; e9 d4 00
+ mov cx, word [bp+010h] ; 8b 4e 10
+ call 026efh ; e8 c3 f3
+ jmp near 03403h ; e9 d4 00
mov bx, si ; 89 f3
- mov dx, word [bp+01ah] ; 8b 56 1a
- mov ax, word [bp+010h] ; 8b 46 10
- call 0270eh ; e8 60 f4
- mov ax, word [bp+016h] ; 8b 46 16
+ mov dx, word [bp+016h] ; 8b 56 16
+ mov ax, word [bp+00ch] ; 8b 46 0c
+ call 0278bh ; e8 51 f4
+ mov ax, word [bp+012h] ; 8b 46 12
xor al, al ; 30 c0
or AL, strict byte 01bh ; 0c 1b
- jmp near 0301ah ; e9 62 fd
- mov ax, word [bp+016h] ; 8b 46 16
+ jmp near 030a6h ; e9 62 fd
+ mov ax, word [bp+012h] ; 8b 46 12
xor ah, ah ; 30 e4
cmp ax, strict word 00002h ; 3d 02 00
- je short 032e4h ; 74 22
+ je short 03370h ; 74 22
cmp ax, strict word 00001h ; 3d 01 00
- je short 032d6h ; 74 0f
+ je short 03362h ; 74 0f
test ax, ax ; 85 c0
- jne short 032f0h ; 75 25
- lea dx, [bp+010h] ; 8d 56 10
- mov ax, word [bp+014h] ; 8b 46 14
- call 0282fh ; e8 5b f5
- jmp short 032f0h ; eb 1a
- mov bx, word [bp+010h] ; 8b 5e 10
- mov dx, word [bp+01ah] ; 8b 56 1a
- mov ax, word [bp+014h] ; 8b 46 14
- call 0283eh ; e8 5c f5
- jmp short 032f0h ; eb 0c
- mov bx, word [bp+010h] ; 8b 5e 10
- mov dx, word [bp+01ah] ; 8b 56 1a
- mov ax, word [bp+014h] ; 8b 46 14
- call 02ba3h ; e8 b3 f8
- mov ax, word [bp+016h] ; 8b 46 16
+ jne short 0337ch ; 75 25
+ lea dx, [bp+00ch] ; 8d 56 0c
+ mov ax, word [bp+010h] ; 8b 46 10
+ call 028afh ; e8 4f f5
+ jmp short 0337ch ; eb 1a
+ mov bx, word [bp+00ch] ; 8b 5e 0c
+ mov dx, word [bp+016h] ; 8b 56 16
+ mov ax, word [bp+010h] ; 8b 46 10
+ call 028c1h ; e8 53 f5
+ jmp short 0337ch ; eb 0c
+ mov bx, word [bp+00ch] ; 8b 5e 0c
+ mov dx, word [bp+016h] ; 8b 56 16
+ mov ax, word [bp+010h] ; 8b 46 10
+ call 02c2ah ; e8 ae f8
+ mov ax, word [bp+012h] ; 8b 46 12
xor al, al ; 30 c0
or AL, strict byte 01ch ; 0c 1c
- jmp near 0301ah ; e9 20 fd
- call 007a4h ; e8 a7 d4
+ jmp near 030a6h ; e9 20 fd
+ call 007a4h ; e8 1b d4
test ax, ax ; 85 c0
- je near 03372h ; 0f 84 6f 00
- mov ax, word [bp+016h] ; 8b 46 16
+ je near 033feh ; 0f 84 6f 00
+ mov ax, word [bp+012h] ; 8b 46 12
xor ah, ah ; 30 e4
cmp ax, strict word 00002h ; 3d 02 00
- jc short 03320h ; 72 13
- jbe short 03346h ; 76 37
+ jc short 033ach ; 72 13
+ jbe short 033d2h ; 76 37
cmp ax, strict word 0000ah ; 3d 0a 00
- je short 0336bh ; 74 57
+ je short 033f7h ; 74 57
cmp ax, strict word 00009h ; 3d 09 00
- je short 0336bh ; 74 52
+ je short 033f7h ; 74 52
cmp ax, strict word 00004h ; 3d 04 00
- je short 03356h ; 74 38
- jmp short 0336bh ; eb 4b
+ je short 033e2h ; 74 38
+ jmp short 033f7h ; eb 4b
cmp ax, strict word 00001h ; 3d 01 00
- je short 03336h ; 74 11
+ je short 033c2h ; 74 11
test ax, ax ; 85 c0
- jne short 0336bh ; 75 42
+ jne short 033f7h ; 75 42
mov bx, si ; 89 f3
- mov dx, word [bp+01ah] ; 8b 56 1a
- lea ax, [bp+016h] ; 8d 46 16
- call 03486h ; e8 52 01
- jmp short 03377h ; eb 41
- mov cx, si ; 89 f1
- mov bx, word [bp+01ah] ; 8b 5e 1a
- mov dx, word [bp+014h] ; 8b 56 14
- lea ax, [bp+016h] ; 8d 46 16
- call 035aah ; e8 66 02
- jmp short 03377h ; eb 31
+ mov dx, word [bp+016h] ; 8b 56 16
+ lea ax, [bp+012h] ; 8d 46 12
+ call 03530h ; e8 70 01
+ jmp short 03403h ; eb 41
mov cx, si ; 89 f1
- mov bx, word [bp+01ah] ; 8b 5e 1a
+ mov bx, word [bp+016h] ; 8b 5e 16
mov dx, word [bp+010h] ; 8b 56 10
- lea ax, [bp+016h] ; 8d 46 16
- call 0365ah ; e8 06 03
- jmp short 03377h ; eb 21
- lea ax, [bp+010h] ; 8d 46 10
+ lea ax, [bp+012h] ; 8d 46 12
+ call 03659h ; e8 89 02
+ jmp short 03403h ; eb 31
+ mov cx, si ; 89 f1
+ mov bx, word [bp+016h] ; 8b 5e 16
+ mov dx, word [bp+00ch] ; 8b 56 0c
+ lea ax, [bp+012h] ; 8d 46 12
+ call 0370dh ; e8 2d 03
+ jmp short 03403h ; eb 21
+ lea ax, [bp+00ch] ; 8d 46 0c
push ax ; 50
- mov cx, word [bp+01ah] ; 8b 4e 1a
- mov bx, word [bp+012h] ; 8b 5e 12
- mov dx, word [bp+014h] ; 8b 56 14
- lea ax, [bp+016h] ; 8d 46 16
- call 03836h ; e8 cd 04
- jmp short 03377h ; eb 0c
- mov word [bp+016h], 00100h ; c7 46 16 00 01
- jmp short 03377h ; eb 05
- mov word [bp+016h], 00100h ; c7 46 16 00 01
- leave ; c9
+ mov cx, word [bp+016h] ; 8b 4e 16
+ mov bx, word [bp+00eh] ; 8b 5e 0e
+ mov dx, word [bp+010h] ; 8b 56 10
+ lea ax, [bp+012h] ; 8d 46 12
+ call 038f4h ; e8 ff 04
+ jmp short 03403h ; eb 0c
+ mov word [bp+012h], 00100h ; c7 46 12 00 01
+ jmp short 03403h ; eb 05
+ mov word [bp+012h], 00100h ; c7 46 12 00 01
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn ; c3
-dispi_set_xres_: ; 0xc337b LB 0x18
- push bx ; 53
- push dx ; 52
+dispi_set_xres_: ; 0xc340a LB 0x1b
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
+ push dx ; 52
mov bx, ax ; 89 c3
mov ax, strict word 00001h ; b8 01 00
mov dx, 001ceh ; ba ce 01
@@ -5911,15 +6013,16 @@ dispi_set_xres_: ; 0xc337b LB 0x18
mov ax, bx ; 89 d8
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
- pop bp ; 5d
+ lea sp, [bp-004h] ; 8d 66 fc
pop dx ; 5a
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-dispi_set_yres_: ; 0xc3393 LB 0x18
- push bx ; 53
- push dx ; 52
+dispi_set_yres_: ; 0xc3425 LB 0x1b
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
+ push dx ; 52
mov bx, ax ; 89 c3
mov ax, strict word 00002h ; b8 02 00
mov dx, 001ceh ; ba ce 01
@@ -5927,15 +6030,16 @@ dispi_set_yres_: ; 0xc3393 LB 0x18
mov ax, bx ; 89 d8
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
- pop bp ; 5d
+ lea sp, [bp-004h] ; 8d 66 fc
pop dx ; 5a
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-dispi_set_bpp_: ; 0xc33ab LB 0x18
- push bx ; 53
- push dx ; 52
+dispi_set_bpp_: ; 0xc3440 LB 0x1b
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
+ push dx ; 52
mov bx, ax ; 89 c3
mov ax, strict word 00003h ; b8 03 00
mov dx, 001ceh ; ba ce 01
@@ -5943,26 +6047,28 @@ dispi_set_bpp_: ; 0xc33ab LB 0x18
mov ax, bx ; 89 d8
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
- pop bp ; 5d
+ lea sp, [bp-004h] ; 8d 66 fc
pop dx ; 5a
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-in_word_: ; 0xc33c3 LB 0xf
- push bx ; 53
+in_word_: ; 0xc345b LB 0x12
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
mov bx, ax ; 89 c3
mov ax, dx ; 89 d0
mov dx, bx ; 89 da
out DX, ax ; ef
in ax, DX ; ed
- pop bp ; 5d
+ lea sp, [bp-002h] ; 8d 66 fe
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-in_byte_: ; 0xc33d2 LB 0x11
- push bx ; 53
+in_byte_: ; 0xc346d LB 0x14
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
mov bx, ax ; 89 c3
mov ax, dx ; 89 d0
mov dx, bx ; 89 da
@@ -5970,26 +6076,28 @@ in_byte_: ; 0xc33d2 LB 0x11
in AL, DX ; ec
db 02ah, 0e4h
; sub ah, ah ; 2a e4
- pop bp ; 5d
+ lea sp, [bp-002h] ; 8d 66 fe
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-dispi_get_id_: ; 0xc33e3 LB 0x11
- push dx ; 52
+dispi_get_id_: ; 0xc3481 LB 0x14
push bp ; 55
mov bp, sp ; 89 e5
+ push dx ; 52
xor ax, ax ; 31 c0
mov dx, 001ceh ; ba ce 01
out DX, ax ; ef
mov dx, 001cfh ; ba cf 01
in ax, DX ; ed
- pop bp ; 5d
+ lea sp, [bp-002h] ; 8d 66 fe
pop dx ; 5a
+ pop bp ; 5d
retn ; c3
-dispi_set_id_: ; 0xc33f4 LB 0x17
- push bx ; 53
- push dx ; 52
+dispi_set_id_: ; 0xc3495 LB 0x1a
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
+ push dx ; 52
mov bx, ax ; 89 c3
xor ax, ax ; 31 c0
mov dx, 001ceh ; ba ce 01
@@ -5997,107 +6105,112 @@ dispi_set_id_: ; 0xc33f4 LB 0x17
mov ax, bx ; 89 d8
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
- pop bp ; 5d
+ lea sp, [bp-004h] ; 8d 66 fc
pop dx ; 5a
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-vbe_init_: ; 0xc340b LB 0x29
- push bx ; 53
- push dx ; 52
+vbe_init_: ; 0xc34af LB 0x2c
push bp ; 55
mov bp, sp ; 89 e5
+ push bx ; 53
+ push dx ; 52
mov ax, 0b0c0h ; b8 c0 b0
- call 033f4h ; e8 de ff
- call 033e3h ; e8 ca ff
+ call 03495h ; e8 db ff
+ call 03481h ; e8 c4 ff
cmp ax, 0b0c0h ; 3d c0 b0
- jne short 03430h ; 75 12
+ jne short 034d4h ; 75 12
mov bx, strict word 00001h ; bb 01 00
mov dx, 000b9h ; ba b9 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 cf fa
+ call 02f85h ; e8 b7 fa
mov ax, 0b0c4h ; b8 c4 b0
- call 033f4h ; e8 c4 ff
- pop bp ; 5d
+ call 03495h ; e8 c1 ff
+ lea sp, [bp-004h] ; 8d 66 fc
pop dx ; 5a
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-mode_info_find_mode_: ; 0xc3434 LB 0x52
+mode_info_find_mode_: ; 0xc34db LB 0x55
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- push bp ; 55
- mov bp, sp ; 89 e5
mov di, ax ; 89 c7
mov si, dx ; 89 d6
xor dx, dx ; 31 d2
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 7c ff
+ call 0345bh ; e8 6d ff
cmp ax, 077cch ; 3d cc 77
- jne short 0347eh ; 75 32
+ jne short 03525h ; 75 32
mov bx, strict word 00004h ; bb 04 00
mov dx, bx ; 89 da
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 6c ff
+ call 0345bh ; e8 5d ff
mov cx, ax ; 89 c1
cmp cx, strict byte 0ffffh ; 83 f9 ff
- je short 0347eh ; 74 20
+ je short 03525h ; 74 20
lea dx, [bx+002h] ; 8d 57 02
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 5c ff
+ call 0345bh ; e8 4d ff
lea dx, [bx+044h] ; 8d 57 44
cmp cx, di ; 39 f9
- jne short 0347ah ; 75 0c
+ jne short 03521h ; 75 0c
test si, si ; 85 f6
- jne short 03476h ; 75 04
+ jne short 0351dh ; 75 04
mov ax, bx ; 89 d8
- jmp short 03480h ; eb 0a
+ jmp short 03527h ; eb 0a
test AL, strict byte 080h ; a8 80
- jne short 03472h ; 75 f8
+ jne short 03519h ; 75 f8
mov bx, dx ; 89 d3
- jmp short 03451h ; eb d3
+ jmp short 034f8h ; eb d3
xor ax, ax ; 31 c0
- pop bp ; 5d
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-vbe_biosfn_return_controller_information_: ; 0xc3486 LB 0x124
+vbe_biosfn_return_controller_information_: ; 0xc3530 LB 0x129
+ push bp ; 55
+ mov bp, sp ; 89 e5
push cx ; 51
push si ; 56
push di ; 57
- enter 0000ah, 000h ; c8 0a 00 00
+ sub sp, strict byte 0000ah ; 83 ec 0a
mov si, ax ; 89 c6
mov di, dx ; 89 d7
- mov word [bp-004h], bx ; 89 5e fc
- mov word [bp-006h], strict word 00022h ; c7 46 fa 22 00
- call 005a7h ; e8 0b d1
- mov word [bp-00ah], ax ; 89 46 f6
- mov bx, word [bp-004h] ; 8b 5e fc
- mov word [bp-002h], di ; 89 7e fe
+ mov word [bp-00ah], bx ; 89 5e f6
+ mov word [bp-00ch], strict word 00022h ; c7 46 f4 22 00
+ call 005a7h ; e8 5f d0
+ mov word [bp-010h], ax ; 89 46 f0
+ mov bx, word [bp-00ah] ; 8b 5e f6
+ mov word [bp-008h], di ; 89 7e f8
xor dx, dx ; 31 d2
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 16 ff
+ call 0345bh ; e8 02 ff
cmp ax, 077cch ; 3d cc 77
- je short 034bch ; 74 0a
+ je short 03568h ; 74 0a
push SS ; 16
pop ES ; 07
mov word [es:si], 00100h ; 26 c7 04 00 01
- jmp near 035a5h ; e9 e9 00
+ jmp near 03651h ; e9 e9 00
mov cx, strict word 00004h ; b9 04 00
- mov word [bp-008h], strict word 00000h ; c7 46 f8 00 00
- mov es, [bp-002h] ; 8e 46 fe
+ mov word [bp-00eh], strict word 00000h ; c7 46 f2 00 00
+ mov es, [bp-008h] ; 8e 46 f8
cmp word [es:bx+002h], 03245h ; 26 81 7f 02 45 32
- jne short 034d6h ; 75 07
+ jne short 03582h ; 75 07
cmp word [es:bx], 04256h ; 26 81 3f 56 42
- je short 034e5h ; 74 0f
+ je short 03591h ; 74 0f
cmp word [es:bx+002h], 04153h ; 26 81 7f 02 53 41
- jne short 034eah ; 75 0c
+ jne short 03596h ; 75 0c
cmp word [es:bx], 04556h ; 26 81 3f 56 45
- jne short 034eah ; 75 05
- mov word [bp-008h], strict word 00001h ; c7 46 f8 01 00
- mov es, [bp-002h] ; 8e 46 fe
+ jne short 03596h ; 75 05
+ mov word [bp-00eh], strict word 00001h ; c7 46 f2 01 00
+ mov es, [bp-008h] ; 8e 46 f8
db 066h, 026h, 0c7h, 007h, 056h, 045h, 053h, 041h
; mov dword [es:bx], strict dword 041534556h ; 66 26 c7 07 56 45 53 41
mov word [es:bx+004h], 00200h ; 26 c7 47 04 00 02
@@ -6106,16 +6219,16 @@ vbe_biosfn_return_controller_information_: ; 0xc3486 LB 0x124
db 066h, 026h, 0c7h, 047h, 00ah, 001h, 000h, 000h, 000h
; mov dword [es:bx+00ah], strict dword 000000001h ; 66 26 c7 47 0a 01 00 00 00
mov word [es:bx+010h], di ; 26 89 7f 10
- mov ax, word [bp-004h] ; 8b 46 fc
+ mov ax, word [bp-00ah] ; 8b 46 f6
add ax, strict word 00022h ; 05 22 00
mov word [es:bx+00eh], ax ; 26 89 47 0e
mov dx, strict word 0ffffh ; ba ff ff
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 9e fe
- mov es, [bp-002h] ; 8e 46 fe
+ call 0345bh ; e8 8a fe
+ mov es, [bp-008h] ; 8e 46 f8
mov word [es:bx+012h], ax ; 26 89 47 12
- cmp word [bp-008h], strict byte 00000h ; 83 7e f8 00
- je short 03556h ; 74 24
+ cmp word [bp-00eh], strict byte 00000h ; 83 7e f2 00
+ je short 03602h ; 74 24
mov word [es:bx+014h], strict word 00003h ; 26 c7 47 14 03 00
mov word [es:bx+016h], 07e35h ; 26 c7 47 16 35 7e
mov [es:bx+018h], ds ; 26 8c 5f 18
@@ -6126,216 +6239,226 @@ vbe_biosfn_return_controller_information_: ; 0xc3486 LB 0x124
mov dx, cx ; 89 ca
add dx, strict byte 0001bh ; 83 c2 1b
mov ax, 003b6h ; b8 b6 03
- call 033d2h ; e8 71 fe
+ call 0346dh ; e8 60 fe
xor ah, ah ; 30 e4
- cmp ax, word [bp-00ah] ; 3b 46 f6
- jnbe short 03581h ; 77 19
+ cmp ax, word [bp-010h] ; 3b 46 f0
+ jnbe short 0362dh ; 77 19
mov dx, cx ; 89 ca
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 53 fe
+ call 0345bh ; e8 3f fe
mov bx, ax ; 89 c3
- mov dx, word [bp-004h] ; 8b 56 fc
- add dx, word [bp-006h] ; 03 56 fa
+ mov dx, word [bp-00ah] ; 8b 56 f6
+ add dx, word [bp-00ch] ; 03 56 f4
mov ax, di ; 89 f8
- call 02f15h ; e8 98 f9
- add word [bp-006h], strict byte 00002h ; 83 46 fa 02
+ call 02fa1h ; e8 78 f9
+ add word [bp-00ch], strict byte 00002h ; 83 46 f4 02
add cx, strict byte 00044h ; 83 c1 44
mov dx, cx ; 89 ca
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 37 fe
+ call 0345bh ; e8 23 fe
mov bx, ax ; 89 c3
cmp ax, strict word 0ffffh ; 3d ff ff
- jne short 03556h ; 75 c3
- mov dx, word [bp-004h] ; 8b 56 fc
- add dx, word [bp-006h] ; 03 56 fa
+ jne short 03602h ; 75 c3
+ mov dx, word [bp-00ah] ; 8b 56 f6
+ add dx, word [bp-00ch] ; 03 56 f4
mov ax, di ; 89 f8
- call 02f15h ; e8 77 f9
+ call 02fa1h ; e8 57 f9
push SS ; 16
pop ES ; 07
mov word [es:si], strict word 0004fh ; 26 c7 04 4f 00
- leave ; c9
+ lea sp, [bp-006h] ; 8d 66 fa
pop di ; 5f
pop si ; 5e
pop cx ; 59
+ pop bp ; 5d
retn ; c3
-vbe_biosfn_return_mode_information_: ; 0xc35aa LB 0xb0
+vbe_biosfn_return_mode_information_: ; 0xc3659 LB 0xb4
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00004h, 000h ; c8 04 00 00
+ push ax ; 50
+ push ax ; 50
push ax ; 50
mov ax, dx ; 89 d0
mov si, bx ; 89 de
- mov word [bp-002h], cx ; 89 4e fe
+ mov word [bp-006h], cx ; 89 4e fa
test dh, 040h ; f6 c6 40
db 00fh, 095h, 0c2h
; setne dl ; 0f 95 c2
xor dh, dh ; 30 f6
and ah, 001h ; 80 e4 01
- call 03434h ; e8 6e fe
- mov word [bp-004h], ax ; 89 46 fc
+ call 034dbh ; e8 65 fe
+ mov word [bp-008h], ax ; 89 46 f8
test ax, ax ; 85 c0
- je near 0364bh ; 0f 84 7c 00
+ je near 036fbh ; 0f 84 7c 00
mov cx, 00100h ; b9 00 01
xor ax, ax ; 31 c0
- mov di, word [bp-002h] ; 8b 7e fe
+ mov di, word [bp-006h] ; 8b 7e fa
mov es, bx ; 8e c3
cld ; fc
- jcxz 035deh ; e3 02
+ jcxz 0368eh ; e3 02
rep stosb ; f3 aa
xor cx, cx ; 31 c9
- jmp short 035e7h ; eb 05
+ jmp short 03697h ; eb 05
cmp cx, strict byte 00042h ; 83 f9 42
- jnc short 03604h ; 73 1d
- mov dx, word [bp-004h] ; 8b 56 fc
+ jnc short 036b4h ; 73 1d
+ mov dx, word [bp-008h] ; 8b 56 f8
inc dx ; 42
inc dx ; 42
add dx, cx ; 01 ca
mov ax, 003b6h ; b8 b6 03
- call 033d2h ; e8 de fd
+ call 0346dh ; e8 c9 fd
movzx bx, al ; 0f b6 d8
- mov dx, word [bp-002h] ; 8b 56 fe
+ mov dx, word [bp-006h] ; 8b 56 fa
add dx, cx ; 01 ca
mov ax, si ; 89 f0
- call 02ef9h ; e8 f8 f8
+ call 02f85h ; e8 d4 f8
inc cx ; 41
- jmp short 035e2h ; eb de
- mov dx, word [bp-002h] ; 8b 56 fe
+ jmp short 03692h ; eb de
+ mov dx, word [bp-006h] ; 8b 56 fa
inc dx ; 42
inc dx ; 42
mov ax, si ; 89 f0
- call 02eebh ; e8 dd f8
+ call 02f77h ; e8 b9 f8
test AL, strict byte 001h ; a8 01
- je short 0362eh ; 74 1c
- mov dx, word [bp-002h] ; 8b 56 fe
+ je short 036deh ; 74 1c
+ mov dx, word [bp-006h] ; 8b 56 fa
add dx, strict byte 0000ch ; 83 c2 0c
mov bx, 00605h ; bb 05 06
mov ax, si ; 89 f0
- call 02f15h ; e8 f5 f8
- mov dx, word [bp-002h] ; 8b 56 fe
+ call 02fa1h ; e8 d1 f8
+ mov dx, word [bp-006h] ; 8b 56 fa
add dx, strict byte 0000eh ; 83 c2 0e
mov bx, 0c000h ; bb 00 c0
mov ax, si ; 89 f0
- call 02f15h ; e8 e7 f8
+ call 02fa1h ; e8 c3 f8
mov ax, strict word 0000bh ; b8 0b 00
mov dx, 001ceh ; ba ce 01
out DX, ax ; ef
mov dx, 001cfh ; ba cf 01
in ax, DX ; ed
- mov dx, word [bp-002h] ; 8b 56 fe
+ mov dx, word [bp-006h] ; 8b 56 fa
add dx, strict byte 0002ah ; 83 c2 2a
mov bx, ax ; 89 c3
mov ax, si ; 89 f0
- call 02f15h ; e8 cf f8
+ call 02fa1h ; e8 ab f8
mov ax, strict word 0004fh ; b8 4f 00
- jmp short 0364eh ; eb 03
+ jmp short 036feh ; eb 03
mov ax, 00100h ; b8 00 01
push SS ; 16
pop ES ; 07
- mov bx, word [bp-006h] ; 8b 5e fa
+ mov bx, word [bp-00ah] ; 8b 5e f6
mov word [es:bx], ax ; 26 89 07
- leave ; c9
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn ; c3
-vbe_biosfn_set_mode_: ; 0xc365a LB 0xe4
+vbe_biosfn_set_mode_: ; 0xc370d LB 0xe9
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00006h, 000h ; c8 06 00 00
+ sub sp, strict byte 00006h ; 83 ec 06
mov si, ax ; 89 c6
- mov word [bp-006h], dx ; 89 56 fa
- test byte [bp-005h], 040h ; f6 46 fb 40
+ mov word [bp-00ah], dx ; 89 56 f6
+ test byte [bp-009h], 040h ; f6 46 f7 40
db 00fh, 095h, 0c0h
; setne al ; 0f 95 c0
movzx dx, al ; 0f b6 d0
mov ax, dx ; 89 d0
test dx, dx ; 85 d2
- je short 03678h ; 74 03
+ je short 0372dh ; 74 03
mov dx, strict word 00040h ; ba 40 00
- mov byte [bp-002h], dl ; 88 56 fe
- test byte [bp-005h], 080h ; f6 46 fb 80
- je short 03686h ; 74 05
+ mov byte [bp-006h], dl ; 88 56 fa
+ test byte [bp-009h], 080h ; f6 46 f7 80
+ je short 0373bh ; 74 05
mov dx, 00080h ; ba 80 00
- jmp short 03688h ; eb 02
+ jmp short 0373dh ; eb 02
xor dx, dx ; 31 d2
- mov byte [bp-004h], dl ; 88 56 fc
- and byte [bp-005h], 001h ; 80 66 fb 01
- cmp word [bp-006h], 00100h ; 81 7e fa 00 01
- jnc short 036a8h ; 73 12
+ mov byte [bp-008h], dl ; 88 56 f8
+ and byte [bp-009h], 001h ; 80 66 f7 01
+ cmp word [bp-00ah], 00100h ; 81 7e f6 00 01
+ jnc short 0375dh ; 73 12
xor ax, ax ; 31 c0
- call 005c9h ; e8 2e cf
- movzx ax, byte [bp-006h] ; 0f b6 46 fa
- call 00fb8h ; e8 16 d9
+ call 005c9h ; e8 79 ce
+ movzx ax, byte [bp-00ah] ; 0f b6 46 f6
+ call 00fdch ; e8 85 d8
mov ax, strict word 0004fh ; b8 4f 00
- jmp near 03737h ; e9 8f 00
+ jmp near 037ech ; e9 8f 00
mov dx, ax ; 89 c2
- mov ax, word [bp-006h] ; 8b 46 fa
- call 03434h ; e8 84 fd
+ mov ax, word [bp-00ah] ; 8b 46 f6
+ call 034dbh ; e8 76 fd
mov bx, ax ; 89 c3
test ax, ax ; 85 c0
- je near 03734h ; 0f 84 7c 00
+ je near 037e9h ; 0f 84 7c 00
lea dx, [bx+014h] ; 8d 57 14
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 02 fd
+ call 0345bh ; e8 e5 fc
mov cx, ax ; 89 c1
lea dx, [bx+016h] ; 8d 57 16
mov ax, 003b6h ; b8 b6 03
- call 033c3h ; e8 f7 fc
+ call 0345bh ; e8 da fc
mov di, ax ; 89 c7
lea dx, [bx+01bh] ; 8d 57 1b
mov ax, 003b6h ; b8 b6 03
- call 033d2h ; e8 fb fc
+ call 0346dh ; e8 e1 fc
mov bl, al ; 88 c3
mov dl, al ; 88 c2
xor ax, ax ; 31 c0
- call 005c9h ; e8 e9 ce
+ call 005c9h ; e8 34 ce
cmp bl, 004h ; 80 fb 04
- jne short 036ebh ; 75 06
+ jne short 037a0h ; 75 06
mov ax, strict word 0006ah ; b8 6a 00
- call 00fb8h ; e8 cd d8
+ call 00fdch ; e8 3c d8
movzx ax, dl ; 0f b6 c2
- call 033abh ; e8 ba fc
+ call 03440h ; e8 9a fc
mov ax, cx ; 89 c8
- call 0337bh ; e8 85 fc
+ call 0340ah ; e8 5f fc
mov ax, di ; 89 f8
- call 03393h ; e8 98 fc
+ call 03425h ; e8 75 fc
xor ax, ax ; 31 c0
- call 005e7h ; e8 e7 ce
- mov al, byte [bp-004h] ; 8a 46 fc
+ call 005e7h ; e8 32 ce
+ mov al, byte [bp-008h] ; 8a 46 f8
or AL, strict byte 001h ; 0c 01
movzx dx, al ; 0f b6 d0
- movzx ax, byte [bp-002h] ; 0f b6 46 fe
+ movzx ax, byte [bp-006h] ; 0f b6 46 fa
or ax, dx ; 09 d0
- call 005c9h ; e8 b8 ce
- call 006c3h ; e8 af cf
- mov bx, word [bp-006h] ; 8b 5e fa
+ call 005c9h ; e8 03 ce
+ call 006c3h ; e8 fa ce
+ mov bx, word [bp-00ah] ; 8b 5e f6
mov dx, 000bah ; ba ba 00
mov ax, strict word 00040h ; b8 40 00
- call 02f15h ; e8 f5 f7
- mov al, byte [bp-004h] ; 8a 46 fc
+ call 02fa1h ; e8 cc f7
+ mov al, byte [bp-008h] ; 8a 46 f8
or AL, strict byte 060h ; 0c 60
movzx bx, al ; 0f b6 d8
mov dx, 00087h ; ba 87 00
mov ax, strict word 00040h ; b8 40 00
- call 02ef9h ; e8 c8 f7
- jmp near 036a2h ; e9 6e ff
+ call 02f85h ; e8 9f f7
+ jmp near 03757h ; e9 6e ff
mov ax, 00100h ; b8 00 01
mov word [ss:si], ax ; 36 89 04
- leave ; c9
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn ; c3
-vbe_biosfn_read_video_state_size_: ; 0xc373e LB 0x8
+vbe_biosfn_read_video_state_size_: ; 0xc37f6 LB 0x8
push bp ; 55
mov bp, sp ; 89 e5
mov ax, strict word 00012h ; b8 12 00
pop bp ; 5d
retn ; c3
-vbe_biosfn_save_video_state_: ; 0xc3746 LB 0x58
+vbe_biosfn_save_video_state_: ; 0xc37fe LB 0x5b
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
push di ; 57
- enter 00002h, 000h ; c8 02 00 00
+ push ax ; 50
mov di, ax ; 89 c7
mov cx, dx ; 89 d1
mov ax, strict word 00004h ; b8 04 00
@@ -6343,21 +6466,21 @@ vbe_biosfn_save_video_state_: ; 0xc3746 LB 0x58
out DX, ax ; ef
mov dx, 001cfh ; ba cf 01
in ax, DX ; ed
- mov word [bp-002h], ax ; 89 46 fe
+ mov word [bp-00ah], ax ; 89 46 f6
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, di ; 89 f8
- call 02f15h ; e8 ac f7
+ call 02fa1h ; e8 80 f7
inc cx ; 41
inc cx ; 41
- test byte [bp-002h], 001h ; f6 46 fe 01
- je short 03798h ; 74 27
+ test byte [bp-00ah], 001h ; f6 46 f6 01
+ je short 03850h ; 74 27
mov si, strict word 00001h ; be 01 00
- jmp short 0377bh ; eb 05
+ jmp short 03833h ; eb 05
cmp si, strict byte 00009h ; 83 fe 09
- jnbe short 03798h ; 77 1d
+ jnbe short 03850h ; 77 1d
cmp si, strict byte 00004h ; 83 fe 04
- je short 03795h ; 74 15
+ je short 0384dh ; 74 15
mov ax, si ; 89 f0
mov dx, 001ceh ; ba ce 01
out DX, ax ; ef
@@ -6366,43 +6489,46 @@ vbe_biosfn_save_video_state_: ; 0xc3746 LB 0x58
mov bx, ax ; 89 c3
mov dx, cx ; 89 ca
mov ax, di ; 89 f8
- call 02f15h ; e8 82 f7
+ call 02fa1h ; e8 56 f7
inc cx ; 41
inc cx ; 41
inc si ; 46
- jmp short 03776h ; eb de
- leave ; c9
+ jmp short 0382eh ; eb de
+ lea sp, [bp-008h] ; 8d 66 f8
pop di ; 5f
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-vbe_biosfn_restore_video_state_: ; 0xc379e LB 0x98
+vbe_biosfn_restore_video_state_: ; 0xc3859 LB 0x9b
+ push bp ; 55
+ mov bp, sp ; 89 e5
push bx ; 53
push cx ; 51
push si ; 56
- enter 00002h, 000h ; c8 02 00 00
+ push ax ; 50
mov cx, ax ; 89 c1
mov bx, dx ; 89 d3
- call 02f07h ; e8 5b f7
- mov word [bp-002h], ax ; 89 46 fe
+ call 02f93h ; e8 2c f7
+ mov word [bp-008h], ax ; 89 46 f8
inc bx ; 43
inc bx ; 43
- test byte [bp-002h], 001h ; f6 46 fe 01
- jne short 037c7h ; 75 10
+ test byte [bp-008h], 001h ; f6 46 f8 01
+ jne short 03882h ; 75 10
mov ax, strict word 00004h ; b8 04 00
mov dx, 001ceh ; ba ce 01
out DX, ax ; ef
- mov ax, word [bp-002h] ; 8b 46 fe
+ mov ax, word [bp-008h] ; 8b 46 f8
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
- jmp short 03831h ; eb 6a
+ jmp short 038ech ; eb 6a
mov ax, strict word 00001h ; b8 01 00
mov dx, 001ceh ; ba ce 01
out DX, ax ; ef
mov dx, bx ; 89 da
mov ax, cx ; 89 c8
- call 02f07h ; e8 32 f7
+ call 02f93h ; e8 03 f7
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
inc bx ; 43
@@ -6412,7 +6538,7 @@ vbe_biosfn_restore_video_state_: ; 0xc379e LB 0x98
out DX, ax ; ef
mov dx, bx ; 89 da
mov ax, cx ; 89 c8
- call 02f07h ; e8 1e f7
+ call 02f93h ; e8 ef f6
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
inc bx ; 43
@@ -6422,7 +6548,7 @@ vbe_biosfn_restore_video_state_: ; 0xc379e LB 0x98
out DX, ax ; ef
mov dx, bx ; 89 da
mov ax, cx ; 89 c8
- call 02f07h ; e8 0a f7
+ call 02f93h ; e8 db f6
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
inc bx ; 43
@@ -6430,94 +6556,98 @@ vbe_biosfn_restore_video_state_: ; 0xc379e LB 0x98
mov ax, strict word 00004h ; b8 04 00
mov dx, 001ceh ; ba ce 01
out DX, ax ; ef
- mov ax, word [bp-002h] ; 8b 46 fe
+ mov ax, word [bp-008h] ; 8b 46 f8
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
mov si, strict word 00005h ; be 05 00
- jmp short 0381bh ; eb 05
+ jmp short 038d6h ; eb 05
cmp si, strict byte 00009h ; 83 fe 09
- jnbe short 03831h ; 77 16
+ jnbe short 038ech ; 77 16
mov ax, si ; 89 f0
mov dx, 001ceh ; ba ce 01
out DX, ax ; ef
mov dx, bx ; 89 da
mov ax, cx ; 89 c8
- call 02f07h ; e8 df f6
+ call 02f93h ; e8 b0 f6
mov dx, 001cfh ; ba cf 01
out DX, ax ; ef
inc bx ; 43
inc bx ; 43
inc si ; 46
- jmp short 03816h ; eb e5
- leave ; c9
+ jmp short 038d1h ; eb e5
+ lea sp, [bp-006h] ; 8d 66 fa
pop si ; 5e
pop cx ; 59
pop bx ; 5b
+ pop bp ; 5d
retn ; c3
-vbe_biosfn_save_restore_state_: ; 0xc3836 LB 0x89
+vbe_biosfn_save_restore_state_: ; 0xc38f4 LB 0x8c
+ push bp ; 55
+ mov bp, sp ; 89 e5
push si ; 56
push di ; 57
- enter 00002h, 000h ; c8 02 00 00
+ push ax ; 50
mov si, ax ; 89 c6
- mov word [bp-002h], dx ; 89 56 fe
+ mov word [bp-006h], dx ; 89 56 fa
mov ax, bx ; 89 d8
- mov bx, word [bp+008h] ; 8b 5e 08
+ mov bx, word [bp+004h] ; 8b 5e 04
mov di, strict word 0004fh ; bf 4f 00
xor ah, ah ; 30 e4
cmp ax, strict word 00002h ; 3d 02 00
- je short 03895h ; 74 45
+ je short 03953h ; 74 45
cmp ax, strict word 00001h ; 3d 01 00
- je short 03879h ; 74 24
+ je short 03937h ; 74 24
test ax, ax ; 85 c0
- jne short 038b1h ; 75 58
- mov ax, word [bp-002h] ; 8b 46 fe
- call 0280ch ; e8 ad ef
+ jne short 0396fh ; 75 58
+ mov ax, word [bp-006h] ; 8b 46 fa
+ call 0288ch ; e8 6f ef
mov cx, ax ; 89 c1
- test byte [bp-002h], 008h ; f6 46 fe 08
- je short 0386ch ; 74 05
- call 0373eh ; e8 d4 fe
+ test byte [bp-006h], 008h ; f6 46 fa 08
+ je short 0392ah ; 74 05
+ call 037f6h ; e8 ce fe
add ax, cx ; 01 c8
add ax, strict word 0003fh ; 05 3f 00
shr ax, 006h ; c1 e8 06
push SS ; 16
pop ES ; 07
mov word [es:bx], ax ; 26 89 07
- jmp short 038b4h ; eb 3b
+ jmp short 03972h ; eb 3b
push SS ; 16
pop ES ; 07
mov bx, word [es:bx] ; 26 8b 1f
mov dx, cx ; 89 ca
- mov ax, word [bp-002h] ; 8b 46 fe
- call 0283eh ; e8 b8 ef
- test byte [bp-002h], 008h ; f6 46 fe 08
- je short 038b4h ; 74 28
+ mov ax, word [bp-006h] ; 8b 46 fa
+ call 028c1h ; e8 7d ef
+ test byte [bp-006h], 008h ; f6 46 fa 08
+ je short 03972h ; 74 28
mov dx, ax ; 89 c2
mov ax, cx ; 89 c8
- call 03746h ; e8 b3 fe
- jmp short 038b4h ; eb 1f
+ call 037feh ; e8 ad fe
+ jmp short 03972h ; eb 1f
push SS ; 16
pop ES ; 07
mov bx, word [es:bx] ; 26 8b 1f
mov dx, cx ; 89 ca
- mov ax, word [bp-002h] ; 8b 46 fe
- call 02ba3h ; e8 01 f3
- test byte [bp-002h], 008h ; f6 46 fe 08
- je short 038b4h ; 74 0c
+ mov ax, word [bp-006h] ; 8b 46 fa
+ call 02c2ah ; e8 ca f2
+ test byte [bp-006h], 008h ; f6 46 fa 08
+ je short 03972h ; 74 0c
mov dx, ax ; 89 c2
mov ax, cx ; 89 c8
- call 0379eh ; e8 ef fe
- jmp short 038b4h ; eb 03
+ call 03859h ; e8 ec fe
+ jmp short 03972h ; eb 03
mov di, 00100h ; bf 00 01
push SS ; 16
pop ES ; 07
mov word [es:si], di ; 26 89 3c
- leave ; c9
+ lea sp, [bp-004h] ; 8d 66 fc
pop di ; 5f
pop si ; 5e
+ pop bp ; 5d
retn 00002h ; c2 02 00
- ; Padding 0xd41 bytes at 0xc38bf
- times 3393 db 0
+ ; Padding 0xc80 bytes at 0xc3980
+ times 3200 db 0
section VBE32 progbits vstart=0x4600 align=1 ; size=0x115 class=CODE group=AUTO
vesa_pm_start: ; 0xc4600 LB 0x114
@@ -6649,10 +6779,10 @@ vesa_pm_end: ; 0xc4714 LB 0x1
; Padding 0xeb bytes at 0xc4715
times 235 db 0
-section _DATA progbits vstart=0x4800 align=1 ; size=0x36e0 class=DATA group=DGROUP
-_msg_vga_init: ; 0xc4800 LB 0x2e
- db 'Oracle VM VirtualBox Version 4.2.4 VGA BIOS', 00dh, 00ah, 000h
-_vga_modes: ; 0xc482e LB 0x80
+section _DATA progbits vstart=0x4800 align=1 ; size=0x36e1 class=DATA group=DGROUP
+_msg_vga_init: ; 0xc4800 LB 0x2f
+ db 'Oracle VM VirtualBox Version 4.3.10 VGA BIOS', 00dh, 00ah, 000h
+_vga_modes: ; 0xc482f LB 0x80
db 000h, 000h, 000h, 004h, 000h, 0b8h, 0ffh, 002h, 001h, 000h, 000h, 004h, 000h, 0b8h, 0ffh, 002h
db 002h, 000h, 000h, 004h, 000h, 0b8h, 0ffh, 002h, 003h, 000h, 000h, 004h, 000h, 0b8h, 0ffh, 002h
db 004h, 001h, 002h, 002h, 000h, 0b8h, 0ffh, 001h, 005h, 001h, 002h, 002h, 000h, 0b8h, 0ffh, 001h
@@ -6661,11 +6791,11 @@ _vga_modes: ; 0xc482e LB 0x80
db 00fh, 001h, 003h, 001h, 000h, 0a0h, 0ffh, 000h, 010h, 001h, 004h, 004h, 000h, 0a0h, 0ffh, 002h
db 011h, 001h, 003h, 001h, 000h, 0a0h, 0ffh, 002h, 012h, 001h, 004h, 004h, 000h, 0a0h, 0ffh, 002h
db 013h, 001h, 005h, 008h, 000h, 0a0h, 0ffh, 003h, 06ah, 001h, 004h, 004h, 000h, 0a0h, 0ffh, 002h
-_line_to_vpti: ; 0xc48ae LB 0x10
+_line_to_vpti: ; 0xc48af LB 0x10
db 017h, 017h, 018h, 018h, 004h, 005h, 006h, 007h, 00dh, 00eh, 011h, 012h, 01ah, 01bh, 01ch, 01dh
-_dac_regs: ; 0xc48be LB 0x4
+_dac_regs: ; 0xc48bf LB 0x4
dd 0ff3f3f3fh
-_video_param_table: ; 0xc48c2 LB 0x780
+_video_param_table: ; 0xc48c3 LB 0x780
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
@@ -6786,7 +6916,7 @@ _video_param_table: ; 0xc48c2 LB 0x780
db 072h, 0f0h, 000h, 060h, 000h, 000h, 000h, 000h, 000h, 000h, 059h, 08dh, 057h, 032h, 000h, 057h
db 073h, 0e3h, 0ffh, 000h, 001h, 002h, 003h, 004h, 005h, 014h, 007h, 038h, 039h, 03ah, 03bh, 03ch
db 03dh, 03eh, 03fh, 001h, 000h, 00fh, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 005h, 00fh, 0ffh
-_palette0: ; 0xc5042 LB 0xc0
+_palette0: ; 0xc5043 LB 0xc0
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah
db 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah
@@ -6799,7 +6929,7 @@ _palette0: ; 0xc5042 LB 0xc0
db 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah
db 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 02ah, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh
db 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh, 03fh
-_palette1: ; 0xc5102 LB 0xc0
+_palette1: ; 0xc5103 LB 0xc0
db 000h, 000h, 000h, 000h, 000h, 02ah, 000h, 02ah, 000h, 000h, 02ah, 02ah, 02ah, 000h, 000h, 02ah
db 000h, 02ah, 02ah, 015h, 000h, 02ah, 02ah, 02ah, 000h, 000h, 000h, 000h, 000h, 02ah, 000h, 02ah
db 000h, 000h, 02ah, 02ah, 02ah, 000h, 000h, 02ah, 000h, 02ah, 02ah, 015h, 000h, 02ah, 02ah, 02ah
@@ -6812,7 +6942,7 @@ _palette1: ; 0xc5102 LB 0xc0
db 015h, 015h, 015h, 015h, 015h, 03fh, 015h, 03fh, 015h, 015h, 03fh, 03fh, 03fh, 015h, 015h, 03fh
db 015h, 03fh, 03fh, 03fh, 015h, 03fh, 03fh, 03fh, 015h, 015h, 015h, 015h, 015h, 03fh, 015h, 03fh
db 015h, 015h, 03fh, 03fh, 03fh, 015h, 015h, 03fh, 015h, 03fh, 03fh, 03fh, 015h, 03fh, 03fh, 03fh
-_palette2: ; 0xc51c2 LB 0xc0
+_palette2: ; 0xc51c3 LB 0xc0
db 000h, 000h, 000h, 000h, 000h, 02ah, 000h, 02ah, 000h, 000h, 02ah, 02ah, 02ah, 000h, 000h, 02ah
db 000h, 02ah, 02ah, 02ah, 000h, 02ah, 02ah, 02ah, 000h, 000h, 015h, 000h, 000h, 03fh, 000h, 02ah
db 015h, 000h, 02ah, 03fh, 02ah, 000h, 015h, 02ah, 000h, 03fh, 02ah, 02ah, 015h, 02ah, 02ah, 03fh
@@ -6825,7 +6955,7 @@ _palette2: ; 0xc51c2 LB 0xc0
db 015h, 015h, 000h, 015h, 015h, 02ah, 015h, 03fh, 000h, 015h, 03fh, 02ah, 03fh, 015h, 000h, 03fh
db 015h, 02ah, 03fh, 03fh, 000h, 03fh, 03fh, 02ah, 015h, 015h, 015h, 015h, 015h, 03fh, 015h, 03fh
db 015h, 015h, 03fh, 03fh, 03fh, 015h, 015h, 03fh, 015h, 03fh, 03fh, 03fh, 015h, 03fh, 03fh, 03fh
-_palette3: ; 0xc5282 LB 0x300
+_palette3: ; 0xc5283 LB 0x300
db 000h, 000h, 000h, 000h, 000h, 02ah, 000h, 02ah, 000h, 000h, 02ah, 02ah, 02ah, 000h, 000h, 02ah
db 000h, 02ah, 02ah, 015h, 000h, 02ah, 02ah, 02ah, 015h, 015h, 015h, 015h, 015h, 03fh, 015h, 03fh
db 015h, 015h, 03fh, 03fh, 03fh, 015h, 015h, 03fh, 015h, 03fh, 03fh, 03fh, 015h, 03fh, 03fh, 03fh
@@ -6874,12 +7004,12 @@ _palette3: ; 0xc5282 LB 0x300
db 00bh, 010h, 00bh, 00bh, 010h, 00ch, 00bh, 010h, 00dh, 00bh, 010h, 00fh, 00bh, 010h, 010h, 00bh
db 00fh, 010h, 00bh, 00dh, 010h, 00bh, 00ch, 010h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
-_static_functionality: ; 0xc5582 LB 0x10
+_static_functionality: ; 0xc5583 LB 0x10
db 0ffh, 0e0h, 00fh, 000h, 000h, 000h, 000h, 007h, 002h, 008h, 0e7h, 00ch, 000h, 000h, 000h, 000h
-_video_save_pointer_table: ; 0xc5592 LB 0x1c
- db 0c2h, 048h, 000h, 0c0h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
+_video_save_pointer_table: ; 0xc5593 LB 0x1c
+ db 0c3h, 048h, 000h, 0c0h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
-_vgafont8: ; 0xc55ae LB 0x800
+_vgafont8: ; 0xc55af LB 0x800
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 07eh, 081h, 0a5h, 081h, 0bdh, 099h, 081h, 07eh
db 07eh, 0ffh, 0dbh, 0ffh, 0c3h, 0e7h, 0ffh, 07eh, 06ch, 0feh, 0feh, 0feh, 07ch, 038h, 010h, 000h
db 010h, 038h, 07ch, 0feh, 07ch, 038h, 010h, 000h, 038h, 07ch, 038h, 0feh, 0feh, 07ch, 038h, 07ch
@@ -7008,7 +7138,7 @@ _vgafont8: ; 0xc55ae LB 0x800
db 000h, 000h, 000h, 000h, 018h, 000h, 000h, 000h, 00fh, 00ch, 00ch, 00ch, 0ech, 06ch, 03ch, 01ch
db 078h, 06ch, 06ch, 06ch, 06ch, 000h, 000h, 000h, 070h, 018h, 030h, 060h, 078h, 000h, 000h, 000h
db 000h, 000h, 03ch, 03ch, 03ch, 03ch, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
-_vgafont14: ; 0xc5dae LB 0xe00
+_vgafont14: ; 0xc5daf LB 0xe00
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 07eh, 081h, 0a5h, 081h, 081h, 0bdh, 099h, 081h, 07eh, 000h, 000h, 000h, 000h, 000h, 07eh, 0ffh
db 0dbh, 0ffh, 0ffh, 0c3h, 0e7h, 0ffh, 07eh, 000h, 000h, 000h, 000h, 000h, 000h, 06ch, 0feh, 0feh
@@ -7233,7 +7363,7 @@ _vgafont14: ; 0xc5dae LB 0xe00
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 070h, 0d8h, 030h, 060h, 0c8h, 0f8h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 07ch, 07ch, 07ch, 07ch, 07ch, 07ch, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
-_vgafont16: ; 0xc6bae LB 0x1000
+_vgafont16: ; 0xc6baf LB 0x1000
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 07eh, 081h, 0a5h, 081h, 081h, 0bdh, 099h, 081h, 081h, 07eh, 000h, 000h, 000h, 000h
db 000h, 000h, 07eh, 0ffh, 0dbh, 0ffh, 0ffh, 0c3h, 0e7h, 0ffh, 0ffh, 07eh, 000h, 000h, 000h, 000h
@@ -7490,7 +7620,7 @@ _vgafont16: ; 0xc6bae LB 0x1000
db 000h, 070h, 0d8h, 030h, 060h, 0c8h, 0f8h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 07ch, 07ch, 07ch, 07ch, 07ch, 07ch, 07ch, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
-_vgafont14alt: ; 0xc7bae LB 0x12d
+_vgafont14alt: ; 0xc7baf LB 0x12d
db 01dh, 000h, 000h, 000h, 000h, 024h, 066h, 0ffh, 066h, 024h, 000h, 000h, 000h, 000h, 000h, 022h
db 000h, 063h, 063h, 063h, 022h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 02bh, 000h
db 000h, 000h, 018h, 018h, 018h, 0ffh, 018h, 018h, 018h, 000h, 000h, 000h, 000h, 02dh, 000h, 000h
@@ -7510,7 +7640,7 @@ _vgafont14alt: ; 0xc7bae LB 0x12d
db 000h, 0fch, 066h, 066h, 07ch, 062h, 066h, 06fh, 066h, 066h, 0f3h, 000h, 000h, 000h, 0f1h, 000h
db 000h, 018h, 018h, 018h, 0ffh, 018h, 018h, 018h, 000h, 0ffh, 000h, 000h, 000h, 0f6h, 000h, 000h
db 018h, 018h, 000h, 000h, 0ffh, 000h, 000h, 018h, 018h, 000h, 000h, 000h, 000h
-_vgafont16alt: ; 0xc7cdb LB 0x145
+_vgafont16alt: ; 0xc7cdc LB 0x144
db 01dh, 000h, 000h, 000h, 000h, 000h, 024h, 066h, 0ffh, 066h, 024h, 000h, 000h, 000h, 000h, 000h
db 000h, 030h, 000h, 000h, 03ch, 066h, 0c3h, 0c3h, 0dbh, 0dbh, 0c3h, 0c3h, 066h, 03ch, 000h, 000h
db 000h, 000h, 04dh, 000h, 000h, 0c3h, 0e7h, 0ffh, 0ffh, 0dbh, 0c3h, 0c3h, 0c3h, 0c3h, 0c3h, 000h
@@ -7531,31 +7661,34 @@ _vgafont16alt: ; 0xc7cdb LB 0x145
db 09eh, 000h, 0fch, 066h, 066h, 07ch, 062h, 066h, 06fh, 066h, 066h, 066h, 0f3h, 000h, 000h, 000h
db 000h, 0abh, 000h, 0c0h, 0c0h, 0c2h, 0c6h, 0cch, 018h, 030h, 060h, 0ceh, 09bh, 006h, 00ch, 01fh
db 000h, 000h, 0ach, 000h, 0c0h, 0c0h, 0c2h, 0c6h, 0cch, 018h, 030h, 066h, 0ceh, 096h, 03eh, 006h
- db 006h, 000h, 000h, 000h, 000h
+ db 006h, 000h, 000h, 000h
_vbebios_copyright: ; 0xc7e20 LB 0x15
db 'VirtualBox VESA BIOS', 000h
_vbebios_vendor_name: ; 0xc7e35 LB 0x13
db 'Oracle Corporation', 000h
_vbebios_product_name: ; 0xc7e48 LB 0x21
db 'Oracle VM VirtualBox VBE Adapter', 000h
-_vbebios_product_revision: ; 0xc7e69 LB 0x23
- db 'Oracle VM VirtualBox Version 4.2.4', 000h
-_vbebios_info_string: ; 0xc7e8c LB 0x2b
+_vbebios_product_revision: ; 0xc7e69 LB 0x24
+ db 'Oracle VM VirtualBox Version 4.3.10', 000h
+_vbebios_info_string: ; 0xc7e8d LB 0x2b
db 'VirtualBox VBE Display Adapter enabled', 00dh, 00ah, 00dh, 00ah, 000h
-_no_vbebios_info_string: ; 0xc7eb7 LB 0x29
+_no_vbebios_info_string: ; 0xc7eb8 LB 0x29
db 'No VirtualBox VBE support available!', 00dh, 00ah, 00dh, 00ah, 000h
-section CONST progbits vstart=0x7ee0 align=1 ; size=0x0 class=DATA group=DGROUP
+ ; Padding 0x1 bytes at 0xc7ee1
+ db 001h
-section CONST2 progbits vstart=0x7ee0 align=1 ; size=0x0 class=DATA group=DGROUP
+section CONST progbits vstart=0x7ee2 align=1 ; size=0x0 class=DATA group=DGROUP
- ; Padding 0x120 bytes at 0xc7ee0
- db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
- db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
- db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
- db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
- db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
- db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
+section CONST2 progbits vstart=0x7ee2 align=1 ; size=0x0 class=DATA group=DGROUP
+
+ ; Padding 0x11e bytes at 0xc7ee2
+ db 000h, 000h, 000h, 000h, 001h, 000h, 000h, 000h, 000h, 000h, 000h, 02fh, 068h, 06fh, 06dh, 065h
+ db 02fh, 066h, 06dh, 033h, 02fh, 073h, 072h, 063h, 02fh, 076h, 062h, 06fh, 078h, 02dh, 034h, 02eh
+ db 033h, 02fh, 06fh, 075h, 074h, 02fh, 06ch, 069h, 06eh, 075h, 078h, 02eh, 061h, 06dh, 064h, 036h
+ db 034h, 02fh, 072h, 065h, 06ch, 065h, 061h, 073h, 065h, 02fh, 06fh, 062h, 06ah, 02fh, 056h, 042h
+ db 06fh, 078h, 056h, 067h, 061h, 042h, 069h, 06fh, 073h, 02fh, 056h, 042h, 06fh, 078h, 056h, 067h
+ db 061h, 042h, 069h, 06fh, 073h, 02eh, 073h, 079h, 06dh, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
@@ -7567,4 +7700,4 @@ section CONST2 progbits vstart=0x7ee0 align=1 ; size=0x0 class=DATA group=DGROUP
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h
- db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 0cch
+ db 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 068h
diff --git a/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.md5sum b/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.md5sum
index f33ee963..cb2d8015 100644
--- a/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.md5sum
+++ b/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative.md5sum
@@ -1 +1 @@
-1de522806e0717fd9235c1bf7f70bf1c *VBoxVgaBios.rom
+25d0dc05c628f90ff6b5aa5e3987ba1f *VBoxVgaBios.rom
diff --git a/src/VBox/Devices/Graphics/BIOS/inlines.h b/src/VBox/Devices/Graphics/BIOS/inlines.h
index f147698f..4b3fe3d8 100644
--- a/src/VBox/Devices/Graphics/BIOS/inlines.h
+++ b/src/VBox/Devices/Graphics/BIOS/inlines.h
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2010-2011 Oracle Corporation
+ * Copyright (C) 2010-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
diff --git a/src/VBox/Devices/Graphics/BIOS/vbe.c b/src/VBox/Devices/Graphics/BIOS/vbe.c
index 77b74a95..bc8d2bd0 100644
--- a/src/VBox/Devices/Graphics/BIOS/vbe.c
+++ b/src/VBox/Devices/Graphics/BIOS/vbe.c
@@ -178,7 +178,7 @@ static uint16_t mode_info_find_mode(uint16_t mode, Boolean using_lfb)
{
uint16_t sig, vmode, attrs;
uint16_t cur_info_ofs; /* Current offset in mode list. */
-
+
/* Read and check the VBE Extra Data signature. */
sig = in_word(VBE_EXTRA_PORT, 0);
if (sig != VBEHEADER_MAGIC) {
@@ -187,14 +187,14 @@ static uint16_t mode_info_find_mode(uint16_t mode, Boolean using_lfb)
#endif
return 0;
}
-
+
cur_info_ofs = sizeof(VBEHeader);
-
+
vmode = in_word(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, mode)/*&cur_info->mode*/);
while (vmode != VBE_VESA_MODE_END_OF_LIST)
{
attrs = in_word(VBE_EXTRA_PORT, /*&cur_info->info.ModeAttributes*/cur_info_ofs + offsetof(ModeInfoListItem, info.ModeAttributes) );
-
+
if (vmode == mode)
{
if (!using_lfb)
@@ -216,7 +216,7 @@ static uint16_t mode_info_find_mode(uint16_t mode, Boolean using_lfb)
static ModeInfoListItem* mode_info_find_mode(uint16_t mode, Boolean using_lfb)
{
ModeInfoListItem *cur_info = &mode_info_list;
-
+
while (cur_info->mode != VBE_VESA_MODE_END_OF_LIST)
{
if (cur_info->mode == mode)
@@ -649,7 +649,7 @@ void vbe_biosfn_restore_video_state(uint16_t ES, uint16_t BX)
* BX = Number of 64-byte blocks to hold the state buffer (if DL=00h)
*
*/
-void vbe_biosfn_save_restore_state(uint16_t STACK_BASED *AX, uint16_t CX, uint16_t DX,
+void vbe_biosfn_save_restore_state(uint16_t STACK_BASED *AX, uint16_t CX, uint16_t DX,
uint16_t ES, uint16_t STACK_BASED *BX)
{
uint16_t result, val;