Changeset 596 in xtideuniversalbios for trunk/Assembly_Library
- Timestamp:
- Jul 10, 2018, 1:20:11 AM (6 years ago)
- Location:
- trunk/Assembly_Library
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/AssemblyLibrary.inc
r593 r596 9 9 %include "BiosData.inc" 10 10 %include "BiosFunctions.inc" 11 %include "CgaSnow.inc" 11 12 %include "CMOS.inc" 12 %include "CgaSnow.inc"13 13 %include "Debug.inc" 14 14 %include "Delay.inc" 15 15 %include "DosFunctions.inc" 16 %include "CMOS.inc"17 16 %include "File.inc" 18 17 %include "Math.inc" … … 27 26 %define INCLUDE_KEYBOARD_LIBRARY 28 27 %define INCLUDE_TIME_LIBRARY 29 28 30 29 %ifdef INCLUDE_MENU_DIALOGS 31 30 %include "Dialog.inc" -
trunk/Assembly_Library/Inc/BiosFunctions.inc
r593 r596 66 66 67 67 ; BIOS PCI 2.0+ functions 68 PCI_INSTALLATION_CHECK 68 PCI_INSTALLATION_CHECK EQU 0B101h 69 69 70 70 -
trunk/Assembly_Library/Inc/Emulate.inc
r592 r596 18 18 ;%define USE_386 ; Define to use 386 instructions 19 19 ;%define USE_AT ; Define for AT class machine 20 21 %ifdef USE_NEC_V ; This will run on NEC V20/V30 processors only 22 %define USE_186 ; Define to use 18x/V20/V30 instructions 23 %ifdef USE_UNDOC_INTEL OR USE_286 OR USE_386 24 %fatal "Conflicting processor define used together with USE_NEC_V!" 25 %endif 26 %endif 20 27 21 28 %ifdef USE_386 … … 87 94 %endif 88 95 %endmacro 96 97 98 %ifdef USE_NEC_V 99 %include "NEC_V.inc" 100 %endif 89 101 90 102 -
trunk/Assembly_Library/Inc/Macros.inc
r593 r596 125 125 126 126 ;-------------------------------------------------------------------- 127 ; Small delay between I/O port accesses sif needed.127 ; Small delay between I/O port accesses if needed. 128 128 ; 129 129 ; IO_DELAY -
trunk/Assembly_Library/Src/Menu/Dialog/DialogDrive.asm
r526 r596 29 29 ; Nothing 30 30 ; Corrupts registers: 31 ; AX, BX, CX, DX, SI,DI31 ; AX, BX, CX, DX, DI 32 32 ;-------------------------------------------------------------------- 33 33 ALIGN JUMP_ALIGN -
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r593 r596 49 49 pop dx 50 50 cmp BYTE [si+FILE_DIALOG_IO.bUserCancellation], TRUE 51 je Drive_SetDefaultFromDL 51 jne SHORT .UserDidNotCancel 52 jmp Drive_SetDefaultFromDL 53 54 .UserDidNotCancel: 52 55 ret 53 56 -
trunk/Assembly_Library/Src/Menu/Dialog/DialogMessage.asm
r526 r596 30 30 ; Nothing 31 31 ; Corrupts registers: 32 ; AX, BX, CX, DX, SI,DI32 ; AX, BX, CX, DX, DI 33 33 ;-------------------------------------------------------------------- 34 34 ALIGN JUMP_ALIGN -
trunk/Assembly_Library/Src/Menu/Dialog/DialogProgress.asm
r526 r596 30 30 ; Nothing 31 31 ; Corrupts registers: 32 ; AX, BX, CX, DX, SI,DI32 ; AX, BX, CX, DX, DI 33 33 ;-------------------------------------------------------------------- 34 34 ALIGN JUMP_ALIGN -
trunk/Assembly_Library/Src/Menu/Dialog/DialogSelection.asm
r526 r596 30 30 ; Nothing 31 31 ; Corrupts registers: 32 ; AX, BX, CX, DX, SI,DI32 ; AX, BX, CX, DX, DI 33 33 ;-------------------------------------------------------------------- 34 34 ALIGN JUMP_ALIGN -
trunk/Assembly_Library/Src/Menu/Dialog/DialogString.asm
r568 r596 29 29 ; Nothing 30 30 ; Corrupts registers: 31 ; AX, BX, CX, DX, SI,DI31 ; AX, BX, CX, DX, DI 32 32 ;-------------------------------------------------------------------- 33 33 ALIGN JUMP_ALIGN -
trunk/Assembly_Library/Src/Menu/Dialog/DialogWord.asm
r568 r596 30 30 ; Nothing 31 31 ; Corrupts registers: 32 ; AX, BX, CX, DX, SI,DI32 ; AX, BX, CX, DX, DI 33 33 ;-------------------------------------------------------------------- 34 34 ALIGN JUMP_ALIGN … … 93 93 ; Nothing (User input stored to WORD_DIALOG_IO) 94 94 ; Corrupts registers: 95 ; AX, BX, CX, DX, SI, DI 95 ; AX, BX, CX, DX, SI, DI, DS 96 96 ;-------------------------------------------------------------------- 97 97 ALIGN JUMP_ALIGN -
trunk/Assembly_Library/Src/Util/Registers.asm
r592 r596 21 21 SECTION .text 22 22 23 %ifdef EXCLUDE_FROM_XUB 24 %ifndef MODULE_EBIOS 25 %define EXCLUDE 26 %endif 27 %endif 23 28 ;-------------------------------------------------------------------- 24 29 ; Registers_ExchangeDSSIwithESDI … … 30 35 ; Nothing 31 36 ;-------------------------------------------------------------------- 37 %ifndef EXCLUDE 32 38 ALIGN JUMP_ALIGN 33 39 Registers_ExchangeDSSIwithESDI: … … 38 44 xchg si, di 39 45 ret 46 %endif 47 %undef EXCLUDE 40 48 41 49 … … 48 56 ; Nothing 49 57 ; Returns: 50 ; Copies far mpointer to different segment/pointer register pair58 ; Copies far pointer to different segment/pointer register pair 51 59 ; Corrupts registers: 52 60 ; Nothing -
trunk/Assembly_Library/Src/Util/Size.asm
r592 r596 159 159 ALIGN UTIL_SIZE_JUMP_ALIGN 160 160 Size_ConvertSectorCountInBXDXAXtoKiB: ; unused entrypoint ok 161 Size_DivideBXDXAXbyTwo: 161 Size_DivideBXDXAXbyTwo: ; unused entrypoint ok 162 162 shr bx, 1 ; Divide sector count by 2... 163 163 rcr dx, 1 ; ...to get disk size in...
Note:
See TracChangeset
for help on using the changeset viewer.