--- nono/vm/human68k.h 2026/04/29 17:04:58 1.1.1.7 +++ nono/vm/human68k.h 2026/04/29 17:05:10 1.1.1.8 @@ -4,18 +4,25 @@ // Licensed under nono-license.txt // +// +// Human68k .r .x .z console emulator +// + #pragma once #include "device.h" #include "ram.h" #include "m68030.h" -// Human68k console emulator - // Human68k 構造 class Human68k : public Device { using inherited = Device; + + static const uint32 default_load_addr = 0x20000; + + static const int FilesCount = 256; + public: // .X ファイルのヘッダ構造 struct XFileHeader { @@ -95,8 +102,7 @@ class Human68k : public Device uint32 data_size {}; // データセクションサイズ uint32 bss_size {}; // BSS セクションサイズ(記録用) - const uint32 default_load_addr = 0x20000; - - static const int FilesCount = 256; File Files[FilesCount] {}; }; + +extern Human68k *gHuman68k;