Memory detection fixes for IBM PS/2 machines (#6309)

Fix IBM PS/2 model 50 and 60 with 1MB memory, and correct IBM PS/2 model 30-286 maximum onboard memory
This commit is contained in:
WNT50
2025-10-10 12:08:39 +08:00
committed by GitHub
parent 640bd2b5ca
commit 5bd7198f63
2 changed files with 56 additions and 6 deletions

View File

@@ -3105,7 +3105,7 @@ const machine_t machines[] = {
.flags = MACHINE_XTA | MACHINE_VIDEO_FIXED,
.ram = {
.min = 512,
.max = 16384,
.max = 4096,
.step = 512
},
.nvrmask = 127,
@@ -4959,7 +4959,7 @@ const machine_t machines[] = {
.flags = MACHINE_VIDEO,
.ram = {
.min = 1024,
.max = 10240,
.max = 12288,
.step = 1024
},
.nvrmask = 63,