Changeset 32 for trunk/BOOTCODE/REGULAR/VIDEOIO.ASM
- Timestamp:
- Jan 13, 2013, 8:46:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/VIDEOIO.ASM
r30 r32 143 143 ; In: SI - String to Print (EOS is 0) 144 144 ; Destroyed: SI 145 VideoIO_PrintLikeLenOfName Proc Near Uses es di145 VideoIO_PrintLikeLenOfName Proc Near Uses cx es di 146 146 push si 147 147 xor cx, cx … … 190 190 ; In: AL - Single Char to Print 191 191 ; Destroyed: None 192 VideoIO_PrintSingleChar Proc Near Uses ax es di193 mov bl, al194 call VideoIO_Internal_SetRegs195 mov es:[di], bl196 mov es:[di+1], ah197 inc TextPosX198 ret192 VideoIO_PrintSingleChar Proc Near Uses ax bx es di 193 mov bl, al 194 call VideoIO_Internal_SetRegs 195 mov es:[di], bl 196 mov es:[di+1], ah 197 inc TextPosX 198 ret 199 199 VideoIO_PrintSingleChar EndP 200 200 … … 266 266 ; CL - Times to print it 267 267 ; Destroyed: None 268 VideoIO_PrintSingleMultiChar Proc Near Uses ax cx es di268 VideoIO_PrintSingleMultiChar Proc Near Uses ax bx cx es di 269 269 or cl, cl 270 270 jz VIOPSMC_NoChars … … 637 637 638 638 ; 639 ; Rousseau: added 640 ; Set poosition to teletype cursor 639 ; Set position to teletype cursor 641 640 ; 642 641 VideoIO_SyncPos Proc Near Uses ax bx cx dx … … 687 686 ; Dump the disk-info. 688 687 ; Disk number is in DL. 689 VideoIO_DumpDiskInfo Proc Near 688 VideoIO_DumpDiskInfo Proc Near uses ax bx cx dx 690 689 691 690 VideoIO_DumpDiskInfo_next_disk: … … 725 724 call VideoIO_PrintSingleMultiChar 726 725 727 inc [TextPosY]728 mov [TextPosX],dh729 mov si, offset BiosCyls730 call VideoIO_Print731 732 push dx733 mov bx,offset BIOS_Cyls734 xor dh,dh735 and dl,01111111b736 shl dx,1737 shl dx,1738 add bx,dx739 mov ax,[bx]740 mov dx,[bx+02]741 call VideoIO_PrintHexDWord742 pop dx726 ; inc [TextPosY] 727 ; mov [TextPosX],dh 728 ; mov si, offset BiosCyls 729 ; call VideoIO_Print 730 731 ; push dx 732 ; mov bx,offset BIOS_Cyls 733 ; xor dh,dh 734 ; and dl,01111111b 735 ; shl dx,1 736 ; shl dx,1 737 ; add bx,dx 738 ; mov ax,[bx] 739 ; mov dx,[bx+02] 740 ; call VideoIO_PrintHexDWord 741 ; pop dx 743 742 744 743 inc [TextPosY] … … 782 781 783 782 push dx 783 ; Offset of array containing LVM SPT values for each disk found 784 784 mov bx,offset TrueSecs 785 ; DX to index 785 786 xor dh,dh 786 787 and dl,01111111b … … 788 789 shl dx,1 789 790 add bx,dx 791 ; Get LVM SPT 790 792 mov ax,[bx] 791 793 mov dx,[bx+02]
Note:
See TracChangeset
for help on using the changeset viewer.