Commit bb058620 authored by bellard's avatar bellard
Browse files

refuse write accesses in BIOS area (aka EMM386.EXE fix) (Mike Nordell)

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 9eb153f1
......@@ -302,6 +302,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
/* setup basic memory access */
cpu_register_physical_memory(0xc0000, 0x10000, 0xc0000 | IO_MEM_ROM);
cpu_register_physical_memory(0xd0000, 0x20000, IO_MEM_UNASSIGNED);
cpu_register_physical_memory(0xf0000, 0x10000, 0xf0000 | IO_MEM_ROM);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment