mirror of
https://github.com/open-simh/simh.git
synced 2026-02-27 01:10:17 +00:00
3B2: Support 4M RAM config on 3B2/700
This commit is contained in:
committed by
Paul Koning
parent
3e0214aed0
commit
9fc0751c74
@@ -367,6 +367,8 @@ MTAB cpu_mod[] = {
|
||||
&cpu_set_size, NULL, NULL, "Set Memory to 4M bytes" },
|
||||
#endif
|
||||
#if defined(REV3)
|
||||
{ UNIT_MSIZE, (1u << 22), NULL, "4M",
|
||||
&cpu_set_size, NULL, NULL, "Set Memory to 4M bytes" },
|
||||
{ UNIT_MSIZE, (1u << 23), NULL, "8M",
|
||||
&cpu_set_size, NULL, NULL, "Set Memory to 8M bytes" },
|
||||
{ UNIT_MSIZE, (1u << 24), NULL, "16M",
|
||||
|
||||
@@ -741,6 +741,12 @@ DEVICE flt_dev = {
|
||||
*/
|
||||
static uint32 mem_size(uint8 slot) {
|
||||
switch(MEM_SIZE) {
|
||||
case MSIZ_4M:
|
||||
if (slot == 0) {
|
||||
return MEM_EQP|MEM_4M;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
case MSIZ_8M:
|
||||
if (slot <= 1) {
|
||||
return MEM_EQP|MEM_4M;
|
||||
|
||||
Reference in New Issue
Block a user