From f87f77b806f1c57cdfdfff246b8b27030b8c4297 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 31 Jan 2018 15:58:57 -0600 Subject: [PATCH] Add ENC_VOLUME definition --- include/apple2.enc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/apple2.enc.h b/include/apple2.enc.h index 2c7a538..5cd23ad 100644 --- a/include/apple2.enc.h +++ b/include/apple2.enc.h @@ -4,6 +4,13 @@ #include "vm_bits.h" #include "vm_segment.h" +/* + * This is a magic number for the disk volume; I haven't experimented + * with using other values for it, and this one in particular is used in + * WinApple, so I went with it. + */ +#define ENC_VOLUME 0xfe + extern int apple2_enc_4n4(vm_segment *, int, vm_8bit); extern int apple2_enc_sector(vm_segment *, vm_segment *, int, int); extern int apple2_enc_sector_header(vm_segment *, int, int, int);