OSDN Git Service

[VM][FMTOWNS][DMAC] (PSEUDO) DMAC clock make on-demand to reduce host resources usage.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 23 Sep 2023 17:13:02 +0000 (02:13 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 23 Sep 2023 17:13:02 +0000 (02:13 +0900)
commitfd3f5bd86270f1a797666dda152679f9158c29f9
treeee9abbbe300abaa1d3bb07dde81d9ce92aeb7751
parentcce692362c5965dc2b7ec65ece089fe4b9fe0443
[VM][FMTOWNS][DMAC] (PSEUDO) DMAC clock make on-demand to reduce host resources usage.

- Clock (event_dmac_cycle) starts by checking both mask register and
  cmd register.
- read_io16() and write_io16() : Effects only even address,
  use read_io8() and write_io8() when accessing from odd address.
source/src/vm/fmtowns/dmac.cpp
source/src/vm/fmtowns/dmac.h