diff options
author | Volker Ruppert <info@vruppert.de> | 2004-06-25 18:28:16 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2004-06-25 18:28:16 +0000 |
commit | 31636b4178cd38528fe648a171222f7f686d7c39 (patch) | |
tree | 36feb1c44bf8ac938098de1db8662720624fc882 | |
parent | a9f91e7564a520ee24ef63121537978788ac9e9a (diff) | |
download | vgabios-31636b4178cd38528fe648a171222f7f686d7c39.tar.gz |
- 4MB memory probe added (patch from Fabrice Bellard)
-rw-r--r-- | clext.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -649,8 +649,18 @@ cirrus_extbios_85h: mov cl, al shr cl, #0x03 and cl, #0x03 + cmp cl, #0x03 + je c85h2 mov al, #0x04 shl al, cl + jmp c85h3 +c85h2: +;; 4MB or 2MB + and al, #0x80 + mov al, #0x20 ;; 2 MB + je c85h3 + mov al, #0x40 ;; 4 MB +c85h3: pop dx pop cx ret |