Changeset 38 for trunk/BOOTCODE/REGULAR/VIDEOIO.ASM
- Timestamp:
- Apr 11, 2014, 9:36:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/VIDEOIO.ASM
r37 r38 24 24 ENDIF 25 25 26 VideoIO_WaitRetrace Proc Near Uses ax dx27 28 29 30 31 32 33 34 35 36 37 VideoIO_WaitRetrace EndP26 VideoIO_WaitRetrace Proc Near Uses ax dx 27 mov dx, 3DAh 28 VIOWR_Jump1: 29 in al, dx 30 test al, 8 31 jnz VIOWR_Jump1 32 VIOWR_Jump2: 33 in al, dx 34 test al, 8 35 jz VIOWR_Jump2 36 ret 37 VideoIO_WaitRetrace EndP 38 38 39 39 … … 41 41 ; Holds the current position. Yeah, I know this is in the code area, but who 42 42 ; cares :)) 43 TextPosY db0h44 TextPosX db0h45 TextColorFore db7h46 TextColorBack db0h43 TextPosY db 0h 44 TextPosX db 0h 45 TextColorFore db 7h 46 TextColorBack db 0h 47 47 48 48 ; In: CH - Cursor Column, CL - Cursor Row (Start at 1,1) 49 49 ; Destroyed: None 50 VideoIO_Locate Proc Near Uses cx51 52 53 54 55 56 57 58 59 60 61 62 VideoIO_Locate EndP50 VideoIO_Locate Proc Near Uses cx 51 or ch, ch 52 jz VIOL_IgnoreY 53 dec ch 54 mov TextPosY, ch 55 VIOL_IgnoreY: 56 or cl, cl 57 jz VIOL_IgnoreX 58 dec cl 59 mov TextPosX, cl 60 VIOL_IgnoreX: 61 ret 62 VideoIO_Locate EndP 63 63 64 64 ; In: CH - Cursor Column, CL - Center Cursor Row (Start at 1,1) … … 549 549 cmp ah, Keys_ESC 550 550 je VIOLUES_KeyESC 551 cmp ah, Keys_E NTER551 cmp ah, Keys_Enter 552 552 je VIOLUES_KeyENTER 553 553 cmp ah, Keys_Backspace … … 836 836 837 837 ; Disk Info to Dump to AB LogScreen 838 Disk 839 ;BiosCyls 840 BiosHeads 841 BiosSecs 842 LvmSecs 843 BiosLBA 844 845 846 HugeBootDisk 847 DisksFound 848 PartitionsFound 849 ;AutoStartPart 850 851 Phase1 852 853 854 ShowMenu 855 ;ShowBootLog 856 857 Yes 858 No 859 On 860 Off 861 None 862 Active 863 NotActive 838 Disk: db "DISK ",0 839 ;BiosCyls: db "Cyls :",0 840 BiosHeads: db "Heads :",0 841 BiosSecs: db "Secs :",0 842 LvmSecs: db "SecsLVM :",0 843 BiosLBA: db "LBA Secs:",0 844 845 846 HugeBootDisk: db "Boot Disk is Huge : ",0 847 DisksFound: db "Disks Found : ",0 848 PartitionsFound: db "Partitions Found : ",0 849 ;AutoStartPart: db "Auto Start Partition : ",0 850 851 Phase1: db "eCS Install Phase 1 : ",0 852 853 854 ShowMenu: db "Press TAB to return to the AiR-BOOT Menu",0 855 ;ShowBootLog: db "Press TAB to see the Boot Log...",0 856 857 Yes: db "YES",0 858 No: db "NO",0 859 On: db "ON",0 860 Off: db "OFF",0 861 None: db "NONE",0 862 Active: db "ACTIVE",0 863 NotActive: db "NOT ACTIVE",0 864 864 865 865 ; New Line for use by MBR_Teletype 866 NL 866 NL: db 0dh, 0ah, 0
Note:
See TracChangeset
for help on using the changeset viewer.