Changeset 15 for trunk/VFDisk.asm
- Timestamp:
- May 10, 2018, 5:56:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/VFDisk.asm ¶
r13 r15 19 19 20 20 StdOut = 1 21 22 CMVERSION_MAJOR = 123 CMVERSION_MINOR = 124 21 25 22 DRF_STATIC = 0 … … 133 130 DD_TableLen = ($ - DD_Functions) / 2 134 131 135 MsgBoot DB 0DH, 0AH, 'VFDISK 4.0(c) 2003 D.Engert (2010 L. Erdmann), Drive '132 MsgBoot DB 0DH, 0AH, 'VFDISK ',_VERMAJOR+'0','.',_VERMINOR+'0',' (c) 2003 D.Engert (2010 L. Erdmann), Drive ' 136 133 MsgDriveLetter DB 'A:', 0DH, 0AH 137 134 MsgBootLen = $ - MsgBoot … … 244 241 ddVendor DB 'Daniela Engert (Lars Erdmann)',00H 245 242 246 dStruct DRIVERSTRUCT <ddName,ddDesc,ddVendor, CMVERSION_MAJOR,CMVERSION_MINOR,<2017,05,02>,DRF_STATIC,DRT_OS2,DRS_BLOCK,0>243 dStruct DRIVERSTRUCT <ddName,ddDesc,ddVendor,_VERMAJOR,_VERMINOR,<_YEAR,_MONTH,_DAY>,DRF_STATIC,DRT_OS2,DRS_BLOCK,0> 247 244 hDriver DD 0 248 245 … … 271 268 272 269 Strategy PROC FAR 270 PUSH BP 271 MOV BP,SP 272 AND SP,NOT 3 273 PUSH ESI 274 PUSH EDI 273 275 MOV DI, OFFSET DD_Table 274 276 MOV AL, BYTE PTR ES:[BX+2] … … 283 285 OR AX, 100h 284 286 MOV ES:[BX+3], AX 287 POP EDI 288 POP ESI 289 MOV SP,BP 290 POP BP 285 291 RET 286 292 Strategy ENDP … … 437 443 MOV BX, [BufferLow] 438 444 MOV AX, [BufferHigh] 445 MOV CX, [BPB.BpSector] 439 446 MOV DX, DevHlp_PhysToVirt + 100h 440 447 CALL [_Device_Help] … … 497 504 MOV BX, [BufferLow] 498 505 MOV AX, [BufferHigh] 506 MOV CX, [BPB.BpSector] 499 507 MOV DX, DevHlp_PhysToVirt 500 508 CALL [_Device_Help] … … 647 655 MOVZX EAX, AX 648 656 ADD EDI, EAX 657 658 MOVZX ECX, [BPB.numFATs] 659 InitFATs: 649 660 MOV AL, [BPB.MediaDesc] 650 661 MOV ES:[EDI], AL 651 662 MOV WORD PTR ES:[EDI+1], 0FFFFH 663 664 DEC ECX 665 JCXZ InitFATs_exit 666 667 MOVZX EAX, [BPB.SpFat] 668 MUL [BPB.BpSector] 669 ADD EDI, EAX 670 671 JMP InitFATs 672 InitFATs_exit: 652 673 653 674 POP DI
Note:
See TracChangeset
for help on using the changeset viewer.