Home
last modified time | relevance | path

Searched refs:MSH2 (Results 1 – 25 of 73) sorted by relevance

123

/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/
H A Dyabause.c418 GdbStubInit(MSH2, 43434); in YabauseInit()
502 SH2Reset(MSH2); in YabauseResetNoLoad()
518 SH2PowerOn(MSH2); in YabauseResetNoLoad()
902 SSH2->regs.PC = MSH2->MappedMemoryReadLong(MSH2, 0x06000250); in YabauseStartSlave()
903 if (MSH2->MappedMemoryReadLong(MSH2, 0x060002AC) != 0) in YabauseStartSlave()
904 SSH2->regs.R[15] = MSH2->MappedMemoryReadLong(MSH2, 0x060002AC); in YabauseStartSlave()
1036 SH2GetRegisters(MSH2, &MSH2->regs); in YabauseSpeedySetup()
1045 MSH2->regs.PR = 0x00000000; in YabauseSpeedySetup()
1046 SH2SetRegisters(MSH2, &MSH2->regs); in YabauseSpeedySetup()
1248 SH2GetRegisters(MSH2, &MSH2->regs); in YabauseQuickLoadGame()
[all …]
H A Djapmodem.c37 NETLINK_LOG("%08X Cs0 byte read. PC = %08X", addr, MSH2->regs.PC); in JapModemCs0ReadByte()
46 NETLINK_LOG("%08X Cs0 word read. PC = %08X", addr, MSH2->regs.PC); in JapModemCs0ReadWord()
52 NETLINK_LOG("%08X Cs0 long read. PC = %08X", addr, MSH2->regs.PC); in JapModemCs0ReadLong()
58 NETLINK_LOG("%08X Cs1 byte read. PC = %08X", addr, MSH2->regs.PC); in JapModemCs1ReadByte()
64 NETLINK_LOG("%08X Cs1 word read. PC = %08X", addr, MSH2->regs.PC); in JapModemCs1ReadWord()
70 NETLINK_LOG("%08X Cs1 long read. PC = %08X", addr, MSH2->regs.PC); in JapModemCs1ReadLong()
76 NETLINK_LOG("%08X Cs1 byte write. PC = %08X", addr, MSH2->regs.PC); in JapModemCs1WriteByte()
82 NETLINK_LOG("%08X Cs1 word write. PC = %08X", addr, MSH2->regs.PC); in JapModemCs1WriteWord()
88 NETLINK_LOG("%08X Cs1 long write. PC = %08X", addr, MSH2->regs.PC); in JapModemCs1WriteLong()
94 NETLINK_LOG("%08X Cs2 byte read. PC = %08X", addr, MSH2->regs.PC); in JapModemCs2ReadByte()
[all …]
H A Dcoffelf.c204 MappedMemoryWriteByteNocache(MSH2, section_headers[i].physaddr+j, buffer[j]); in MappedMemoryLoadCoff()
215 SH2GetRegisters(MSH2, &MSH2->regs); in MappedMemoryLoadCoff()
216 MSH2->regs.PC = aout_header.entrypoint; in MappedMemoryLoadCoff()
217 SH2SetRegisters(MSH2, &MSH2->regs); in MappedMemoryLoadCoff()
355 MappedMemoryWriteByteNocache(MSH2, sections[i].addr + j, 0); in MappedMemoryLoadElf()
374 MappedMemoryWriteByteNocache(MSH2, sections[i].addr + j, buffer[j]); in MappedMemoryLoadElf()
387 SH2GetRegisters(MSH2, &MSH2->regs); in MappedMemoryLoadElf()
388 MSH2->regs.PC = elf_hdr.entry; in MappedMemoryLoadElf()
389 SH2SetRegisters(MSH2, &MSH2->regs); in MappedMemoryLoadElf()
H A Dscu.c242 val = MappedMemoryReadLongNocache(MSH2, ReadAddress); in DoDMA()
268 u32 val = MappedMemoryReadLongNocache(MSH2, ReadAddress); in DoDMA()
279 MappedMemoryWriteLongNocache(MSH2, WriteAddress, in DoDMA()
387 MappedMemoryWriteWordNocache(MSH2, WriteAddress, tmp); in DoDMA()
406 MappedMemoryWriteWordNocache(MSH2, WriteAddress, tmp); in DoDMA()
416 … MappedMemoryWriteLongNocache(MSH2, WriteAddress, MappedMemoryReadLongNocache(MSH2, ReadAddress)); in DoDMA()
868 src_val = MappedMemoryReadLongNocache(MSH2, dma->read_address); in scu_dma_tick_32()
1888 MappedMemoryWriteLongNocache(MSH2, Adr, Val); in dsp_dma02()
1901 MappedMemoryWriteLongNocache(MSH2, Adr, Val); in dsp_dma02()
2096 MappedMemoryWriteLongNocache(MSH2, Adr, Val); in dsp_dma04()
[all …]
H A Dsh2core.c51 SH2_struct *MSH2=NULL; variable
149 MSH2->onchip.BCR1 = 0x0000; in SH2Init()
150 MSH2->isslave = 0; in SH2Init()
151 MSH2->model = SHMT_SH2; in SH2Init()
184 free(MSH2); in SH2Init()
186 MSH2 = SSH2 = NULL; in SH2Init()
218 if (MSH2) in SH2DeInit()
221 free(MSH2); in SH2DeInit()
223 MSH2 = NULL; in SH2DeInit()
2821 MSH2->onchip.FICR = MSH2->onchip.FRC.all; in MSH2InputCaptureWriteWord()
[all …]
H A Dbios.c74 MappedMemoryWriteLongNocache(MSH2, 0x06000010, 0x06000604); in BiosInit()
75 MappedMemoryWriteLongNocache(MSH2, 0x06000018, 0x06000604); in BiosInit()
76 MappedMemoryWriteLongNocache(MSH2, 0x06000024, 0x06000604); in BiosInit()
77 MappedMemoryWriteLongNocache(MSH2, 0x06000028, 0x06000604); in BiosInit()
83 MappedMemoryWriteLongNocache(MSH2, 0x06000410, 0x06000604); in BiosInit()
84 MappedMemoryWriteLongNocache(MSH2, 0x06000418, 0x06000604); in BiosInit()
85 MappedMemoryWriteLongNocache(MSH2, 0x06000424, 0x06000604); in BiosInit()
86 MappedMemoryWriteLongNocache(MSH2, 0x06000428, 0x06000604); in BiosInit()
109 MappedMemoryWriteLongNocache(MSH2, 0x06000210, 0x00000210); in BiosInit()
110 MappedMemoryWriteLongNocache(MSH2, 0x0600026C, 0x0000026C); in BiosInit()
[all …]
H A Dmemory.c1238 MappedMemoryLoad(MSH2, filename, pc); in MappedMemoryLoadExec()
1239 SH2GetRegisters(MSH2, &MSH2->regs); in MappedMemoryLoadExec()
1240 MSH2->regs.PC = pc; in MappedMemoryLoadExec()
1241 SH2SetRegisters(MSH2, &MSH2->regs); in MappedMemoryLoadExec()
1411 i += SH2SaveState(MSH2, fp); in YabSaveStateStream()
1621 SH2LoadState(MSH2, fp, version, chunksize); in YabLoadStateStream()
1867 u8 val = MappedMemoryReadByteNocache(MSH2, addr); in SearchString()
1885 u8 val = MappedMemoryReadByteNocache(MSH2, addr); in SearchString()
2012 val = MappedMemoryReadByteNocache(MSH2, addr); in MappedMemorySearch()
2021 val = MappedMemoryReadWordNocache(MSH2, addr); in MappedMemorySearch()
[all …]
H A Dsh2idle.c574 …if (( !~bDet )&&(loopBegin!=oldLoopBegin[context==MSH2][0])&&(loopBegin!=oldLoopBegin[context==MSH… in SH2idleCheck()
577 …printf( "New %s idle loop at %X -- %X\n", (context==MSH2)?"master":"slave", (int)loopBegin, (int)l… in SH2idleCheck()
584 oldLoopBegin[context==MSH2][1] = oldLoopBegin[context==MSH2][0]; in SH2idleCheck()
585 oldLoopBegin[context==MSH2][0] = loopBegin; in SH2idleCheck()
H A Dcheat.c244 if (MappedMemoryReadWordNocache(MSH2, cheatlist[i].addr) != cheatlist[i].val) in CheatDoPatches()
250 MappedMemoryWriteByteNocache(MSH2, cheatlist[i].addr, (u8)cheatlist[i].val); in CheatDoPatches()
256 MappedMemoryWriteWordNocache(MSH2, cheatlist[i].addr, (u16)cheatlist[i].val); in CheatDoPatches()
262 MappedMemoryWriteLongNocache(MSH2, cheatlist[i].addr, cheatlist[i].val); in CheatDoPatches()
H A Dsmpc.c175 SH2NMI(MSH2); in SmpcCKCHG352()
198 SH2NMI(MSH2); in SmpcCKCHG320()
480 SH2SendInterrupt(MSH2, 0xB, 16); in SmpcNMIREQ()
491 SH2SendInterrupt(MSH2, 0xB, 16); in SmpcResetButton()
H A Dscu_dsp_jit.cpp971 cxt.md[sel][cxt.ct[sel]] = MappedMemoryReadLongNocache(MSH2, (cxt.ra0 << 2)); in dsp_dma01()
980 cxt.md[sel][cxt.ct[sel]] = MappedMemoryReadLongNocache(MSH2, (cxt.ra0 << 2)); in dsp_dma01()
1016 MappedMemoryWriteLongNocache(MSH2, Adr, Val); in dsp_dma02()
1029 MappedMemoryWriteLongNocache(MSH2, Adr, Val); in dsp_dma02()
1065 cxt.program[i] = MappedMemoryReadLongNocache(MSH2, Adr); in dsp_dma03()
1076 cxt.md[DestinationId][cxt.ct[DestinationId]] = MappedMemoryReadLongNocache(MSH2, Adr); in dsp_dma03()
1120 MappedMemoryWriteLongNocache(MSH2, Adr, Val); in dsp_dma04()
H A Dsh2cache.c502 return SmpcReadLong(MSH2, addr); in sh2_cache_refill_read()
527 return CartridgeArea->Cs0ReadLong(MSH2, addr); in sh2_cache_refill_read()
531 return Cs1ReadLong(MSH2, addr); in sh2_cache_refill_read()
546 return Cs2ReadLong(MSH2, addr); in sh2_cache_refill_read()
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/qt/ui/
H A DUIBackupRam.cpp62 saves = BupGetSaveList(MSH2, id, &numsaves); in refreshSaveList()
69 BupGetStats(MSH2, id, &fs, &ms ); in refreshSaveList()
139 BupDeleteSave(MSH2, id, it->text().toLatin1().constData() ); in on_pbDelete_clicked()
H A DUICheatSearch.cpp144 s.sprintf("%d", MappedMemoryReadByteNocache(MSH2, search[j].results[i].addr)); in listResults()
147 s.sprintf("%d", MappedMemoryReadWordNocache(MSH2, search[j].results[i].addr)); in listResults()
150 s.sprintf("%d", MappedMemoryReadLongNocache(MSH2, search[j].results[i].addr)); in listResults()
H A DUIMemoryTransfer.cpp146 MappedMemorySave(MSH2, leFile->text().toLatin1(), startAddress, endAddress - startAddress); in accept()
159 MappedMemoryLoad(MSH2, leFile->text().toLatin1(), startAddress); in accept()
H A DUIHexEditor.cpp207 return MappedMemoryReadWordNocache(MSH2, addr & (~0x1)) >> ((1-(addr & 0x1))<<3); in readByte()
209 return MappedMemoryReadByteNocache(MSH2, addr); in readByte()
214 return MappedMemoryReadByteNocache(MSH2, addr); in readByte()
224 u16 word = MappedMemoryReadWordNocache(MSH2, addr & (~0x1)) & (0xFF << ((addr & 0x1)<<3) ); in writeByte()
226 MappedMemoryWriteWordNocache(MSH2, addr & (~0x1), word); in writeByte()
229 MappedMemoryWriteByteNocache(MSH2, addr, val); in writeByte()
234 MappedMemoryWriteByteNocache(MSH2, addr, val); in writeByte()
H A DUIDebugSH2.cpp39 else if (context == MSH2) in SH2BreakpointHandler()
58 debugSH2 = MSH2; in UIDebugSH2()
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/hxt/
H A DREADME.md57 * **tetMesh_CLI**: A very efficient tetrahedral mesh generator that takes MSH2
61 random points from a uniform distribution (`-g` option), or takes a MSH2
67 * **tetOpti_CLI**: Optimize an existing tetrahedral mesh contain in a MSH2
74 the definition of return status, functions to read and write MSH2 files,
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/runner/
H A Dyui.cpp337 MappedMemoryWriteByteNocache(MSH2, VDP2_VRAM + AUTO_TEST_SELECT_ADDRESS, current_test); in go_to_next_test()
817 MappedMemoryWriteByteNocache(MSH2, VDP2_VRAM + AUTO_TEST_SELECT_ADDRESS, current_test); in start()
835 status = MappedMemoryReadByteNocache(MSH2, VDP2_VRAM + AUTO_TEST_STATUS_ADDRESS); in start()
904 … MappedMemoryWriteByteNocache(MSH2, VDP2_VRAM + AUTO_TEST_SELECT_ADDRESS, current_test); in start()
980 …MappedMemoryWriteByteNocache(MSH2, VDP2_VRAM + AUTO_TEST_STATUS_ADDRESS, AUTO_TEST_MESSAGE_RECEIVE… in start()
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/gtk/
H A Dyuitransfer.c222 MappedMemoryLoad(MSH2, gtk_entry_get_text(GTK_ENTRY(yt->file_entry)), from); in yui_transfer_exec()
231 MappedMemorySave(MSH2, gtk_entry_get_text(GTK_ENTRY(yt->file_entry)), from, to - from); in yui_transfer_exec()
H A Dyuimem.c274 else { MappedMemoryWriteByteNocache(MSH2, addr++, 16*k + hexaDigitToInt( *curs ) ); k = -1; in yui_mem_content_changed()
292 sprintf(dump + (j * 3), "%02x ", MappedMemoryReadByteNocache(MSH2, ym->address + (8 * i) + j)); in yui_mem_update()
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/UTILS/
H A Dcompiler.h958 …#define MSH2(u64) LSH1(u64) //!< Most significant half-word of 3rd rank of \a u6… macro
997 …#define MSH2(u64) (((U16 *)&(u64))[2]) //!< Most significant half-word of 3rd rank of \a u6… macro
1001 …#define LSH1(u64) MSH2(u64) //!< Least significant half-word of 2nd rank of \a u…
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifi_dnld/src/SOFTWARE_FRAMEWORK/UTILS/
H A Dcompiler.h958 …#define MSH2(u64) LSH1(u64) //!< Most significant half-word of 3rd rank of \a u6… macro
997 …#define MSH2(u64) (((U16 *)&(u64))[2]) //!< Most significant half-word of 3rd rank of \a u6… macro
1001 …#define LSH1(u64) MSH2(u64) //!< Least significant half-word of 2nd rank of \a u…
/dports/devel/arduino-core/Arduino-b439a77/libraries/WiFi/extras/wifiHD/src/SOFTWARE_FRAMEWORK/UTILS/
H A Dcompiler.h958 …#define MSH2(u64) LSH1(u64) //!< Most significant half-word of 3rd rank of \a u6… macro
997 …#define MSH2(u64) (((U16 *)&(u64))[2]) //!< Most significant half-word of 3rd rank of \a u6… macro
1001 …#define LSH1(u64) MSH2(u64) //!< Least significant half-word of 2nd rank of \a u…
/dports/devel/arduino-core/Arduino-b439a77/libraries/WiFi/extras/wifi_dnld/src/SOFTWARE_FRAMEWORK/UTILS/
H A Dcompiler.h958 …#define MSH2(u64) LSH1(u64) //!< Most significant half-word of 3rd rank of \a u6… macro
997 …#define MSH2(u64) (((U16 *)&(u64))[2]) //!< Most significant half-word of 3rd rank of \a u6… macro
1001 …#define LSH1(u64) MSH2(u64) //!< Least significant half-word of 2nd rank of \a u…

123