#include "compconf.h"
#include "mytypes.h"
Include dependency graph for myendian.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
union | cpuLBword |
union | cpuLword |
union | cpuWord |
Defines | |
#define | LO 0 |
#define | HI 1 |
#define | LOLO 0 |
#define | LOHI 1 |
#define | HILO 2 |
#define | HIHI 3 |
Functions | |
uword | readEndian (ubyte hi, ubyte lo) |
Convert high-byte and low-byte to 16-bit word. | |
udword | readEndian (ubyte hihi, ubyte hilo, ubyte hi, ubyte lo) |
Convert high bytes and low bytes of MSW and LSW to 32-bit word. | |
uword | readLEword (ubyte ptr[2]) |
void | writeLEword (ubyte ptr[2], uword someWord) |
Write a big-endian 16-bit word to two bytes in memory. | |
uword | readBEword (ubyte ptr[2]) |
Read a big-endian 16-bit word from two bytes in memory. | |
udword | readBEdword (ubyte ptr[4]) |
void | writeBEword (ubyte ptr[2], uword someWord) |
Write a big-endian 16-bit word to two bytes in memory. | |
void | writeBEdword (ubyte ptr[4], udword someDword) |
Write a big-endian 32-bit word to four bytes in memory. | |
uword | convertEndianess (uword intelword) |
Convert 16-bit little-endian word to big-endian order or vice versa. | |
udword | convertEndianess (udword inteldword) |
|
|
Definition at line 45 of file myendian.h. |
|
Definition at line 44 of file myendian.h. Referenced by sidEmu::noiseAdvance(), and sidEmu::noiseAdvanceHp(). |
|
Definition at line 40 of file myendian.h. Referenced by Sample::channelProcess(), Envelope::enveEmuStartAttack(), Envelope::enveEmuStartRelease(), Envelope::enveEmuStartShortAttack(), sidEmu::noiseAdvance(), and sidEmu::noiseAdvanceHp(). |
|
Definition at line 43 of file myendian.h. Referenced by sidEmu::noiseAdvance(), and sidEmu::noiseAdvanceHp(). |
|
Definition at line 42 of file myendian.h. Referenced by sidEmu::noiseAdvance(), and sidEmu::noiseAdvanceHp(). |
|
Definition at line 178 of file myendian.h. References udword. Referenced by endianswitch_buffer(), and main(). |
|
Convert 16-bit little-endian word to big-endian order or vice versa.
Definition at line 167 of file myendian.h. References uword. |
|
Definition at line 126 of file myendian.h. References udword. Referenced by sidTune::PSID_fileSupport(). |
|
Read a big-endian 16-bit word from two bytes in memory.
Definition at line 112 of file myendian.h. References uword. Referenced by sidTune::PSID_fileSupport(), and emuEngine::verifyEndianess(). |
|
Convert high bytes and low bytes of MSW and LSW to 32-bit word. Used to read 32-bit words in little-endian order. Definition at line 77 of file myendian.h. References udword. Referenced by bytestodword(), C6510::indx(), C6510::indy(), sidTune::INFO_fileSupport(), C6510::JMP_vec(), C6510::JMP_vec_plain(), C6510::JMP_vec_transp(), sidTune::MUS_fileSupport(), sidTune::MUS_installPlayer(), sidTune::PSID_fileSupport(), readLEword(), C6510::RTI_(), C6510::RTS_(), sidTune::SID_fileSupport(), and sidEmuInitializeSongOld(). |
|
Convert high-byte and low-byte to 16-bit word. Used to read 16-bit words in little-endian order. Definition at line 68 of file myendian.h. References uword. |
|
Definition at line 88 of file myendian.h. References readEndian(), and uword. Referenced by C6510::abso(), C6510::absx(), C6510::absy(), Sample::channelTryInit(), Sample::GalwayInit(), sidEmu::sidEmuFillBuffer(), sidEmuInitializeSong(), sidEmu::sidEmuSet(), sidEmu::sidEmuSetReplayingSpeed(), and sidEmu::sidEmuUpdateReplayingSpeed(). |
|
Write a big-endian 32-bit word to four bytes in memory.
Definition at line 150 of file myendian.h. |
|
Write a big-endian 16-bit word to two bytes in memory.
Definition at line 137 of file myendian.h. |
|
Write a big-endian 16-bit word to two bytes in memory.
Definition at line 97 of file myendian.h. Referenced by C6510::JSR_main(), and emuEngine::verifyEndianess(). |