This commit is contained in:
parent
0001282505
commit
7a2d7ea779
2 changed files with 3 additions and 3 deletions
2
bus.cpp
2
bus.cpp
|
@ -139,7 +139,7 @@ void bus::set_memory_size(const int n_pages)
|
|||
|
||||
mmu_->begin(m, c);
|
||||
|
||||
TRACE("Memory is now %u kB in size", n_bytes / 1024);
|
||||
TRACE("Memory is now %u kB (%d pages)", n_bytes / 1024, n_pages);
|
||||
}
|
||||
|
||||
void bus::reset()
|
||||
|
|
4
main.cpp
4
main.cpp
|
@ -113,7 +113,7 @@ int run_cpu_validation(console *const cnsl, const std::string & filename)
|
|||
// create environment
|
||||
event = 0;
|
||||
bus *b = new bus();
|
||||
b->set_memory_size(DEFAULT_N_PAGES * 8192l);
|
||||
b->set_memory_size(DEFAULT_N_PAGES);
|
||||
cpu *c = new cpu(b, &event);
|
||||
b->add_cpu(c);
|
||||
|
||||
|
@ -480,7 +480,7 @@ int main(int argc, char *argv[])
|
|||
if (set_ram_size.has_value())
|
||||
b->set_memory_size(set_ram_size.value());
|
||||
else
|
||||
b->set_memory_size(DEFAULT_N_PAGES * 8192l);
|
||||
b->set_memory_size(DEFAULT_N_PAGES);
|
||||
|
||||
b->set_console_switches(console_switches);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue