From dc3f8f5e427b109f5db9d5487a652d7189091ef5 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 1 Jan 2023 22:44:06 -0500 Subject: [PATCH] These are the three fetchers to implement. They'll look fairly different from the TMS and SMS fetchers, I think, owing to the greater irregularity that comes with the smarter RAM accesses. I might need to play around for a while. --- Components/9918/Implementation/9918Base.hpp | 5 +++++ Components/9918/Implementation/Fetch.hpp | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/Components/9918/Implementation/9918Base.hpp b/Components/9918/Implementation/9918Base.hpp index b274a4b06..5ccaf25ad 100644 --- a/Components/9918/Implementation/9918Base.hpp +++ b/Components/9918/Implementation/9918Base.hpp @@ -416,6 +416,11 @@ template struct Base { template void fetch_tms_refresh(int start, int end); template void fetch_tms_text(int start, int end); template void fetch_tms_character(int start, int end); + + template void fetch_yamaha_refresh(int start, int end); + template void fetch_yamaha_no_sprites(int start, int end); + template void fetch_yamaha_sprites(int start, int end); + template void fetch_sms(int start, int end); uint32_t *pixel_target_ = nullptr, *pixel_origin_ = nullptr; diff --git a/Components/9918/Implementation/Fetch.hpp b/Components/9918/Implementation/Fetch.hpp index 1903b2355..af42cc831 100644 --- a/Components/9918/Implementation/Fetch.hpp +++ b/Components/9918/Implementation/Fetch.hpp @@ -437,6 +437,24 @@ template void Base::fetch_sms(int start, int end) { // TODO. +template +template void Base::fetch_yamaha_refresh(int start, int end) { + (void)start; + (void)end; +} + +template +template void Base::fetch_yamaha_no_sprites(int start, int end) { + (void)start; + (void)end; +} + +template +template void Base::fetch_yamaha_sprites(int start, int end) { + (void)start; + (void)end; +} + // MARK: - Mega Drive // TODO.