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);