Merge pull request #1529 from 86Box/master

Bringing the branch up to par with master.
This commit is contained in:
Miran Grča
2021-07-05 01:32:45 +02:00
committed by GitHub
8 changed files with 5225 additions and 7 deletions

View File

@@ -30,6 +30,7 @@
#include <86box/timer.h>
#include <86box/nvr.h>
#include <86box/plat.h>
#include <86box/m_xt_xi8088.h>
typedef struct sst_t
@@ -372,7 +373,7 @@ sst_init(const device_t *info)
else if (dev->id == SST_ID_SST39SF040)
dev->size = 0x80000;
else
dev->size = 0x20000;
dev->size = ((dev->id == SST_ID_SST39SF010) && (strstr(machine_get_internal_name_ex(machine), "xi8088")) && !xi8088_bios_128kb()) ? 0x10000 : 0x20000;
dev->mask = dev->size - 1;
dev->page_mask = dev->mask & 0xffffff80; /* Filter out A0-A6. */
dev->sdp = 1;