MC_NVRAM_START
return (mc146818_read(NULL, byteno + MC_NVRAM_START) & 0xff);
#define NVRAM_CSUM_START (MC_NVRAM_START + 2)
#define NVRAM_CSUM_END (MC_NVRAM_START + 31)
#define NVRAM_CSUM_LOC (MC_NVRAM_START + 32)
#define NVRAM_SIZE (128 - MC_NVRAM_START)
#define NVRAM_DIAG (MC_NVRAM_START + 0) /* RTC offset 0xe */
#define NVRAM_RESET (MC_NVRAM_START + 1) /* RTC offset 0xf */
#define NVRAM_DISKETTE (MC_NVRAM_START + 2) /* RTC offset 0x10 */
#define NVRAM_EQUIPMENT (MC_NVRAM_START + 6)
#define NVRAM_BASELO (MC_NVRAM_START + 7) /* low byte; RTC off. 0x15 */
#define NVRAM_BASEHI (MC_NVRAM_START + 8) /* high byte; RTC off. 0x16 */
#define NVRAM_EXTLO (MC_NVRAM_START + 9) /* low byte; RTC off. 0x17 */
#define NVRAM_EXTHI (MC_NVRAM_START + 10) /* high byte; RTC off. 0x18 */
#define NVRAM_PEXTLO (MC_NVRAM_START + 34) /* low byte; RTC off. 0x30 */
#define NVRAM_PEXTHI (MC_NVRAM_START + 35) /* high byte; RTC off. 0x31 */
#define NVRAM_CENTURY (MC_NVRAM_START + 36) /* RTC offset 0x32 */
return (mc146818_read(NULL, byteno + MC_NVRAM_START) & 0xff);
#define NVRAM_CSUM_START (MC_NVRAM_START + 2)
#define NVRAM_CSUM_END (MC_NVRAM_START + 31)
#define NVRAM_CSUM_LOC (MC_NVRAM_START + 32)
#define NVRAM_SIZE (128 - MC_NVRAM_START)
#define NVRAM_DIAG (MC_NVRAM_START + 0) /* RTC offset 0xe */
#define NVRAM_RESET (MC_NVRAM_START + 1) /* RTC offset 0xf */
#define NVRAM_DISKETTE (MC_NVRAM_START + 2) /* RTC offset 0x10 */
#define NVRAM_EQUIPMENT (MC_NVRAM_START + 6)
#define NVRAM_BASELO (MC_NVRAM_START + 7) /* low byte; RTC off. 0x15 */
#define NVRAM_BASEHI (MC_NVRAM_START + 8) /* high byte; RTC off. 0x16 */
#define NVRAM_EXTLO (MC_NVRAM_START + 9) /* low byte; RTC off. 0x17 */
#define NVRAM_EXTHI (MC_NVRAM_START + 10) /* high byte; RTC off. 0x18 */
#define NVRAM_PEXTLO (MC_NVRAM_START + 34) /* low byte; RTC off. 0x30 */
#define NVRAM_PEXTHI (MC_NVRAM_START + 35) /* high byte; RTC off. 0x31 */
#define NVRAM_CENTURY (MC_NVRAM_START + 36) /* RTC offset 0x32 */
case MC_NVRAM_START ... MC_NVRAM_START + MC_NVRAM_SIZE: