--- nono/host/aout.h 2026/04/29 17:04:33 1.1.1.2 +++ nono/host/aout.h 2026/04/29 17:04:57 1.1.1.3 @@ -11,8 +11,12 @@ // NetBSD の あたり参考。 #define AOUT_MID(x) (((x) >> 16) & 0x3ff) -#define AOUT_MID_M68K (0x87) // m68k (8K pages) -#define AOUT_MID_M88K (0x99) +// UniOS-Mach の a.out の machine id はこの辺りで定義されてるやつらしい +// http://www.cs.cmu.edu/afs/cs/project/mach/public/src/mkernel/src/kernel/luna88k/exec.h +#define AOUT_MID_MACH_M88K (0x04) +#define AOUT_MID_BSD_M68K8K (0x87) // 8K page sizes +#define AOUT_MID_BSD_M68K4K (0x88) // 4K page sizes +#define AOUT_MID_BSD_M88K (0x99) #define AOUT_OMAGIC (0x0107)