Changeset 630 in xtideuniversalbios for trunk/Assembly_Library/Inc/NEC_V.inc


Ignore:
Timestamp:
Dec 31, 2024, 3:38:24 PM (8 days ago)
Author:
Krister Nordvall
Message:

Changes:

  • Changed the g_szPCFlashSuccessful string in XTIDECFG to reflect the reality - it turns out ANY key was limited to just ENTER or ESC.
  • Removed the NEC V-specific optimization I added in r602 because NEC's documentation completely fails to mention that the ROL4 instruction also changes the high nibble of AL. Huge thanks to vcfed-member dreNorteR for discovering this and also for suggesting an optimization to the physical address conversion code in IdeTransfer.asm.
  • Made some changes to the OUTPUT_AL_TO_IDE_REGISTER and OUTPUT_AL_TO_IDE_CONTROL_BLOCK_REGISTER macros as an optimization. This saves 15+12 bytes in builds without MODULE_8BIT_IDE (e.g. the PS/2 builds).
  • Other minor optimizations and cleanups.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/NEC_V.inc

    r593 r630  
    44;
    55; XTIDE Universal BIOS and Associated Tools
    6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
     6; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2024 by XTIDE Universal BIOS Team.
    77;
    88; This program is free software; you can redistribute it and/or modify
     
    782782;
    783783; Rotates the destination four bits to the left via the low nibble of AL.
     784; If the destination is AL then the high and low nibbles will be swapped.
    784785;
    785786; eROL4
     
    787788;       %1:     8-bit destination (register or memory location)
    788789;   Returns:
    789 ;       AL:     The high nibble of %1 in the low nibble of AL
     790;       AL:     The low nibble of AL in the high nibble of AL
     791;               The high nibble of %1 in the low nibble of AL
    790792;       %1:     The low nibble of %1 in the high nibble of %1
    791793;               The low nibble of AL in the low nibble of %1
     
    863865;
    864866; Rotates the destination four bits to the right via the low nibble of AL.
     867; If the destination is AL then nothing changes.
    865868;
    866869; eROR4
     
    868871;       %1:     8-bit destination (register or memory location)
    869872;   Returns:
    870 ;       AL:     The low nibble of %1 in the low nibble of AL
     873;       AL:     The high nibble of %1 in the high nibble of AL
     874;               The low nibble of %1 in the low nibble of AL
    871875;       %1:     The high nibble of %1 in the low nibble of %1
    872876;               The low nibble of AL in the high nibble of %1
Note: See TracChangeset for help on using the changeset viewer.