Changeset 37 for trunk/BOOTCODE/REGULAR/VIDEOIO.ASM
- Timestamp:
- Apr 11, 2014, 8:39:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/VIDEOIO.ASM
r36 r37 24 24 ENDIF 25 25 26 VideoIO_WaitRetrace 27 mov dx, 3DAh28 VIOWR_Jump1:29 in al, dx30 test al, 831 jnz VIOWR_Jump132 VIOWR_Jump2:33 in al, dx34 test al, 835 jz VIOWR_Jump236 ret37 VideoIO_WaitRetrace 26 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 51 or ch, ch52 jz VIOL_IgnoreY53 dec ch54 mov TextPosY, ch55 VIOL_IgnoreY:56 or cl, cl57 jz VIOL_IgnoreX58 dec cl59 mov TextPosX, cl60 VIOL_IgnoreX:61 ret62 VideoIO_Locate 50 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 :db "DISK ",0839 ;BiosCyls :db "Cyls :",0840 BiosHeads :db "Heads :",0841 BiosSecs :db "Secs :",0842 LvmSecs :db "SecsLVM :",0843 BiosLBA :db "LBA Secs:",0844 845 846 HugeBootDisk :db "Boot Disk is Huge : ",0847 DisksFound :db "Disks Found : ",0848 PartitionsFound :db "Partitions Found : ",0849 ;AutoStartPart :db "Auto Start Partition : ",0850 851 Phase1 :db "eCS Install Phase 1 : ",0852 853 854 ShowMenu :db "Press TAB to return to the AiR-BOOT Menu",0855 ;ShowBootLog :db "Press TAB to see the Boot Log...",0856 857 Yes :db "YES",0858 No :db "NO",0859 On :db "ON",0860 Off :db "OFF",0861 None :db "NONE",0862 Active :db "ACTIVE",0863 NotActive :db "NOT ACTIVE",0838 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 :db 0dh, 0ah, 0866 NL db 0dh, 0ah, 0
Note:
See TracChangeset
for help on using the changeset viewer.