Changeset 481 in xtideuniversalbios
- Timestamp:
- Oct 27, 2012, 12:52:21 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r457 r481 25 25 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! 26 26 %include "Romvars.inc" ; XTIDE Universal BIOS variables 27 %include "XTCF.inc" ; For XT-CF modes 27 28 28 29 %include "Version.inc" -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r459 r481 188 188 189 189 g_rgwChoiceToValueLookupForDevice: 190 dw DEVICE_8BIT_JRIDE_ISA191 dw DEVICE_8BIT_XTCF192 dw DEVICE_8BIT_XTIDE_REV2193 dw DEVICE_8BIT_XTIDE_REV1194 190 dw DEVICE_16BIT_ATA 195 191 dw DEVICE_32BIT_ATA 192 dw DEVICE_8BIT_ATA 193 dw DEVICE_8BIT_XTIDE_REV1 194 dw DEVICE_8BIT_XTIDE_REV2 195 dw DEVICE_8BIT_XTCF_PIO8 196 dw DEVICE_8BIT_XTCF_DMA 197 dw DEVICE_8BIT_XTCF_MEMMAP 198 dw DEVICE_8BIT_JRIDE_ISA 196 199 dw DEVICE_SERIAL_PORT 197 200 g_rgszValueToStringLookupForDevice: 198 dw g_szValueCfgDeviceJrIdeIsa199 dw g_szValueCfgDeviceFast200 dw g_szValueCfgDeviceRev2201 dw g_szValueCfgDeviceRev1202 201 dw g_szValueCfgDevice16b 203 202 dw g_szValueCfgDevice32b 203 dw g_szValueCfgDevice8b 204 dw g_szValueCfgDeviceRev1 205 dw g_szValueCfgDeviceRev2 206 dw g_szValueCfgDevicePioXTCF 207 dw g_szValueCfgDeviceDmaXTCF 208 dw g_szValueCfgDeviceMemXTCF 209 dw g_szValueCfgDeviceJrIdeIsa 204 210 dw g_szValueCfgDeviceSerial 205 211 … … 297 303 mov [cs:g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 298 304 299 lea ax, [bx+IDEVARS.w Port]305 lea ax, [bx+IDEVARS.wBasePort] 300 306 mov [cs:g_MenuitemIdeControllerCommandBlockAddress+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 301 307 … … 306 312 mov [cs:g_MenuitemIdeControllerSerialBaud+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 307 313 308 lea ax, [bx+IDEVARS.w PortCtrl]314 lea ax, [bx+IDEVARS.wControlBlockPort] 309 315 mov [cs:g_MenuitemIdeControllerControlBlockAddress+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset], ax 310 316 … … 358 364 call Buffers_GetRomvarsValueToAXfromOffsetInBX 359 365 mov bx, g_MenuitemIdeControllerEnableInterrupt 360 cmp al, DEVICE_ SERIAL_PORT366 cmp al, DEVICE_8BIT_XTIDE_REV2 361 367 jae SHORT .DisableMenuitemFromCSBX 362 cmp al, DEVICE_8BIT_XTCF363 jbe SHORT .DisableMenuitemFromCSBX364 368 365 369 call .EnableMenuitemFromCSBX … … 536 540 mov bl,[es:di] ; what is the current Device? 537 541 538 add di,IDEVARS.w Port - IDEVARS.bDevice ; Get ready to set the Port addresses542 add di,IDEVARS.wBasePort - IDEVARS.bDevice ; Get ready to set the Port addresses 539 543 540 544 cmp al,DEVICE_SERIAL_PORT … … 556 560 557 561 .writeNonSerial: 558 stosw ; Store defaults in IDEVARS.w Port and IDEVARS.wPortCtrl562 stosw ; Store defaults in IDEVARS.wBasePort and IDEVARS.wBasePortCtrl 559 563 xchg bx, ax 560 564 stosw … … 566 570 jz .done ; if we were already serial, nothing to do 567 571 568 mov byte [es:di+IDEVARS.bSerialBaud-IDEVARS.w Port],SERIAL_DEFAULT_BAUD572 mov byte [es:di+IDEVARS.bSerialBaud-IDEVARS.wBasePort],SERIAL_DEFAULT_BAUD 569 573 570 574 mov al,SERIAL_DEFAULT_COM 571 add di,IDEVARS.bSerialCOMPortChar-IDEVARS.w Port575 add di,IDEVARS.bSerialCOMPortChar-IDEVARS.wBasePort 572 576 call IdeControllerMenu_SerialWriteCOM 573 577 stosb -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm
r459 r481 24 24 g_szProgramTitle: 25 25 db "Configuration and Flashing program for XTIDE Universal BIOS v2.0.0.",LF,CR,NULL 26 g_szXtideUniversalBiosSignature: db "XTIDE20 1",NULL26 g_szXtideUniversalBiosSignature: db "XTIDE203",NULL 27 27 g_szBiosIsNotLoaded: db "BIOS is not loaded!",NULL 28 28 g_szEEPROM: db "EEPROM",NULL … … 238 238 239 239 g_szMultichoiceCfgDevice: 240 db "JR-IDE/ISA",LF241 db "Lo-tech XT-CF",LF242 db "XTIDE rev 2 or modded rev 1",LF243 db "XTIDE rev 1",LF244 240 db "16-bit ISA/VLB/PCI IDE",LF 245 241 db "32-bit VLB/PCI IDE",LF 242 db "16-bit ISA IDE in 8-bit mode",LF 243 db "XTIDE rev 1",LF 244 db "XTIDE rev 2 or modded rev 1",LF 245 db "Lo-tech XT-CF in PIO mode",LF 246 db "Lo-tech XT-CF in DMA mode",LF 247 db "Lo-tech XT-CF in memory mode",LF 248 db "JR-IDE/ISA",LF 246 249 db "Serial port virtual device",NULL 247 250 251 g_szValueCfgDevice16b: db "16-bit",NULL 252 g_szValueCfgDevice32b: db "32-bit",NULL 253 g_szValueCfgDevice8b: db "8-bit",NULL 254 g_szValueCfgDeviceRev1: db "XTIDE r1",NULL 255 g_szValueCfgDeviceRev2: db "XTIDE r2",NULL 256 g_szValueCfgDevicePioXTCF: db "XTCF PIO",NULL 257 g_szValueCfgDeviceDmaXTCF: db "XTCF DMA",NULL 258 g_szValueCfgDeviceMemXTCF: db "XTCF MEM",NULL 259 g_szValueCfgDeviceJrIdeIsa: db "JR-ISA",NULL 260 g_szValueCfgDeviceSerial: db "Serial",NULL 248 261 249 262 g_szSerialCOMChoice: … … 296 309 297 310 298 g_szValueCfgDeviceJrIdeIsa: db "JR-ISA",NULL299 g_szValueCfgDeviceFast: db "XT-CF",NULL300 g_szValueCfgDeviceRev2: db "XTIDE r2",NULL301 g_szValueCfgDeviceRev1: db "XTIDE r1",NULL302 g_szValueCfgDevice16b: db "16-bit",NULL303 g_szValueCfgDevice32b: db "32-bit",NULL304 g_szValueCfgDeviceSerial: db "Serial",NULL305 306 307 311 308 312 ; Strings for DRVPARAMS menu -
trunk/XTIDE_Universal_BIOS_Configurator_v2/makefile
r425 r481 47 47 LIBS += ../Assembly_Library/Src/Util/ 48 48 LIBS += ../XTIDE_Universal_BIOS/Inc/ 49 LIBS += ../XTIDE_Universal_BIOS/Inc/Controllers/ 49 50 HEADERS += $(LIBS) 50 51
Note:
See TracChangeset
for help on using the changeset viewer.