diff options
author | Steffen Winterfeldt <wfeldt@opensuse.org> | 2009-10-22 15:16:26 +0200 |
---|---|---|
committer | Steffen Winterfeldt <wfeldt@opensuse.org> | 2009-10-22 15:16:26 +0200 |
commit | baa845748ed3125986ff78631c183c6993db1aeb (patch) | |
tree | e58398c1c88c067adfdefc6752f7bdfd465be7d0 | |
parent | a0b78ae850767c279020f94984df48d23f6dec11 (diff) |
- menu layout can be in high memory
-rw-r--r-- | bincode.asm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bincode.asm b/bincode.asm index 40f3014..4f1b180 100644 --- a/bincode.asm +++ b/bincode.asm @@ -1236,6 +1236,10 @@ gfx_menu_init: movzx edi,word [es:esi+menu_ent_list+2] shl edi,4 add edi,eax + cmp esi,1 << 20 + jb .low_mem + mov edi,[es:esi+menu_ent_list] +.low_mem: or ecx,ecx jz gfx_menu_init_45 gfx_menu_init_40: @@ -1257,6 +1261,10 @@ gfx_menu_init_45: movzx edi,word [es:esi+menu_arg_list+2] shl edi,4 add edi,eax + cmp esi,1 << 20 + jb .low_mem + mov edi,[es:esi+menu_arg_list] +.low_mem: or ecx,ecx jz gfx_menu_init_55 gfx_menu_init_50: @@ -1272,6 +1280,10 @@ gfx_menu_init_55: movzx edi,word [es:esi+menu_default+2] shl edi,4 add eax,edi + cmp esi,1 << 20 + jb .low_mem + mov eax,[es:esi+menu_default] +.low_mem: mov [tmp_var_3],eax mov ecx,cb_MenuInit |