From: Alan Cox Date: Thu, 9 Apr 2015 09:17:21 +0000 (+0100) Subject: devmdv: add mdv_csum X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0cb6fca7bf7df1d468b762c6d799dd834e55d480;p=FUZIX.git devmdv: add mdv_csum Just need to build the tree so I can get a map file. The code to actual compute the csum needs adding for write. --- diff --git a/Kernel/platform-zx128/devmdv.c b/Kernel/platform-zx128/devmdv.c index 8b0f5de8..e772bbff 100644 --- a/Kernel/platform-zx128/devmdv.c +++ b/Kernel/platform-zx128/devmdv.c @@ -17,11 +17,12 @@ static unsigned char mdvmap[MAX_MDV][256]; static uint8_t mdv_valid; /* Used by the asm helpers */ -uint8_t mdv_sector; uint8_t *mdv_buf; uint8_t mdv_hdr_buf[15]; +uint8_t mdv_sector; uint16_t mdv_len; uint8_t mdv_page; +uint8_t mdv_csum; static uint8_t mdv_tick; static uint8_t mdv_minor;