Changeset 65 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc
- Timestamp:
- Dec 5, 2010, 6:52:11 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc
r63 r65 2 2 ; Project name : XTIDE Univeral BIOS Configurator v2 3 3 ; Created date : 5.10.2010 4 ; Last update : 19.11.20104 ; Last update : 2.12.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Global variables for configuration program. … … 12 12 EEPROM_POLLING_TIMEOUT_TICKS EQU 3 ; 1 tick = 54.9 ms 13 13 XTIDE_SIGNATURE_LENGTH EQU 8 ; XTIDE Universal BIOS signature string length 14 NUMBER_OF_ SUPPORTED_EEPROM_SIZES EQU 514 NUMBER_OF_EEPROM_TYPES EQU 4 15 15 MAX_EEPROM_SIZE EQU 65536 16 16 … … 20 20 .pMenupage resb 2 ; Offset to MENUPAGE to display 21 21 .wFlags resb 2 ; Program flags 22 .wImageSize resb 2 ; Size in bytes for BIOS image to be flashed (0=65536)22 .wImageSizeInWords resb 2 ; Size in words for loaded ROM or FILE 23 23 .wEepromSegment resb 2 ; Segment where EEPROM is located 24 24 .bEepromType resb 1 ; EEPROM type 25 .bEepromPage Size resb 1 ; EEPROM page size in bytes25 .bEepromPage resb 1 ; EEPROM page size (EEPROM_PAGE) 26 26 .bSdpCommand resb 1 ; Command for Software Data Protection 27 27 resb 1 28 28 .szOpenedFile resb FILENAME_BUFFER_SIZE 29 .flashVars resb FLASHVARS_size30 29 endstruc 31 30 … … 52 51 53 52 ; Page sizes 54 struc EEPROM_PAGE _SIZE53 struc EEPROM_PAGE 55 54 .1_byte resb 2 56 55 .2_bytes resb 2 … … 66 65 DEFAULT_EEPROM_SEGMENT EQU 0D000h 67 66 DEFAULT_EEPROM_TYPE EQU EEPROM_TYPE.2864_8kiB 68 DEFAULT_PAGE_SIZE EQU EEPROM_PAGE _SIZE.1_byte67 DEFAULT_PAGE_SIZE EQU EEPROM_PAGE.1_byte 69 68 DEFAULT_SDP_COMMAND EQU SDP_COMMAND.enable 70 69 … … 72 71 ; Variables required for flashing 73 72 struc FLASHVARS 74 .wTotalPages resb 2 ; Total number of pages to write 75 .wPagesLeft resb 2 ; Pages left to write 76 .wByteOffset resb 2 ; Offset to byte to write next 73 .fpNextSourcePage resb 4 74 .fpNextComparisonPage resb 4 75 .fpNextDestinationPage resb 4 76 .wPagesToFlash resb 2 ; 0 = 65536 77 .wEepromPageSize resb 2 ; 1, 2, 4, 8, 16, 32 or 64 78 .bEepromSdpCommand resb 1 79 .bEepromType resb 1 80 81 .wProgressUpdateParam resb 2 82 .wTimeoutCounter resb 2 83 .wLastOffsetWritten resb 2 84 .bLastByteWritten resb 1 85 .flashResult resb 1 86 endstruc 87 88 ; Flashing results 89 struc FLASH_RESULT 90 .success resb 2 91 .PollingTimeoutError resb 2 92 .DataVerifyError resb 2 77 93 endstruc 78 94
Note:
See TracChangeset
for help on using the changeset viewer.