1
0

EMualtor im

This commit is contained in:
Aiden
2026-05-25 18:43:36 +10:00
parent 81f5d7a150
commit 05e1237acc
18 changed files with 993 additions and 20 deletions

View File

@@ -3,7 +3,12 @@ from __future__ import annotations
from .cli import build_arg_parser, discover_rom_path, load_rom, main
from .constants import (
HEARTBEAT_FRAME,
FRT_TCR_OCIEA,
FRT_TCSR_OCFA,
FRT2_TCR,
FRT2_TCSR,
IPRA,
IPRC,
IPRE,
ON_CHIP_RAM_END,
ON_CHIP_RAM_START,
@@ -28,11 +33,13 @@ from .constants import (
SCI1_SSR,
SCI1_TDR,
VECTOR_INTERVAL_TIMER,
VECTOR_FRT2_OCIA,
VECTOR_SCI1_TXI,
WDT_TCSR_R,
)
from .cpu import CPUState
from .errors import EmulatorError, UnsupportedInstruction
from .fast_paths import P9FastPath, P9FastPathConfig, P9FastPathEvent
from .memory import MemoryAccess, MemoryMap, describe_regions
from .runner import H8536Emulator, RunReport
from .sci import SCI1, SciTxEvent
@@ -40,9 +47,14 @@ from .sci import SCI1, SciTxEvent
__all__ = [
"CPUState",
"EmulatorError",
"FRT2_TCR",
"FRT2_TCSR",
"FRT_TCR_OCIEA",
"FRT_TCSR_OCFA",
"HEARTBEAT_FRAME",
"H8536Emulator",
"IPRA",
"IPRC",
"IPRE",
"MemoryAccess",
"MemoryMap",
@@ -50,6 +62,9 @@ __all__ = [
"ON_CHIP_RAM_START",
"P9DDR",
"P9DR",
"P9FastPath",
"P9FastPathConfig",
"P9FastPathEvent",
"RAMCR",
"REGISTER_FIELD_END",
"REGISTER_FIELD_START",
@@ -73,6 +88,7 @@ __all__ = [
"SciTxEvent",
"UnsupportedInstruction",
"VECTOR_INTERVAL_TIMER",
"VECTOR_FRT2_OCIA",
"VECTOR_SCI1_TXI",
"WDT_TCSR_R",
"build_arg_parser",