Changeset 445 in xtideuniversalbios for trunk/Assembly_Library/Src/Display
- Timestamp:
- Aug 29, 2012, 12:59:23 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Assembly_Library/Src/Display
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayCursor.asm
r407 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 ; Section containing code … … 72 72 xor dh, dh 73 73 add ax, dx ; Add column offset 74 shlax, 1 ; Convert to WORD offset74 eSHL_IM ax, 1 ; Convert to WORD offset 75 75 add ax, [VIDEO_BDA.wPageOffset] ; AX = Video RAM offset 76 76 mov [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition], ax -
trunk/Assembly_Library/Src/Display/DisplayFormat.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 ; Section containing code … … 137 137 .ConvertIndexToFunctionOffset: 138 138 sub bx, .rgcFormatCharToLookupIndex 139 shlbx, 1 ; Shift for WORD lookup139 eSHL_IM bx, 1 ; Shift for WORD lookup 140 140 mov ax, [cs:bx+.rgfnFormatSpecifierParser] 141 141 ret -
trunk/Assembly_Library/Src/Display/DisplayFormatCompressed.asm
r376 r445 6 6 7 7 ; 8 ; XTIDE Universal BIOS and Associated Tools 8 ; XTIDE Universal BIOS and Associated Tools 9 9 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 10 10 ; … … 13 13 ; the Free Software Foundation; either version 2 of the License, or 14 14 ; (at your option) any later version. 15 ; 15 ; 16 16 ; This program is distributed in the hope that it will be useful, 17 17 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 18 18 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 ; GNU General Public License for more details. 19 ; GNU General Public License for more details. 20 20 ; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 21 21 ; … … 194 194 195 195 .process_after_output: 196 shlch,1 ; check high order bits for end of string or space196 eSHL_IM ch,1 ; check high order bits for end of string or space 197 197 jns short DisplayFormatCompressed_ret 198 198 jnc .decode … … 208 208 ; DisplayFormatCompressed_BaseFormatOffset and jump targets (must fit in 256 bytes) 209 209 ; 210 shlch,1 ; setup ch for later testing of null in .process_after_output210 eSHL_IM ch,1 ; setup ch for later testing of null in .process_after_output 211 211 and ax,0001fh ; also clears AH for addition with BX and DX below 212 212
Note:
See TracChangeset
for help on using the changeset viewer.