Changeset 36 for trunk/BOOTCODE/REGULAR/PARTSCAN.ASM
- Timestamp:
- Jan 13, 2013, 9:29:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/PARTSCAN.ASM
r32 r36 311 311 stosw 312 312 ; Set Serial-Field to LVM-VolumeID 313 313 314 push di 314 add si, LocLVM_ PartitionName315 315 add si, LocLVM_VolumeName ; Use LVM VolumeName 316 ;add si, LocLVM_PartitionName ; Use LVM PartitionName 316 317 mov cx, 5 317 318 rep movsw ; Copy LVM-PartitionName to Temp Space 318 319 movsb ; (11 bytes in total) 319 320 320 pop di 321 322 323 ; Check if this is an IBM-BM partition 321 324 cmp PartSystemID, 0ah 322 323 325 jne PCCTP_NoIbmBm 326 327 ; It is, so override the name given by IBM-BM by one that 328 ; fits in 11 chars. 324 329 mov si, offset ibm_bm_name 325 330 mov cx,5 … … 330 335 331 336 PCCTP_NoIbmBm: 332 333 334 337 pop di si dx ax 335 338 mov si, offset MBR_NoName_Patched … … 660 663 cmp NewPartitions, LocIPT_MaxPartitions 661 664 jbe PCCTP_NotTooManyPartitions 665 662 666 mov si, offset TXT_TooManyPartitions 663 667 call MBR_Teletype 664 668 jmp MBR_HaltSystem 669 665 670 666 671 PCCTP_NotTooManyPartitions: … … 693 698 ret 694 699 PARTSCAN_CheckThisPartition EndP 700 701 stop_scanning db 0 695 702 696 703 ; =================== … … 805 812 PARTSCAN_SyncHideConfigWithXref EndP 806 813 807 ibm_bm_name: db ' IBM BootMan',0814 ibm_bm_name: db 'OS2 BootMgr',0 808 815 ;win_bm_name: db 'BOOTMGR',0
Note:
See TracChangeset
for help on using the changeset viewer.