Changeset 59 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc
- Timestamp:
- Nov 19, 2010, 10:59:52 AM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc
r57 r59 2 2 ; Project name : XTIDE Univeral BIOS Configurator v2 3 3 ; Created date : 5.10.2010 4 ; Last update : 1 .11.20104 ; Last update : 19.11.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Global variables for configuration program. … … 22 22 .wImageSize resb 2 ; Size in bytes for BIOS image to be flashed (0=65536) 23 23 .wEepromSegment resb 2 ; Segment where EEPROM is located 24 .bPageSize resb 1 ; EEPROM page size in bytes 24 .bEepromType resb 1 ; EEPROM type 25 .bEepromPageSize resb 1 ; EEPROM page size in bytes 25 26 .bSdpCommand resb 1 ; Command for Software Data Protection 27 resb 1 26 28 .szOpenedFile resb FILENAME_BUFFER_SIZE 27 29 .flashVars resb FLASHVARS_size … … 34 36 FLG_CFGVARS_CHECKSUM EQU (1<<3) ; Generate checksum byte 35 37 36 ; SDP command for CFGVARS.bSdpCommand 37 CMD_SDP_NONE EQU (0<<1) ; Do not use any SDP command 38 CMD_SDP_ENABLE EQU (1<<1) ; Flash with SDP enable command 39 CMD_SDP_DISABLE EQU (2<<1) ; Flash with SDP disable command 38 ; EEPROM types 39 struc EEPROM_TYPE 40 .2816_2kiB resb 2 41 .2832_4kiB resb 2 42 .2864_8kiB resb 2 43 .28128_16kiB resb 2 44 .28256_32kiB resb 2 45 .28512_64kiB resb 2 46 endstruc 47 48 ; Software Data Protection commands 49 struc SDP_COMMAND 50 .none resb 2 ; Do not use any SDP command 51 .enable resb 2 ; Flash with SDP enable command 52 .disable resb 2 ; Flash with SDP disable command 53 endstruc 54 55 ; Page sizes 56 struc EEPROM_PAGE_SIZE 57 .1_byte resb 2 58 .2_bytes resb 2 59 .4_bytes resb 2 60 .8_bytes resb 2 61 .16_bytes resb 2 62 .32_bytes resb 2 63 .64_bytes resb 2 64 endstruc 40 65 41 66 ; Default CFGVARS settings 42 67 DEFAULT_CFGVARS_FLAGS EQU FLG_CFGVARS_CHECKSUM 43 68 DEFAULT_EEPROM_SEGMENT EQU 0D000h 44 DEFAULT_PAGE_SIZE EQU 145 DEFAULT_SDP_COMMAND EQU CMD_SDP_ENABLE69 DEFAULT_PAGE_SIZE EQU EEPROM_PAGE_SIZE.1_byte 70 DEFAULT_SDP_COMMAND EQU SDP_COMMAND.enable 46 71 47 72
Note:
See TracChangeset
for help on using the changeset viewer.