Changeset 445 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu
- Timestamp:
- Aug 29, 2012, 12:59:23 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/CharOutLineSplitter.asm
r376 r445 3 3 4 4 ; 5 ; XTIDE Universal BIOS and Associated Tools 5 ; XTIDE Universal BIOS and Associated Tools 6 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 7 7 ; … … 10 10 ; the Free Software Foundation; either version 2 of the License, or 11 11 ; (at your option) any later version. 12 ; 12 ; 13 13 ; This program is distributed in the hope that it will be useful, 14 14 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 ; GNU General Public License for more details. 16 ; GNU General Public License for more details. 17 17 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 18 18 ; 19 19 20 20 21 21 ; Section containing code … … 40 40 ; Get last text line column offset to AX 41 41 call MenuLocation_GetMaxTextLineLengthToAX 42 shlax, 1 ; Characters to BYTEs42 eSHL_IM ax, 1 ; Characters to BYTEs 43 43 add ax, dx 44 44 … … 62 62 call MenuLocation_GetTitleBordersTopLeftCoordinatesToAX 63 63 xor ah, ah 64 shlax, 164 eSHL_IM ax, 1 65 65 ret 66 66 … … 82 82 83 83 mov dl, [VIDEO_BDA.wColumns] 84 shldl, 1 ; DX = bytes per row84 eSHL_IM dl, 1 ; DX = bytes per row 85 85 mov ax, di 86 86 div dl ; AL = row index, AH = column index
Note:
See TracChangeset
for help on using the changeset viewer.