Changeset 51 for trunk/BOOTCODE/SETUP
- Timestamp:
- Apr 13, 2014, 3:50:38 PM (12 years ago)
- Location:
- trunk/BOOTCODE/SETUP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/SETUP/MAIN.ASM
r46 r51 20 20 ;--------------------------------------------------------------------------- 21 21 22 IFDEF ModuleNames22 IFDEF MODULE_NAMES 23 23 DB 'MAIN',0 24 24 ENDIF … … 71 71 SETUP_CheckEnterSETUP Proc Near 72 72 73 74 75 73 ; Rousseau: added 76 74 ;mov SETUP_ExitEvent, 0 … … 108 106 call PART_CalculateStraightPartPointers 109 107 110 call FX_StartScreen ; Start of new screen... 108 IFDEF FX_ENABLED 109 call FX_StartScreen ; Start of new screen... 110 ENDIF 111 111 112 call SETUP_DrawMenuBase 112 113 mov bp, offset SETUP_MainMenu … … 131 132 cmp ax, offset TXT_SETUPHELP_Main ; ask only in main-menu... 132 133 jne SMT_NotMainMenu 133 call FX_EndScreenLeft ; Do FX, if requested... 134 135 IFDEF FX_ENABLED 136 call FX_EndScreenLeft ; Do FX, if requested... 137 ENDIF 138 134 139 test byte ptr [CFG_PasswordSetup], 1 135 140 jz SMT_NotMainMenu … … 147 152 int 16h 148 153 pop dx 154 155 ;! 156 ;! DEBUG_PROBE 157 ;! 158 IFDEF AUX_DEBUGx 159 push 1234h 160 call DEBUG_Probe 161 call DEBUG_DumpIPT 162 call DEBUG_DumpRegisters 163 ENDIF 164 165 166 149 167 cmp ah, Keys_Up 150 168 je SMT_KeyUp … … 280 298 281 299 SMT_SaveAndExitNOW: ; Direct HackIn 300 301 ;! 302 ;! DEBUG_PROBE 303 ;! 304 IFDEF AUX_DEBUGx 305 push 1235h 306 call DEBUG_Probe 307 ENDIF 308 282 309 mov ax, offset SETUP_EnterMenu_SaveAndExitSetup 283 310 jmp SMT_DirectExecute 284 311 285 312 SMT_ExitWithoutSaving: ; Direct HackIn 313 ;! 314 ;! DEBUG_PROBE 315 ;! 316 IFDEF AUX_DEBUGx 317 push 1236h 318 call DEBUG_Probe 319 ENDIF 320 286 321 mov ax, offset SETUP_EnterMenu_ExitWithoutSaving 287 322 jmp SMT_DirectExecute … … 389 424 call VideoIO_Print ; ...and print it. 390 425 SDIOS_Name_NoItemName: 391 mov w ptr TextColorFore, dx426 mov word ptr [TextColorFore], dx 392 427 ret 393 428 … … 586 621 call VideoIO_Color 587 622 call VideoIO_Print ; white - 'contact via e-mail'... 588 mov cx, 0 800h623 mov cx, 0700h 589 624 call VideoIO_Color 590 625 call VideoIO_Print ; and finally the e-mail adress … … 1151 1186 SETUPMAGIC_InternalCopyTillNUL Proc Near Uses ax cx 1152 1187 SMICTN_Loop: 1188 1189 ;! 1190 ;! DEBUG_PROBE 1191 ;! 1192 IFDEF AUX_DEBUGx 1193 push 1239h 1194 call DEBUG_Probe 1195 call DEBUG_DumpRegisters 1196 call DEBUG_DumpIPT 1197 ENDIF 1198 1153 1199 lodsb 1154 1200 stosb … … 1173 1219 ; Cur Value in DL, Maximum Value in DH. Add/Sub in CL 1174 1220 SETUPMAGIC_InternalCheckUp Proc Near 1221 ;! 1222 ;! DEBUG_PROBE 1223 ;! 1224 IFDEF AUX_DEBUGx 1225 push 1238h 1226 call DEBUG_Probe 1227 call DEBUG_DumpRegisters 1228 ENDIF 1229 1175 1230 or cl, cl ; CL==0? -> Decrease 1176 1231 jz SMICU_Substract ; otherwise -> Increase … … 1579 1634 1580 1635 SETUPMAGIC_ChangeBIOSbootSeq Proc Near Uses ax bx cx dx si di 1636 ;! 1637 ;! DEBUG_PROBE 1638 ;! 1639 IFDEF AUX_DEBUGx 1640 push 1237h 1641 call DEBUG_Probe 1642 call DEBUG_DumpRegisters 1643 ENDIF 1644 1581 1645 mov di, si 1582 1646 mov dl, ds:[bx] ; Cur Timed-Key-Handling … … 1602 1666 1603 1667 shl bx, 1 1604 mov si, w ptr [ContinueBIOSbootTable+bx]1668 mov si, word ptr [ContinueBIOSbootTable+bx] 1605 1669 SMCBBS_CopyThiz: 1606 1670 add di, LocMENU_ItemPack ; DI points to ItemPack... -
trunk/BOOTCODE/SETUP/MENUS.ASM
r50 r51 55 55 ; 56 56 57 IFDEF ModuleNames57 IFDEF MODULE_NAMES 58 58 DB 'MENUS',0 59 59 ENDIF … … 85 85 dw offset SETUP_EnterMenu_ExtendedOptions, 0 86 86 dw offset TXT_SETUP_ExtOptions, offset TXT_SETUPHELP_ExtOptions 87 87 88 ; The Menu-Items of the right side start here... 88 89 dw offset SETUP_EnterMenu_DefineMasterPassword, 0 … … 132 133 dw offset TXT_SETUP_IncludeFloppy, offset TXT_SETUPHELP_IncludeFloppy 133 134 dw 6 dup (0) 134 dw 0, 0 135 dw 0, 0 135 136 ; Show LVM Drive Letters or not 137 dw offset SETUPMAGIC_EnableDisable, offset CFG_MiscFlags 138 dw offset TXT_SETUP_ShowLVMDriveLetters, offset TXT_SETUPHELP_ShowLVMDriveLetters 139 dw 6 dup (0) 140 141 ;~ dw 0, 0 142 ;~ dw 0, 0 143 144 136 145 dw offset SETUPMAGIC_EnableDisable, offset CFG_ProtectMBR 137 146 dw offset TXT_SETUP_MbrProtection, offset TXT_SETUPHELP_MbrProtection -
trunk/BOOTCODE/SETUP/PART_SET.ASM
r49 r51 20 20 ;--------------------------------------------------------------------------- 21 21 22 IFDEF ModuleNames22 IFDEF MODULE_NAMES 23 23 DB 'PART_SET',0 24 24 ENDIF … … 41 41 int 16h 42 42 pop dx 43 44 ; 45 ; INSERT DEBUG KEYHANDLER HERE ? 46 ; 47 43 48 cmp ah, Keys_Up 44 49 je PSM_KeyUp … … 143 148 mov [si+LocIPT_Flags], al 144 149 xor ax, ax 145 mov w ptr [si+LocIPT_BootRecordCRC], ax150 mov word ptr [si+LocIPT_BootRecordCRC], ax 146 151 call PARTSETUP_DrawPartitionInfo 147 152 call PARTSETUP_BuildChoiceBar
Note:
See TracChangeset
for help on using the changeset viewer.
