mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
vga memory address fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@591 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
68e73e391f
commit
c92b2e845f
1 changed files with 4 additions and 0 deletions
4
hw/vga.c
4
hw/vga.c
|
@ -494,6 +494,8 @@ static uint32_t vga_mem_readb(uint32_t addr)
|
|||
default:
|
||||
case 3:
|
||||
addr -= 0xb8000;
|
||||
if (addr >= 0x8000)
|
||||
return 0xff;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -570,6 +572,8 @@ void vga_mem_writeb(uint32_t addr, uint32_t val)
|
|||
default:
|
||||
case 3:
|
||||
addr -= 0xb8000;
|
||||
if (addr >= 0x8000)
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue