summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2024-10-25 12:13:22 +0100
committer smf- <smf-@users.noreply.github.com>2024-10-25 15:16:46 +0100
commitbeb51eaa9330b0113cca501e8e671fe8abe3e4be (patch)
treeb46893c19baf111fbbd85fb945f28e23372fa3e3 /scripts
parent80bf98fa348c9ea259b8cf2070408625fc5d8923 (diff)
f2mc16: Created devices for the onboard analogue to digital converter, clock generator, interrupt controller/Extended intelligent I/O service, I/O port, Programmable Pulse Generator, reload timer and UART.
CPU core exposes the RMW line for onboard devices. Log messages will contain the address of the start of the instruction, rather than the next byte the CPU is about to fetch. Added INT9/INT addr16 & INT addr24 software interrupt instructions. Fixed INCW @RWx & DECW @RWx instruction length Added missing fetch of immediate value in MOV @RWx + RW7, #imm8. Rewrote Tomy Prin-C keyboard handling and pen to use new onboard devices, substantially increasing the reload timer 0 frequency as it's now correctly waiting for 0x7530 underflows with reload = 0x37f at startup.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/cpu.lua22
1 files changed, 20 insertions, 2 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 8fee66cc946..48d2f317f55 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -3630,8 +3630,26 @@ if CPUS["F2MC16"] then
files {
MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16.cpp",
MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16.h",
- MAME_DIR .. "src/devices/cpu/f2mc16/mb9061x.cpp",
- MAME_DIR .. "src/devices/cpu/f2mc16/mb9061x.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_adc.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_adc.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_clock.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_clock.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_intc.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_intc.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_port.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_port.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_ppg.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_ppg.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_reload.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_reload.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_uart.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_uart.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/mb90570.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/mb90570.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/mb90610a.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/mb90610a.h",
+ MAME_DIR .. "src/devices/cpu/f2mc16/mb90640a.cpp",
+ MAME_DIR .. "src/devices/cpu/f2mc16/mb90640a.h",
}
end