Changeset 130
- Timestamp:
- Apr 8, 2017, 12:27:29 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/driveio.asm
r126 r130 1794 1794 DriveIO_GatherDiskInfo EndP 1795 1795 1796 ;------------------------------------------------------------------------------ 1797 ; Calculate pointer to entry in DISKINFO structure 1798 ;------------------------------------------------------------------------------ 1799 ; IN : DL BIOS disk number (80h etc) 1800 ; OUT : BX Pointer to entry 1801 ; NOTE : BIOS disk number must be valid 1802 ;------------------------------------------------------------------------------ 1803 DriveIO_CalcDiskInfoPointer Proc Near 1804 xchg bx, ax ; AX is used for calculation 1805 mov al, DISKINFO_Size ; Size of DISKINFO structure 1806 mov ah, dl ; BIOS disk number 1807 sub ah, 80h ; Now 0-based index 1808 mul ah ; Now offset into DISKINFO array 1809 add ax, offset [DiskInformation] ; Base of DISKINFO array 1810 xchg bx, ax ; BX now points to entry for disk 1811 ret 1812 DriveIO_CalcDiskInfoPointer EndP 1796 1813 1797 1814 ;------------------------------------------------------------------------------ -
trunk/include/version.h
r129 r130 31 31 // Build date 32 32 #define BLDLVL_YEAR "2017" 33 #define BLDLVL_MONTH "0 3"34 #define BLDLVL_DAY " 31"33 #define BLDLVL_MONTH "04" 34 #define BLDLVL_DAY "04" 35 35 // Build time 36 36 //~ #define BLDLVL_HOURS "01" -
trunk/include/version.inc
r129 r130 69 69 ; The Year, Month and Day in BCD so we can easily extract nibbles. 70 70 AB_YEAR EQU 2017h 71 AB_MONTH EQU 0 3h72 AB_DAY EQU 31h71 AB_MONTH EQU 04h 72 AB_DAY EQU 04h 73 73 74 74 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation.
Note:
See TracChangeset
for help on using the changeset viewer.