From f7e1599919eeabb8abf6f3402a0626300df5d4e7 Mon Sep 17 00:00:00 2001 From: Astrid Smith Date: Thu, 20 Oct 2011 22:30:09 -0700 Subject: Interrupts and documentation changes --- image_format.txt | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) (limited to 'image_format.txt') diff --git a/image_format.txt b/image_format.txt index f2befa7..c96b5a7 100644 --- a/image_format.txt +++ b/image_format.txt @@ -10,14 +10,10 @@ the page files. This way multiple images can share the same data. 0x0680 ** Size (page only) 0x4000 -** Checksum - CRC-16 of the whole page -** Version - string-32, 0-terminated ** Page number - Byte + word ** Calculator model - Byte, some undefined enum + word, enum 'models' in image.h * Fields in the descriptor file: @@ -29,14 +25,25 @@ the page files. This way multiple images can share the same data. string-32, 0-terminated ** Data - List of these records: -*** Page number + Tagged list of these records: +*** Page number - 'PG' word - 0x00?? for a real page - 0xffff for final record -*** Checksum +*** Checksum - 'CK' word -*** Version - string-32, 0-term -*** Calculator model + CRC-16 of page, as in page image file +*** Version - 'VE' + string, 0-terminated +*** Calculator model - 'MD' Byte, same undefined enum +** Registers - 'RG' + Tagged list of registers +*** A - 'A' +*** F - 'F' +*** BC - 'BC' +*** DE - 'DE' +*** HL - 'HL' +*** SP - 'SP' +*** PC - 'PC' +*** I - 'I' +** Other state +*** Pages presently paged in - 'IN' -- cgit v1.2.3