1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-18 22:06:01 +00:00

Add ENC_VOLUME definition

This commit is contained in:
Peter Evans 2018-01-31 15:58:57 -06:00
parent 323803866a
commit f87f77b806

View File

@ -4,6 +4,13 @@
#include "vm_bits.h" #include "vm_bits.h"
#include "vm_segment.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_4n4(vm_segment *, int, vm_8bit);
extern int apple2_enc_sector(vm_segment *, vm_segment *, int, int); extern int apple2_enc_sector(vm_segment *, vm_segment *, int, int);
extern int apple2_enc_sector_header(vm_segment *, int, int, int); extern int apple2_enc_sector_header(vm_segment *, int, int, int);