|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2024 nono project
4: // Licensed under nono-license.txt
5: //
6:
7: //
8: // VM (virt68k)
9: //
10:
11: #include "vm_virt68k.h"
12: #include "config.h"
13: #include "mainbus_virt68k.h"
14: #include "mpu680x0.h"
15: #include "power.h"
16: #include "renderer.h"
17:
18: // コンストラクタ
19: VM_Virt68k::VM_Virt68k()
20: : inherited("virt68k")
21: {
22: // 機種固有パラメータ
23: gConfig->SetDefault("mpu-clock", 25);
24: // RAM 初期値。適当。
25: gConfig->SetDefault("ram-size", 128);
26:
27: // デバイス
28: NEWDV(Power, new PowerDevice());
29: NEWDV(MPU, new MPU680x0Device());
30: NEWDV(Mainbus, new Virt68kMainbus());
31: NEWDV(Renderer, new NopRenderer());
32: }
33:
34: // デストラクタ
35: VM_Virt68k::~VM_Virt68k()
36: {
37: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.