WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:04.310 align:start position:0%
 
Recently,<00:00:01.000><c> I</c><00:00:01.080><c> got</c><00:00:01.360><c> myself</c><00:00:02.120><c> a</c><00:00:02.400><c> M5</c><00:00:02.920><c> Paper</c><00:00:03.240><c> S3.</c>

00:00:04.310 --> 00:00:04.320 align:start position:0%
Recently, I got myself a M5 Paper S3.
 

00:00:04.320 --> 00:00:07.470 align:start position:0%
Recently, I got myself a M5 Paper S3.
It's<00:00:04.520><c> an</c><00:00:04.720><c> ESP32</c><00:00:05.640><c> S3</c><00:00:06.080><c> dev</c><00:00:06.360><c> kit</c><00:00:06.800><c> shaped</c><00:00:07.120><c> like</c><00:00:07.400><c> a</c>

00:00:07.470 --> 00:00:07.480 align:start position:0%
It's an ESP32 S3 dev kit shaped like a
 

00:00:07.480 --> 00:00:11.310 align:start position:0%
It's an ESP32 S3 dev kit shaped like a
portable<00:00:08.120><c> e-reader</c><00:00:09.120><c> featuring</c><00:00:09.680><c> a</c><00:00:09.760><c> 4.7-in</c>

00:00:11.310 --> 00:00:11.320 align:start position:0%
portable e-reader featuring a 4.7-in
 

00:00:11.320 --> 00:00:15.150 align:start position:0%
portable e-reader featuring a 4.7-in
960<00:00:12.000><c> by</c><00:00:12.280><c> 550</c><00:00:13.280><c> e-ink</c><00:00:13.560><c> touchscreen.</c><00:00:14.720><c> What</c><00:00:14.960><c> makes</c>

00:00:15.150 --> 00:00:15.160 align:start position:0%
960 by 550 e-ink touchscreen. What makes
 

00:00:15.160 --> 00:00:17.230 align:start position:0%
960 by 550 e-ink touchscreen. What makes
it<00:00:15.280><c> special</c><00:00:15.760><c> compared</c><00:00:16.200><c> to</c><00:00:16.360><c> other</c><00:00:16.680><c> small</c><00:00:17.000><c> e-ink</c>

00:00:17.230 --> 00:00:17.240 align:start position:0%
it special compared to other small e-ink
 

00:00:17.240 --> 00:00:19.510 align:start position:0%
it special compared to other small e-ink
dev<00:00:17.480><c> kits</c><00:00:17.880><c> is</c><00:00:18.040><c> that</c><00:00:18.320><c> it</c><00:00:18.440><c> has</c><00:00:18.680><c> got</c><00:00:18.920><c> a</c><00:00:18.960><c> screen</c>

00:00:19.510 --> 00:00:19.520 align:start position:0%
dev kits is that it has got a screen
 

00:00:19.520 --> 00:00:23.150 align:start position:0%
dev kits is that it has got a screen
with<00:00:19.760><c> a</c><00:00:19.880><c> raw</c><00:00:20.640><c> row</c><00:00:20.880><c> column</c><00:00:21.280><c> driver</c><00:00:21.640><c> interface.</c>

00:00:23.150 --> 00:00:23.160 align:start position:0%
with a raw row column driver interface.
 

00:00:23.160 --> 00:00:25.390 align:start position:0%
with a raw row column driver interface.
Also<00:00:23.560><c> commonly</c><00:00:24.200><c> referred</c><00:00:24.760><c> as</c><00:00:24.960><c> parallel</c>

00:00:25.390 --> 00:00:25.400 align:start position:0%
Also commonly referred as parallel
 

00:00:25.400 --> 00:00:27.270 align:start position:0%
Also commonly referred as parallel
interface,<00:00:26.000><c> but</c><00:00:26.560><c> that's</c><00:00:26.840><c> a</c><00:00:26.920><c> different</c>

00:00:27.270 --> 00:00:27.280 align:start position:0%
interface, but that's a different
 

00:00:27.280 --> 00:00:30.550 align:start position:0%
interface, but that's a different
parallel<00:00:27.600><c> interface</c><00:00:28.080><c> compared</c><00:00:28.520><c> to</c><00:00:29.120><c> LCD.</c>

00:00:30.550 --> 00:00:30.560 align:start position:0%
parallel interface compared to LCD.
 

00:00:30.560 --> 00:00:32.749 align:start position:0%
parallel interface compared to LCD.
This<00:00:30.960><c> enabled</c><00:00:31.440><c> me</c><00:00:31.600><c> to</c><00:00:31.760><c> drive</c><00:00:32.160><c> this</c><00:00:32.360><c> screen</c>

00:00:32.749 --> 00:00:32.759 align:start position:0%
This enabled me to drive this screen
 

00:00:32.759 --> 00:00:34.670 align:start position:0%
This enabled me to drive this screen
while<00:00:33.000><c> bypassing</c><00:00:33.680><c> the</c><00:00:33.760><c> normal</c><00:00:34.120><c> waveform</c>

00:00:34.670 --> 00:00:34.680 align:start position:0%
while bypassing the normal waveform
 

00:00:34.680 --> 00:00:37.750 align:start position:0%
while bypassing the normal waveform
method.<00:00:35.760><c> This</c><00:00:36.040><c> would</c><00:00:36.240><c> in</c><00:00:36.400><c> turn</c><00:00:37.040><c> make</c><00:00:37.440><c> a</c><00:00:37.520><c> high</c>

00:00:37.750 --> 00:00:37.760 align:start position:0%
method. This would in turn make a high
 

00:00:37.760 --> 00:00:41.350 align:start position:0%
method. This would in turn make a high
refresh<00:00:38.240><c> rate</c><00:00:38.440><c> possible</c><00:00:39.640><c> up</c><00:00:39.880><c> to</c><00:00:40.400><c> 60</c><00:00:40.800><c> to</c><00:00:40.920><c> 70</c>

00:00:41.350 --> 00:00:41.360 align:start position:0%
refresh rate possible up to 60 to 70
 

00:00:41.360 --> 00:00:44.350 align:start position:0%
refresh rate possible up to 60 to 70
FPS.<00:00:42.520><c> More</c><00:00:42.880><c> on</c><00:00:43.000><c> that</c><00:00:43.240><c> later.</c>

00:00:44.350 --> 00:00:44.360 align:start position:0%
FPS. More on that later.
 

00:00:44.360 --> 00:00:46.550 align:start position:0%
FPS. More on that later.
That<00:00:44.640><c> got</c><00:00:44.760><c> me</c><00:00:44.920><c> thinking,</c><00:00:45.840><c> what</c><00:00:46.000><c> kind</c><00:00:46.200><c> of</c><00:00:46.320><c> fun</c>

00:00:46.550 --> 00:00:46.560 align:start position:0%
That got me thinking, what kind of fun
 

00:00:46.560 --> 00:00:48.830 align:start position:0%
That got me thinking, what kind of fun
stuff<00:00:46.920><c> I</c><00:00:47.000><c> can</c><00:00:47.200><c> do</c><00:00:47.520><c> with</c><00:00:47.720><c> it</c><00:00:48.320><c> other</c><00:00:48.560><c> than</c>

00:00:48.830 --> 00:00:48.840 align:start position:0%
stuff I can do with it other than
 

00:00:48.840 --> 00:00:51.390 align:start position:0%
stuff I can do with it other than
writing<00:00:49.200><c> an</c><00:00:49.360><c> e-reader</c><00:00:49.800><c> application?</c><00:00:50.920><c> Several</c>

00:00:51.390 --> 00:00:51.400 align:start position:0%
writing an e-reader application? Several
 

00:00:51.400 --> 00:00:54.430 align:start position:0%
writing an e-reader application? Several
years<00:00:51.680><c> ago,</c><00:00:52.280><c> I</c><00:00:52.360><c> made</c><00:00:52.760><c> a</c><00:00:52.920><c> Gameboy</c><00:00:53.440><c> FPGA</c>

00:00:54.430 --> 00:00:54.440 align:start position:0%
years ago, I made a Gameboy FPGA
 

00:00:54.440 --> 00:00:57.070 align:start position:0%
years ago, I made a Gameboy FPGA
re-implementation.<00:00:55.880><c> So,</c><00:00:56.200><c> it's</c><00:00:56.400><c> fair</c><00:00:56.640><c> to</c><00:00:56.760><c> say</c>

00:00:57.070 --> 00:00:57.080 align:start position:0%
re-implementation. So, it's fair to say
 

00:00:57.080 --> 00:00:59.110 align:start position:0%
re-implementation. So, it's fair to say
I<00:00:57.200><c> have</c><00:00:57.480><c> at</c><00:00:57.600><c> least</c><00:00:57.920><c> some</c><00:00:58.200><c> understanding</c><00:00:59.000><c> of</c>

00:00:59.110 --> 00:00:59.120 align:start position:0%
I have at least some understanding of
 

00:00:59.120 --> 00:01:00.910 align:start position:0%
I have at least some understanding of
the<00:00:59.240><c> Gameboy</c><00:00:59.640><c> architecture.</c>

00:01:00.910 --> 00:01:00.920 align:start position:0%
the Gameboy architecture.
 

00:01:00.920 --> 00:01:03.030 align:start position:0%
the Gameboy architecture.
How<00:01:01.200><c> about</c><00:01:01.440><c> combining</c><00:01:01.960><c> both?</c>

00:01:03.030 --> 00:01:03.040 align:start position:0%
How about combining both?
 

00:01:03.040 --> 00:01:05.310 align:start position:0%
How about combining both?
I<00:01:03.280><c> searched</c><00:01:03.600><c> online</c><00:01:04.199><c> and</c><00:01:04.360><c> found</c><00:01:04.720><c> no</c><00:01:04.920><c> one</c><00:01:05.120><c> have</c>

00:01:05.310 --> 00:01:05.320 align:start position:0%
I searched online and found no one have
 

00:01:05.320 --> 00:01:07.790 align:start position:0%
I searched online and found no one have
ever<00:01:05.600><c> attempted</c><00:01:06.080><c> building</c><00:01:06.440><c> a</c><00:01:06.480><c> such</c><00:01:06.800><c> thing.</c>

00:01:07.790 --> 00:01:07.800 align:start position:0%
ever attempted building a such thing.
 

00:01:07.800 --> 00:01:09.990 align:start position:0%
ever attempted building a such thing.
As<00:01:08.080><c> a</c><00:01:08.160><c> result,</c><00:01:08.760><c> I'm</c><00:01:09.120><c> really</c><00:01:09.440><c> tempted</c><00:01:09.920><c> to</c>

00:01:09.990 --> 00:01:10.000 align:start position:0%
As a result, I'm really tempted to
 

00:01:10.000 --> 00:01:13.070 align:start position:0%
As a result, I'm really tempted to
create<00:01:10.520><c> the</c><00:01:10.720><c> first</c><00:01:11.240><c> Gameboy</c><00:01:11.680><c> emulator</c><00:01:12.920><c> for</c>

00:01:13.070 --> 00:01:13.080 align:start position:0%
create the first Gameboy emulator for
 

00:01:13.080 --> 00:01:15.590 align:start position:0%
create the first Gameboy emulator for
the<00:01:13.240><c> Paper</c><00:01:13.560><c> S3</c><00:01:14.560><c> and</c><00:01:14.760><c> make</c><00:01:15.000><c> it</c><00:01:15.200><c> actually</c>

00:01:15.590 --> 00:01:15.600 align:start position:0%
the Paper S3 and make it actually
 

00:01:15.600 --> 00:01:17.910 align:start position:0%
the Paper S3 and make it actually
playable.

00:01:17.910 --> 00:01:17.920 align:start position:0%
playable.
 

00:01:17.920 --> 00:01:19.990 align:start position:0%
playable.
The<00:01:18.120><c> first</c><00:01:18.440><c> thing</c><00:01:18.760><c> I</c><00:01:18.840><c> started</c><00:01:19.240><c> working</c><00:01:19.600><c> on</c><00:01:19.880><c> is</c>

00:01:19.990 --> 00:01:20.000 align:start position:0%
The first thing I started working on is
 

00:01:20.000 --> 00:01:22.190 align:start position:0%
The first thing I started working on is
the<00:01:20.160><c> high</c><00:01:20.360><c> refresh</c><00:01:20.800><c> rate</c><00:01:21.040><c> e-ink</c><00:01:21.320><c> driver</c>

00:01:22.190 --> 00:01:22.200 align:start position:0%
the high refresh rate e-ink driver
 

00:01:22.200 --> 00:01:23.870 align:start position:0%
the high refresh rate e-ink driver
because<00:01:22.600><c> this</c><00:01:22.880><c> is</c><00:01:23.040><c> the</c><00:01:23.120><c> component</c><00:01:23.760><c> that</c>

00:01:23.870 --> 00:01:23.880 align:start position:0%
because this is the component that
 

00:01:23.880 --> 00:01:26.150 align:start position:0%
because this is the component that
decide<00:01:24.440><c> if</c><00:01:24.600><c> this</c><00:01:24.840><c> project</c><00:01:25.400><c> would</c><00:01:25.600><c> ever</c><00:01:25.840><c> work</c>

00:01:26.150 --> 00:01:26.160 align:start position:0%
decide if this project would ever work
 

00:01:26.160 --> 00:01:27.470 align:start position:0%
decide if this project would ever work
or<00:01:26.240><c> not.</c>

00:01:27.470 --> 00:01:27.480 align:start position:0%
or not.
 

00:01:27.480 --> 00:01:30.230 align:start position:0%
or not.
E-ink<00:01:28.080><c> are</c><00:01:28.320><c> generally</c><00:01:28.760><c> perceived</c><00:01:29.240><c> as</c><00:01:29.400><c> slow,</c>

00:01:30.230 --> 00:01:30.240 align:start position:0%
E-ink are generally perceived as slow,
 

00:01:30.240 --> 00:01:32.830 align:start position:0%
E-ink are generally perceived as slow,
low<00:01:30.480><c> refresh</c><00:01:30.960><c> rate</c><00:01:31.280><c> and</c><00:01:31.480><c> slow</c><00:01:31.720><c> response.</c>

00:01:32.830 --> 00:01:32.840 align:start position:0%
low refresh rate and slow response.
 

00:01:32.840 --> 00:01:35.390 align:start position:0%
low refresh rate and slow response.
However,<00:01:33.560><c> it's</c><00:01:33.760><c> possible</c><00:01:34.400><c> to</c><00:01:34.520><c> improve</c><00:01:34.960><c> it</c>

00:01:35.390 --> 00:01:35.400 align:start position:0%
However, it's possible to improve it
 

00:01:35.400 --> 00:01:37.870 align:start position:0%
However, it's possible to improve it
drastically<00:01:36.240><c> given</c><00:01:36.640><c> hardware.</c>

00:01:37.870 --> 00:01:37.880 align:start position:0%
drastically given hardware.
 

00:01:37.880 --> 00:01:40.230 align:start position:0%
drastically given hardware.
I<00:01:38.080><c> have</c><00:01:38.280><c> a</c><00:01:38.320><c> dedicated</c><00:01:39.000><c> video</c><00:01:39.440><c> about</c><00:01:39.800><c> how</c><00:01:39.920><c> to</c><00:01:40.080><c> do</c>

00:01:40.230 --> 00:01:40.240 align:start position:0%
I have a dedicated video about how to do
 

00:01:40.240 --> 00:01:43.230 align:start position:0%
I have a dedicated video about how to do
60<00:01:40.680><c> Hz</c><00:01:41.120><c> and</c><00:01:41.360><c> low</c><00:01:41.440><c> latency</c><00:01:41.960><c> on</c><00:01:42.160><c> e-ink</c><00:01:42.880><c> and</c><00:01:43.040><c> how</c><00:01:43.200><c> I</c>

00:01:43.230 --> 00:01:43.240 align:start position:0%
60 Hz and low latency on e-ink and how I
 

00:01:43.240 --> 00:01:45.350 align:start position:0%
60 Hz and low latency on e-ink and how I
turn<00:01:43.640><c> it</c><00:01:43.720><c> into</c><00:01:43.960><c> an</c><00:01:44.080><c> e-ink</c><00:01:44.320><c> monitor.</c>

00:01:45.350 --> 00:01:45.360 align:start position:0%
turn it into an e-ink monitor.
 

00:01:45.360 --> 00:01:46.990 align:start position:0%
turn it into an e-ink monitor.
You<00:01:45.520><c> can</c><00:01:45.720><c> view</c><00:01:45.880><c> it</c><00:01:46.040><c> here.</c>

00:01:46.990 --> 00:01:47.000 align:start position:0%
You can view it here.
 

00:01:47.000 --> 00:01:49.510 align:start position:0%
You can view it here.
But<00:01:47.280><c> basically,</c><00:01:48.120><c> if</c><00:01:48.440><c> you</c><00:01:48.560><c> treat</c><00:01:48.920><c> each</c><00:01:49.120><c> pixel</c>

00:01:49.510 --> 00:01:49.520 align:start position:0%
But basically, if you treat each pixel
 

00:01:49.520 --> 00:01:52.310 align:start position:0%
But basically, if you treat each pixel
individually,<00:01:50.640><c> doing</c><00:01:50.920><c> pipeline</c><00:01:51.400><c> updates,</c>

00:01:52.310 --> 00:01:52.320 align:start position:0%
individually, doing pipeline updates,
 

00:01:52.320 --> 00:01:55.070 align:start position:0%
individually, doing pipeline updates,
and<00:01:52.760><c> pay</c><00:01:52.960><c> the</c><00:01:53.040><c> cost</c><00:01:53.480><c> to</c><00:01:53.600><c> use</c><00:01:53.920><c> an</c><00:01:54.120><c> FPGA</c><00:01:54.720><c> to</c><00:01:54.880><c> run</c>

00:01:55.070 --> 00:01:55.080 align:start position:0%
and pay the cost to use an FPGA to run
 

00:01:55.080 --> 00:01:57.470 align:start position:0%
and pay the cost to use an FPGA to run
all<00:01:55.280><c> these,</c><00:01:56.160><c> you</c><00:01:56.280><c> can</c><00:01:56.440><c> get</c><00:01:56.720><c> really</c><00:01:57.040><c> smooth</c>

00:01:57.470 --> 00:01:57.480 align:start position:0%
all these, you can get really smooth
 

00:01:57.480 --> 00:01:59.470 align:start position:0%
all these, you can get really smooth
image<00:01:58.040><c> on</c><00:01:58.240><c> e-ink.</c>

00:01:59.470 --> 00:01:59.480 align:start position:0%
image on e-ink.
 

00:01:59.480 --> 00:02:01.710 align:start position:0%
image on e-ink.
Now,<00:02:00.000><c> I</c><00:02:00.080><c> just</c><00:02:00.280><c> need</c><00:02:00.440><c> to</c><00:02:00.560><c> see</c><00:02:00.880><c> if</c><00:02:01.120><c> I</c><00:02:01.200><c> can</c><00:02:01.400><c> do</c><00:02:01.600><c> the</c>

00:02:01.710 --> 00:02:01.720 align:start position:0%
Now, I just need to see if I can do the
 

00:02:01.720 --> 00:02:04.430 align:start position:0%
Now, I just need to see if I can do the
same<00:02:02.200><c> on</c><00:02:02.600><c> the</c><00:02:02.760><c> ESP32.</c>

00:02:04.430 --> 00:02:04.440 align:start position:0%
same on the ESP32.
 

00:02:04.440 --> 00:02:06.110 align:start position:0%
same on the ESP32.
Luckily,<00:02:04.880><c> for</c><00:02:05.040><c> this</c><00:02:05.240><c> project,</c><00:02:05.800><c> I</c><00:02:05.880><c> don't</c>

00:02:06.110 --> 00:02:06.120 align:start position:0%
Luckily, for this project, I don't
 

00:02:06.120 --> 00:02:08.109 align:start position:0%
Luckily, for this project, I don't
really<00:02:06.360><c> need</c><00:02:06.520><c> to</c><00:02:06.640><c> process</c><00:02:07.160><c> all</c><00:02:07.400><c> the</c><00:02:07.479><c> pixels</c><00:02:08.000><c> on</c>

00:02:08.109 --> 00:02:08.119 align:start position:0%
really need to process all the pixels on
 

00:02:08.119 --> 00:02:09.230 align:start position:0%
really need to process all the pixels on
the<00:02:08.200><c> screen.</c>

00:02:09.230 --> 00:02:09.240 align:start position:0%
the screen.
 

00:02:09.240 --> 00:02:13.030 align:start position:0%
the screen.
Gameboy<00:02:09.720><c> only</c><00:02:10.000><c> has</c><00:02:10.360><c> 160</c><00:02:10.960><c> by</c><00:02:11.160><c> 144</c><00:02:11.800><c> pixels.</c>

00:02:13.030 --> 00:02:13.040 align:start position:0%
Gameboy only has 160 by 144 pixels.
 

00:02:13.040 --> 00:02:15.070 align:start position:0%
Gameboy only has 160 by 144 pixels.
I<00:02:13.160><c> need</c><00:02:13.400><c> three</c><00:02:13.640><c> pixels</c><00:02:14.160><c> to</c><00:02:14.320><c> represent</c><00:02:14.880><c> four</c>

00:02:15.070 --> 00:02:15.080 align:start position:0%
I need three pixels to represent four
 

00:02:15.080 --> 00:02:16.510 align:start position:0%
I need three pixels to represent four
shades<00:02:15.360><c> of</c><00:02:15.480><c> gray.</c>

00:02:16.510 --> 00:02:16.520 align:start position:0%
shades of gray.
 

00:02:16.520 --> 00:02:18.350 align:start position:0%
shades of gray.
Duplicating<00:02:17.200><c> dithered</c><00:02:17.600><c> image</c><00:02:17.959><c> by</c><00:02:18.120><c> three</c>

00:02:18.350 --> 00:02:18.360 align:start position:0%
Duplicating dithered image by three
 

00:02:18.360 --> 00:02:21.790 align:start position:0%
Duplicating dithered image by three
times,<00:02:19.200><c> I</c><00:02:19.320><c> get</c><00:02:19.520><c> 3x</c><00:02:20.000><c> pixel</c><00:02:20.360><c> perfect</c><00:02:20.800><c> scaling</c>

00:02:21.790 --> 00:02:21.800 align:start position:0%
times, I get 3x pixel perfect scaling
 

00:02:21.800 --> 00:02:23.750 align:start position:0%
times, I get 3x pixel perfect scaling
and<00:02:22.120><c> dithered</c><00:02:22.520><c> image.</c>

00:02:23.750 --> 00:02:23.760 align:start position:0%
and dithered image.
 

00:02:23.760 --> 00:02:26.270 align:start position:0%
and dithered image.
This<00:02:23.959><c> means</c><00:02:24.240><c> I</c><00:02:24.360><c> only</c><00:02:24.640><c> need</c><00:02:24.800><c> to</c><00:02:24.959><c> process</c><00:02:25.520><c> 160</c><00:02:26.080><c> by</c>

00:02:26.270 --> 00:02:26.280 align:start position:0%
This means I only need to process 160 by
 

00:02:26.280 --> 00:02:29.870 align:start position:0%
This means I only need to process 160 by
3<00:02:26.720><c> by</c><00:02:26.959><c> 144</c><00:02:27.840><c> pixels</c><00:02:28.400><c> at</c><00:02:28.560><c> 60</c><00:02:28.880><c> Hz,</c>

00:02:29.870 --> 00:02:29.880 align:start position:0%
3 by 144 pixels at 60 Hz,
 

00:02:29.880 --> 00:02:33.270 align:start position:0%
3 by 144 pixels at 60 Hz,
a<00:02:29.959><c> much</c><00:02:30.280><c> lower</c><00:02:30.560><c> target</c><00:02:31.080><c> than</c><00:02:31.480><c> 960</c><00:02:32.120><c> by</c><00:02:32.320><c> 540</c><00:02:33.040><c> at</c>

00:02:33.270 --> 00:02:33.280 align:start position:0%
a much lower target than 960 by 540 at
 

00:02:33.280 --> 00:02:34.710 align:start position:0%
a much lower target than 960 by 540 at
60<00:02:33.640><c> Hz.</c>

00:02:34.710 --> 00:02:34.720 align:start position:0%
60 Hz.
 

00:02:34.720 --> 00:02:36.910 align:start position:0%
60 Hz.
I'm<00:02:34.920><c> storing</c><00:02:35.360><c> four</c><00:02:35.600><c> bits</c><00:02:36.120><c> of</c><00:02:36.320><c> states</c><00:02:36.760><c> per</c>

00:02:36.910 --> 00:02:36.920 align:start position:0%
I'm storing four bits of states per
 

00:02:36.920 --> 00:02:38.910 align:start position:0%
I'm storing four bits of states per
pixel.<00:02:37.600><c> It</c><00:02:37.720><c> gets</c><00:02:37.959><c> compared</c><00:02:38.680><c> with</c><00:02:38.880><c> the</c>

00:02:38.910 --> 00:02:38.920 align:start position:0%
pixel. It gets compared with the
 

00:02:38.920 --> 00:02:41.030 align:start position:0%
pixel. It gets compared with the
incoming<00:02:39.440><c> buffer</c><00:02:39.959><c> to</c><00:02:40.120><c> decide</c><00:02:40.520><c> what</c><00:02:40.680><c> to</c><00:02:40.800><c> send</c>

00:02:41.030 --> 00:02:41.040 align:start position:0%
incoming buffer to decide what to send
 

00:02:41.040 --> 00:02:42.350 align:start position:0%
incoming buffer to decide what to send
to<00:02:41.120><c> the</c><00:02:41.240><c> screen.</c>

00:02:42.350 --> 00:02:42.360 align:start position:0%
to the screen.
 

00:02:42.360 --> 00:02:45.430 align:start position:0%
to the screen.
The<00:02:42.480><c> LCDIF</c><00:02:43.360><c> and</c><00:02:43.520><c> DMA</c><00:02:44.360><c> is</c><00:02:44.560><c> used</c><00:02:44.800><c> to</c><00:02:45.000><c> actually</c>

00:02:45.430 --> 00:02:45.440 align:start position:0%
The LCDIF and DMA is used to actually
 

00:02:45.440 --> 00:02:47.750 align:start position:0%
The LCDIF and DMA is used to actually
pumping<00:02:45.800><c> out</c><00:02:45.959><c> the</c><00:02:46.040><c> pixels</c><00:02:46.480><c> to</c><00:02:46.600><c> the</c><00:02:46.680><c> screen,</c><00:02:47.400><c> so</c>

00:02:47.750 --> 00:02:47.760 align:start position:0%
pumping out the pixels to the screen, so
 

00:02:47.760 --> 00:02:49.830 align:start position:0%
pumping out the pixels to the screen, so
the<00:02:47.880><c> core</c><00:02:48.400><c> can</c><00:02:48.600><c> calculate</c><00:02:49.120><c> next</c><00:02:49.440><c> batch</c><00:02:49.720><c> of</c>

00:02:49.830 --> 00:02:49.840 align:start position:0%
the core can calculate next batch of
 

00:02:49.840 --> 00:02:52.710 align:start position:0%
the core can calculate next batch of
pixels<00:02:50.360><c> to</c><00:02:50.480><c> display.</c><00:02:51.560><c> The</c><00:02:51.680><c> whole</c><00:02:51.959><c> thing</c><00:02:52.320><c> runs</c>

00:02:52.710 --> 00:02:52.720 align:start position:0%
pixels to display. The whole thing runs
 

00:02:52.720 --> 00:02:55.550 align:start position:0%
pixels to display. The whole thing runs
on<00:02:52.840><c> the</c><00:02:52.920><c> second</c><00:02:53.280><c> core</c><00:02:53.640><c> on</c><00:02:53.800><c> the</c><00:02:53.880><c> ESP32.</c><00:02:55.240><c> Each</c>

00:02:55.550 --> 00:02:55.560 align:start position:0%
on the second core on the ESP32. Each
 

00:02:55.560 --> 00:02:58.070 align:start position:0%
on the second core on the ESP32. Each
iteration<00:02:56.160><c> is</c><00:02:56.280><c> set</c><00:02:56.480><c> to</c><00:02:56.680><c> run</c><00:02:57.080><c> for</c><00:02:57.280><c> around</c><00:02:57.680><c> 17</c>

00:02:58.070 --> 00:02:58.080 align:start position:0%
iteration is set to run for around 17
 

00:02:58.080 --> 00:03:01.350 align:start position:0%
iteration is set to run for around 17
milliseconds,<00:02:59.480><c> providing</c><00:02:59.959><c> a</c><00:03:00.040><c> 60</c><00:03:00.440><c> Hz</c><00:03:00.880><c> refresh</c>

00:03:01.350 --> 00:03:01.360 align:start position:0%
milliseconds, providing a 60 Hz refresh
 

00:03:01.360 --> 00:03:03.350 align:start position:0%
milliseconds, providing a 60 Hz refresh
rate.<00:03:02.239><c> Double</c><00:03:02.480><c> buffering</c><00:03:02.959><c> is</c><00:03:03.120><c> also</c>

00:03:03.350 --> 00:03:03.360 align:start position:0%
rate. Double buffering is also
 

00:03:03.360 --> 00:03:06.030 align:start position:0%
rate. Double buffering is also
implemented,<00:03:04.600><c> allowing</c><00:03:05.080><c> the</c><00:03:05.200><c> emulator</c><00:03:05.880><c> to</c>

00:03:06.030 --> 00:03:06.040 align:start position:0%
implemented, allowing the emulator to
 

00:03:06.040 --> 00:03:09.350 align:start position:0%
implemented, allowing the emulator to
render<00:03:06.400><c> tear-free</c><00:03:07.000><c> image.</c>

00:03:09.350 --> 00:03:09.360 align:start position:0%
render tear-free image.
 

00:03:09.360 --> 00:03:11.150 align:start position:0%
render tear-free image.
While<00:03:09.760><c> I</c><00:03:09.880><c> have</c><00:03:10.120><c> implemented</c><00:03:10.720><c> a</c><00:03:10.760><c> Gameboy</c>

00:03:11.150 --> 00:03:11.160 align:start position:0%
While I have implemented a Gameboy
 

00:03:11.160 --> 00:03:13.110 align:start position:0%
While I have implemented a Gameboy
emulator<00:03:11.760><c> in</c><00:03:11.880><c> the</c><00:03:11.959><c> past,</c>

00:03:13.110 --> 00:03:13.120 align:start position:0%
emulator in the past,
 

00:03:13.120 --> 00:03:16.390 align:start position:0%
emulator in the past,
that<00:03:13.360><c> was</c><00:03:13.600><c> also</c><00:03:14.000><c> on</c><00:03:14.200><c> FPGA.</c><00:03:15.360><c> Gameboy</c><00:03:15.800><c> emulator</c>

00:03:16.390 --> 00:03:16.400 align:start position:0%
that was also on FPGA. Gameboy emulator
 

00:03:16.400 --> 00:03:18.270 align:start position:0%
that was also on FPGA. Gameboy emulator
on<00:03:16.519><c> microcontroller</c><00:03:17.280><c> has</c><00:03:17.480><c> been</c><00:03:17.680><c> done</c><00:03:17.959><c> many,</c>

00:03:18.270 --> 00:03:18.280 align:start position:0%
on microcontroller has been done many,
 

00:03:18.280 --> 00:03:21.590 align:start position:0%
on microcontroller has been done many,
many<00:03:18.600><c> times</c><00:03:18.920><c> over.</c><00:03:19.840><c> So,</c><00:03:20.200><c> I</c><00:03:20.280><c> decided</c><00:03:20.720><c> to</c><00:03:21.239><c> use</c>

00:03:21.590 --> 00:03:21.600 align:start position:0%
many times over. So, I decided to use
 

00:03:21.600 --> 00:03:23.949 align:start position:0%
many times over. So, I decided to use
existing<00:03:22.160><c> emulator</c><00:03:22.760><c> instead</c><00:03:23.120><c> of</c><00:03:23.280><c> reinventing</c>

00:03:23.949 --> 00:03:23.959 align:start position:0%
existing emulator instead of reinventing
 

00:03:23.959 --> 00:03:26.750 align:start position:0%
existing emulator instead of reinventing
the<00:03:24.040><c> wheel</c><00:03:24.320><c> myself.</c><00:03:25.480><c> I</c><00:03:25.600><c> tried</c><00:03:26.000><c> three</c><00:03:26.239><c> existing</c>

00:03:26.750 --> 00:03:26.760 align:start position:0%
the wheel myself. I tried three existing
 

00:03:26.760 --> 00:03:28.990 align:start position:0%
the wheel myself. I tried three existing
emulators<00:03:27.560><c> as</c><00:03:27.720><c> the</c><00:03:27.840><c> core.</c>

00:03:28.990 --> 00:03:29.000 align:start position:0%
emulators as the core.
 

00:03:29.000 --> 00:03:33.430 align:start position:0%
emulators as the core.
The<00:03:29.080><c> PeanutGB,</c><00:03:30.320><c> the</c><00:03:30.440><c> WanaCGB,</c><00:03:31.840><c> and</c><00:03:32.040><c> Crankboy.</c>

00:03:33.430 --> 00:03:33.440 align:start position:0%
The PeanutGB, the WanaCGB, and Crankboy.
 

00:03:33.440 --> 00:03:35.509 align:start position:0%
The PeanutGB, the WanaCGB, and Crankboy.
PeanutGB<00:03:34.080><c> seems</c><00:03:34.400><c> to</c><00:03:34.519><c> be</c><00:03:34.680><c> most</c><00:03:35.000><c> popular</c>

00:03:35.509 --> 00:03:35.519 align:start position:0%
PeanutGB seems to be most popular
 

00:03:35.519 --> 00:03:38.110 align:start position:0%
PeanutGB seems to be most popular
emulator<00:03:36.080><c> option</c><00:03:36.959><c> with</c><00:03:37.160><c> decent</c><00:03:37.519><c> performance</c>

00:03:38.110 --> 00:03:38.120 align:start position:0%
emulator option with decent performance
 

00:03:38.120 --> 00:03:39.990 align:start position:0%
emulator option with decent performance
on<00:03:38.239><c> microcontrollers.</c>

00:03:39.990 --> 00:03:40.000 align:start position:0%
on microcontrollers.
 

00:03:40.000 --> 00:03:43.470 align:start position:0%
on microcontrollers.
WanaCGB<00:03:41.080><c> is</c><00:03:41.320><c> a</c><00:03:41.440><c> fork</c><00:03:41.800><c> of</c><00:03:41.920><c> the</c><00:03:42.040><c> PeanutGB.</c><00:03:43.360><c> I</c>

00:03:43.470 --> 00:03:43.480 align:start position:0%
WanaCGB is a fork of the PeanutGB. I
 

00:03:43.480 --> 00:03:45.830 align:start position:0%
WanaCGB is a fork of the PeanutGB. I
modified<00:03:44.040><c> the</c><00:03:44.160><c> emulator</c><00:03:44.840><c> to</c><00:03:45.000><c> do</c><00:03:45.200><c> 16-bit</c>

00:03:45.830 --> 00:03:45.840 align:start position:0%
modified the emulator to do 16-bit
 

00:03:45.840 --> 00:03:48.430 align:start position:0%
modified the emulator to do 16-bit
instruction<00:03:46.360><c> fetch</c><00:03:47.120><c> instead</c><00:03:47.560><c> of</c><00:03:48.040><c> 8-bit</c>

00:03:48.430 --> 00:03:48.440 align:start position:0%
instruction fetch instead of 8-bit
 

00:03:48.440 --> 00:03:50.710 align:start position:0%
instruction fetch instead of 8-bit
fetch,<00:03:49.280><c> potentially</c><00:03:49.840><c> saving</c><00:03:50.160><c> the</c><00:03:50.239><c> time</c><00:03:50.600><c> on</c>

00:03:50.710 --> 00:03:50.720 align:start position:0%
fetch, potentially saving the time on
 

00:03:50.720 --> 00:03:53.750 align:start position:0%
fetch, potentially saving the time on
memory<00:03:51.080><c> access,</c><00:03:52.160><c> mostly</c><00:03:52.640><c> saving</c><00:03:52.960><c> time</c><00:03:53.320><c> on</c><00:03:53.520><c> the</c>

00:03:53.750 --> 00:03:53.760 align:start position:0%
memory access, mostly saving time on the
 

00:03:53.760 --> 00:03:56.550 align:start position:0%
memory access, mostly saving time on the
expensive<00:03:54.480><c> emulated</c><00:03:55.000><c> memory</c><00:03:55.360><c> mapping</c><00:03:55.720><c> path</c>

00:03:56.550 --> 00:03:56.560 align:start position:0%
expensive emulated memory mapping path
 

00:03:56.560 --> 00:03:59.670 align:start position:0%
expensive emulated memory mapping path
by<00:03:56.800><c> issuing</c><00:03:57.200><c> less</c><00:03:57.560><c> memory</c><00:03:57.960><c> access.</c>

00:03:59.670 --> 00:03:59.680 align:start position:0%
by issuing less memory access.
 

00:03:59.680 --> 00:04:02.590 align:start position:0%
by issuing less memory access.
Crankboy<00:04:00.520><c> is</c><00:04:00.760><c> a</c><00:04:00.840><c> fork</c><00:04:01.200><c> of</c><00:04:01.320><c> the</c><00:04:01.440><c> P</c><00:04:01.640><c> Nintendo</c><00:04:01.800><c> GB</c>

00:04:02.590 --> 00:04:02.600 align:start position:0%
Crankboy is a fork of the P Nintendo GB
 

00:04:02.600 --> 00:04:05.750 align:start position:0%
Crankboy is a fork of the P Nintendo GB
and<00:04:03.240><c> a</c><00:04:03.320><c> front-end</c><00:04:04.040><c> for</c><00:04:04.160><c> the</c><00:04:04.280><c> Playdate</c><00:04:04.800><c> project</c>

00:04:05.750 --> 00:04:05.760 align:start position:0%
and a front-end for the Playdate project
 

00:04:05.760 --> 00:04:07.910 align:start position:0%
and a front-end for the Playdate project
offering<00:04:06.320><c> a</c><00:04:06.400><c> complete</c><00:04:06.959><c> optimized</c><00:04:07.520><c> Gameboy</c>

00:04:07.910 --> 00:04:07.920 align:start position:0%
offering a complete optimized Gameboy
 

00:04:07.920 --> 00:04:10.310 align:start position:0%
offering a complete optimized Gameboy
emulator<00:04:08.600><c> for</c><00:04:08.800><c> the</c><00:04:08.880><c> Playdate.</c>

00:04:10.310 --> 00:04:10.320 align:start position:0%
emulator for the Playdate.
 

00:04:10.320 --> 00:04:12.270 align:start position:0%
emulator for the Playdate.
They<00:04:10.560><c> added</c><00:04:10.959><c> many</c><00:04:11.280><c> optimizations</c><00:04:12.080><c> for</c><00:04:12.200><c> the</c>

00:04:12.270 --> 00:04:12.280 align:start position:0%
They added many optimizations for the
 

00:04:12.280 --> 00:04:14.910 align:start position:0%
They added many optimizations for the
port,<00:04:13.160><c> especially</c><00:04:13.800><c> also</c><00:04:14.160><c> around</c><00:04:14.560><c> the</c><00:04:14.640><c> memory</c>

00:04:14.910 --> 00:04:14.920 align:start position:0%
port, especially also around the memory
 

00:04:14.920 --> 00:04:17.030 align:start position:0%
port, especially also around the memory
mapping<00:04:15.280><c> path</c><00:04:16.040><c> allowing</c><00:04:16.480><c> much</c><00:04:16.720><c> better</c>

00:04:17.030 --> 00:04:17.040 align:start position:0%
mapping path allowing much better
 

00:04:17.040 --> 00:04:19.949 align:start position:0%
mapping path allowing much better
performance<00:04:18.160><c> without</c><00:04:18.799><c> the</c><00:04:18.920><c> rather</c><00:04:19.320><c> unusual</c>

00:04:19.949 --> 00:04:19.959 align:start position:0%
performance without the rather unusual
 

00:04:19.959 --> 00:04:22.430 align:start position:0%
performance without the rather unusual
dual<00:04:20.280><c> fetch</c><00:04:20.720><c> architecture</c><00:04:21.600><c> from</c><00:04:21.959><c> the</c><00:04:22.040><c> Warner</c>

00:04:22.430 --> 00:04:22.440 align:start position:0%
dual fetch architecture from the Warner
 

00:04:22.440 --> 00:04:23.750 align:start position:0%
dual fetch architecture from the Warner
CGB.

00:04:23.750 --> 00:04:23.760 align:start position:0%
CGB.
 

00:04:23.760 --> 00:04:27.390 align:start position:0%
CGB.
I<00:04:23.919><c> tried</c><00:04:24.240><c> them</c><00:04:24.480><c> out</c><00:04:24.880><c> on</c><00:04:25.120><c> the</c><00:04:25.320><c> ESP32</c><00:04:26.240><c> S3.</c><00:04:27.280><c> I</c>

00:04:27.390 --> 00:04:27.400 align:start position:0%
I tried them out on the ESP32 S3. I
 

00:04:27.400 --> 00:04:30.550 align:start position:0%
I tried them out on the ESP32 S3. I
tested<00:04:27.800><c> emulation</c><00:04:28.400><c> speed</c><00:04:28.760><c> in</c><00:04:28.960><c> various</c><00:04:29.400><c> titles</c>

00:04:30.550 --> 00:04:30.560 align:start position:0%
tested emulation speed in various titles
 

00:04:30.560 --> 00:04:32.830 align:start position:0%
tested emulation speed in various titles
and<00:04:30.680><c> here</c><00:04:30.960><c> are</c><00:04:31.080><c> the</c><00:04:31.200><c> results.</c><00:04:32.360><c> Performance</c>

00:04:32.830 --> 00:04:32.840 align:start position:0%
and here are the results. Performance
 

00:04:32.840 --> 00:04:35.750 align:start position:0%
and here are the results. Performance
are<00:04:32.960><c> measured</c><00:04:33.480><c> as</c><00:04:33.680><c> relative</c><00:04:34.240><c> to</c><00:04:34.360><c> Gameboy.</c><00:04:35.440><c> One</c>

00:04:35.750 --> 00:04:35.760 align:start position:0%
are measured as relative to Gameboy. One
 

00:04:35.760 --> 00:04:37.670 align:start position:0%
are measured as relative to Gameboy. One
meaning<00:04:36.000><c> it's</c><00:04:36.200><c> running</c><00:04:36.640><c> at</c><00:04:36.840><c> roughly</c><00:04:37.320><c> the</c><00:04:37.400><c> same</c>

00:04:37.670 --> 00:04:37.680 align:start position:0%
meaning it's running at roughly the same
 

00:04:37.680 --> 00:04:40.630 align:start position:0%
meaning it's running at roughly the same
speed<00:04:38.160><c> as</c><00:04:38.400><c> the</c><00:04:38.520><c> Gameboy.</c><00:04:39.520><c> I</c><00:04:39.680><c> used</c><00:04:40.040><c> the</c><00:04:40.160><c> most</c>

00:04:40.630 --> 00:04:40.640 align:start position:0%
speed as the Gameboy. I used the most
 

00:04:40.640 --> 00:04:42.830 align:start position:0%
speed as the Gameboy. I used the most
performant<00:04:41.200><c> Crankboy</c><00:04:41.919><c> as</c><00:04:42.200><c> the</c><00:04:42.320><c> emulation</c>

00:04:42.830 --> 00:04:42.840 align:start position:0%
performant Crankboy as the emulation
 

00:04:42.840 --> 00:04:43.909 align:start position:0%
performant Crankboy as the emulation
core.

00:04:43.909 --> 00:04:43.919 align:start position:0%
core.
 

00:04:43.919 --> 00:04:47.270 align:start position:0%
core.
With<00:04:44.120><c> dynamic</c><00:04:44.600><c> frame</c><00:04:44.919><c> skip,</c><00:04:45.919><c> it</c><00:04:46.040><c> can</c><00:04:46.240><c> hit</c><00:04:46.560><c> 100%</c>

00:04:47.270 --> 00:04:47.280 align:start position:0%
With dynamic frame skip, it can hit 100%
 

00:04:47.280 --> 00:04:49.150 align:start position:0%
With dynamic frame skip, it can hit 100%
speed<00:04:47.640><c> in</c><00:04:47.760><c> many</c><00:04:48.040><c> titles</c>

00:04:49.150 --> 00:04:49.160 align:start position:0%
speed in many titles
 

00:04:49.160 --> 00:04:52.510 align:start position:0%
speed in many titles
rendering<00:04:49.760><c> at</c><00:04:50.000><c> 30</c><00:04:50.320><c> to</c><00:04:50.480><c> 60</c><00:04:50.840><c> FPS.</c><00:04:52.040><c> The</c><00:04:52.160><c> actual</c>

00:04:52.510 --> 00:04:52.520 align:start position:0%
rendering at 30 to 60 FPS. The actual
 

00:04:52.520 --> 00:04:54.510 align:start position:0%
rendering at 30 to 60 FPS. The actual
frame<00:04:52.760><c> rate</c><00:04:52.960><c> depends</c><00:04:53.360><c> a</c><00:04:53.400><c> lot</c><00:04:53.840><c> on</c><00:04:53.960><c> the</c><00:04:54.080><c> run</c><00:04:54.280><c> time</c>

00:04:54.510 --> 00:04:54.520 align:start position:0%
frame rate depends a lot on the run time
 

00:04:54.520 --> 00:04:56.150 align:start position:0%
frame rate depends a lot on the run time
situations.<00:04:55.640><c> With</c><00:04:55.840><c> the</c><00:04:55.880><c> current</c>

00:04:56.150 --> 00:04:56.160 align:start position:0%
situations. With the current
 

00:04:56.160 --> 00:04:59.350 align:start position:0%
situations. With the current
performance,<00:04:57.040><c> it's</c><00:04:57.480><c> rather</c><00:04:58.000><c> unrealistic</c><00:04:59.160><c> to</c>

00:04:59.350 --> 00:04:59.360 align:start position:0%
performance, it's rather unrealistic to
 

00:04:59.360 --> 00:05:01.310 align:start position:0%
performance, it's rather unrealistic to
enable<00:04:59.800><c> Gameboy</c><00:05:00.160><c> color</c><00:05:00.520><c> support</c><00:05:00.919><c> for</c><00:05:01.040><c> now</c>

00:05:01.310 --> 00:05:01.320 align:start position:0%
enable Gameboy color support for now
 

00:05:01.320 --> 00:05:03.670 align:start position:0%
enable Gameboy color support for now
though.<00:05:02.160><c> As</c><00:05:02.320><c> the</c><00:05:02.400><c> Gameboy</c><00:05:02.760><c> color</c><00:05:03.160><c> would</c><00:05:03.320><c> allow</c>

00:05:03.670 --> 00:05:03.680 align:start position:0%
though. As the Gameboy color would allow
 

00:05:03.680 --> 00:05:06.110 align:start position:0%
though. As the Gameboy color would allow
the<00:05:03.800><c> CPU</c><00:05:04.200><c> to</c><00:05:04.400><c> run</c><00:05:04.600><c> at</c><00:05:04.720><c> double</c><00:05:05.040><c> speed.</c>

00:05:06.110 --> 00:05:06.120 align:start position:0%
the CPU to run at double speed.
 

00:05:06.120 --> 00:05:08.909 align:start position:0%
the CPU to run at double speed.
We<00:05:06.200><c> are</c><00:05:06.280><c> not</c><00:05:06.520><c> even</c><00:05:06.760><c> close.</c>

00:05:08.909 --> 00:05:08.919 align:start position:0%
We are not even close.
 

00:05:08.919 --> 00:05:12.030 align:start position:0%
We are not even close.
All<00:05:09.120><c> three</c><00:05:09.360><c> emulators</c><00:05:10.080><c> uses</c><00:05:10.440><c> Mini</c><00:05:10.800><c> GB</c><00:05:11.200><c> APU</c><00:05:11.800><c> as</c>

00:05:12.030 --> 00:05:12.040 align:start position:0%
All three emulators uses Mini GB APU as
 

00:05:12.040 --> 00:05:13.990 align:start position:0%
All three emulators uses Mini GB APU as
a<00:05:12.080><c> sound</c><00:05:12.400><c> emulation</c><00:05:12.960><c> engine.</c>

00:05:13.990 --> 00:05:14.000 align:start position:0%
a sound emulation engine.
 

00:05:14.000 --> 00:05:15.909 align:start position:0%
a sound emulation engine.
The<00:05:14.120><c> Gameboy</c><00:05:14.520><c> integrates</c><00:05:15.200><c> a</c><00:05:15.320><c> four-channel</c>

00:05:15.909 --> 00:05:15.919 align:start position:0%
The Gameboy integrates a four-channel
 

00:05:15.919 --> 00:05:17.990 align:start position:0%
The Gameboy integrates a four-channel
programmable<00:05:16.520><c> sound</c><00:05:16.800><c> generator.</c>

00:05:17.990 --> 00:05:18.000 align:start position:0%
programmable sound generator.
 

00:05:18.000 --> 00:05:20.550 align:start position:0%
programmable sound generator.
Two<00:05:18.160><c> channels</c><00:05:18.640><c> of</c><00:05:18.800><c> square</c><00:05:19.120><c> wave,</c><00:05:20.000><c> one</c><00:05:20.200><c> channel</c>

00:05:20.550 --> 00:05:20.560 align:start position:0%
Two channels of square wave, one channel
 

00:05:20.560 --> 00:05:23.350 align:start position:0%
Two channels of square wave, one channel
of<00:05:20.680><c> sample,</c><00:05:21.600><c> one</c><00:05:21.800><c> channel</c><00:05:22.080><c> of</c><00:05:22.240><c> noise.</c>

00:05:23.350 --> 00:05:23.360 align:start position:0%
of sample, one channel of noise.
 

00:05:23.360 --> 00:05:25.270 align:start position:0%
of sample, one channel of noise.
Four<00:05:23.560><c> channels</c><00:05:24.000><c> are</c><00:05:24.160><c> then</c><00:05:24.360><c> mixed</c><00:05:24.640><c> together</c><00:05:25.120><c> to</c>

00:05:25.270 --> 00:05:25.280 align:start position:0%
Four channels are then mixed together to
 

00:05:25.280 --> 00:05:27.390 align:start position:0%
Four channels are then mixed together to
produce<00:05:25.720><c> the</c><00:05:25.840><c> sound</c><00:05:26.160><c> output.</c>

00:05:27.390 --> 00:05:27.400 align:start position:0%
produce the sound output.
 

00:05:27.400 --> 00:05:29.550 align:start position:0%
produce the sound output.
In<00:05:27.600><c> real</c><00:05:27.880><c> Gameboy,</c><00:05:28.440><c> some</c><00:05:28.720><c> part</c><00:05:28.919><c> of</c><00:05:29.000><c> the</c><00:05:29.080><c> mixing</c>

00:05:29.550 --> 00:05:29.560 align:start position:0%
In real Gameboy, some part of the mixing
 

00:05:29.560 --> 00:05:31.830 align:start position:0%
In real Gameboy, some part of the mixing
happens<00:05:30.120><c> in</c><00:05:30.280><c> the</c><00:05:30.360><c> analog</c><00:05:30.720><c> domain.</c><00:05:31.720><c> But</c>

00:05:31.830 --> 00:05:31.840 align:start position:0%
happens in the analog domain. But
 

00:05:31.840 --> 00:05:34.070 align:start position:0%
happens in the analog domain. But
generally<00:05:32.320><c> for</c><00:05:32.560><c> emulators,</c><00:05:33.280><c> it's</c><00:05:33.520><c> easiest</c><00:05:34.000><c> to</c>

00:05:34.070 --> 00:05:34.080 align:start position:0%
generally for emulators, it's easiest to
 

00:05:34.080 --> 00:05:37.390 align:start position:0%
generally for emulators, it's easiest to
just<00:05:34.360><c> do</c><00:05:34.560><c> everything</c><00:05:35.400><c> as</c><00:05:35.600><c> PCM</c><00:05:36.040><c> samples</c><00:05:37.120><c> at</c>

00:05:37.390 --> 00:05:37.400 align:start position:0%
just do everything as PCM samples at
 

00:05:37.400 --> 00:05:39.150 align:start position:0%
just do everything as PCM samples at
32.768

00:05:39.150 --> 00:05:39.160 align:start position:0%
32.768
 

00:05:39.160 --> 00:05:41.270 align:start position:0%
32.768
kHz<00:05:39.720><c> sample</c><00:05:40.040><c> rate.</c>

00:05:41.270 --> 00:05:41.280 align:start position:0%
kHz sample rate.
 

00:05:41.280 --> 00:05:43.350 align:start position:0%
kHz sample rate.
All<00:05:41.440><c> modern</c><00:05:41.800><c> sound</c><00:05:42.080><c> cards</c><00:05:42.440><c> playback</c><00:05:42.919><c> PCM</c>

00:05:43.350 --> 00:05:43.360 align:start position:0%
All modern sound cards playback PCM
 

00:05:43.360 --> 00:05:45.070 align:start position:0%
All modern sound cards playback PCM
samples<00:05:43.880><c> anyways.</c>

00:05:45.070 --> 00:05:45.080 align:start position:0%
samples anyways.
 

00:05:45.080 --> 00:05:46.990 align:start position:0%
samples anyways.
This<00:05:45.280><c> is</c><00:05:45.440><c> however</c><00:05:45.840><c> not</c><00:05:46.120><c> the</c><00:05:46.240><c> case</c><00:05:46.720><c> on</c><00:05:46.840><c> the</c>

00:05:46.990 --> 00:05:47.000 align:start position:0%
This is however not the case on the
 

00:05:47.000 --> 00:05:50.430 align:start position:0%
This is however not the case on the
PaperS3.<00:05:48.240><c> The</c><00:05:48.360><c> PaperS3</c><00:05:49.000><c> only</c><00:05:49.280><c> has</c><00:05:49.440><c> a</c><00:05:49.520><c> buzzer</c>

00:05:50.430 --> 00:05:50.440 align:start position:0%
PaperS3. The PaperS3 only has a buzzer
 

00:05:50.440 --> 00:05:53.150 align:start position:0%
PaperS3. The PaperS3 only has a buzzer
capable<00:05:50.840><c> of</c><00:05:51.000><c> generating</c><00:05:51.600><c> a</c><00:05:51.680><c> single</c><00:05:52.040><c> tone</c><00:05:52.600><c> when</c>

00:05:53.150 --> 00:05:53.160 align:start position:0%
capable of generating a single tone when
 

00:05:53.160 --> 00:05:55.070 align:start position:0%
capable of generating a single tone when
driven<00:05:53.520><c> by</c><00:05:53.680><c> the</c><00:05:53.800><c> PWM.</c>

00:05:55.070 --> 00:05:55.080 align:start position:0%
driven by the PWM.
 

00:05:55.080 --> 00:05:57.710 align:start position:0%
driven by the PWM.
One<00:05:55.520><c> well-known</c><00:05:56.000><c> technique</c><00:05:56.600><c> is</c><00:05:56.840><c> to</c><00:05:56.960><c> use</c><00:05:57.200><c> a</c><00:05:57.240><c> PWM</c>

00:05:57.710 --> 00:05:57.720 align:start position:0%
One well-known technique is to use a PWM
 

00:05:57.720 --> 00:06:00.950 align:start position:0%
One well-known technique is to use a PWM
DAC<00:05:58.320><c> to</c><00:05:58.480><c> output</c><00:05:58.840><c> PCM</c><00:05:59.280><c> samples.</c><00:06:00.360><c> Basically,</c>

00:06:00.950 --> 00:06:00.960 align:start position:0%
DAC to output PCM samples. Basically,
 

00:06:00.960 --> 00:06:04.350 align:start position:0%
DAC to output PCM samples. Basically,
just<00:06:01.200><c> send</c><00:06:01.880><c> DC</c><00:06:02.240><c> biased</c><00:06:02.720><c> PCM</c><00:06:03.200><c> samples</c><00:06:04.040><c> right</c>

00:06:04.350 --> 00:06:04.360 align:start position:0%
just send DC biased PCM samples right
 

00:06:04.360 --> 00:06:07.470 align:start position:0%
just send DC biased PCM samples right
into<00:06:04.600><c> the</c><00:06:04.720><c> PWM</c><00:06:05.160><c> module</c><00:06:05.880><c> as</c><00:06:06.040><c> a</c><00:06:06.120><c> duty</c><00:06:06.400><c> cycle.</c>

00:06:07.470 --> 00:06:07.480 align:start position:0%
into the PWM module as a duty cycle.
 

00:06:07.480 --> 00:06:10.790 align:start position:0%
into the PWM module as a duty cycle.
However,<00:06:08.680><c> on</c><00:06:09.040><c> ESP32-S3,</c>

00:06:10.790 --> 00:06:10.800 align:start position:0%
However, on ESP32-S3,
 

00:06:10.800 --> 00:06:14.470 align:start position:0%
However, on ESP32-S3,
PWM<00:06:11.240><c> module</c><00:06:11.760><c> couldn't</c><00:06:12.200><c> be</c><00:06:12.360><c> fed</c><00:06:13.000><c> by</c><00:06:13.360><c> the</c><00:06:13.520><c> DMA.</c>

00:06:14.470 --> 00:06:14.480 align:start position:0%
PWM module couldn't be fed by the DMA.
 

00:06:14.480 --> 00:06:16.590 align:start position:0%
PWM module couldn't be fed by the DMA.
It<00:06:14.640><c> needs</c><00:06:14.960><c> to</c><00:06:15.080><c> be</c><00:06:15.280><c> either</c><00:06:15.600><c> pulled</c><00:06:16.400><c> or</c>

00:06:16.590 --> 00:06:16.600 align:start position:0%
It needs to be either pulled or
 

00:06:16.600 --> 00:06:18.390 align:start position:0%
It needs to be either pulled or
generating<00:06:17.200><c> an</c><00:06:17.320><c> interrupt</c><00:06:17.840><c> at</c><00:06:17.919><c> the</c><00:06:18.040><c> sample</c>

00:06:18.390 --> 00:06:18.400 align:start position:0%
generating an interrupt at the sample
 

00:06:18.400 --> 00:06:21.310 align:start position:0%
generating an interrupt at the sample
rate<00:06:18.680><c> to</c><00:06:18.840><c> update</c><00:06:19.280><c> the</c><00:06:19.400><c> duty</c><00:06:19.680><c> cycle</c><00:06:20.040><c> register.</c>

00:06:21.310 --> 00:06:21.320 align:start position:0%
rate to update the duty cycle register.
 

00:06:21.320 --> 00:06:23.590 align:start position:0%
rate to update the duty cycle register.
Both<00:06:21.919><c> would</c><00:06:22.200><c> require</c><00:06:22.640><c> me</c><00:06:22.800><c> to</c><00:06:22.960><c> reserve</c><00:06:23.360><c> some</c>

00:06:23.590 --> 00:06:23.600 align:start position:0%
Both would require me to reserve some
 

00:06:23.600 --> 00:06:25.630 align:start position:0%
Both would require me to reserve some
CPU<00:06:23.960><c> cycles</c><00:06:24.520><c> just</c><00:06:24.880><c> for</c><00:06:25.120><c> outputting</c><00:06:25.560><c> the</c>

00:06:25.630 --> 00:06:25.640 align:start position:0%
CPU cycles just for outputting the
 

00:06:25.640 --> 00:06:28.630 align:start position:0%
CPU cycles just for outputting the
sound.<00:06:26.600><c> Instead,</c><00:06:27.120><c> I</c><00:06:27.200><c> used</c><00:06:27.520><c> the</c><00:06:27.560><c> PDM</c><00:06:28.160><c> output</c>

00:06:28.630 --> 00:06:28.640 align:start position:0%
sound. Instead, I used the PDM output
 

00:06:28.640 --> 00:06:32.390 align:start position:0%
sound. Instead, I used the PDM output
capability<00:06:29.440><c> of</c><00:06:29.680><c> the</c><00:06:29.840><c> I2S</c><00:06:30.840><c> peripheral.</c><00:06:32.000><c> It</c><00:06:32.200><c> was</c>

00:06:32.390 --> 00:06:32.400 align:start position:0%
capability of the I2S peripheral. It was
 

00:06:32.400 --> 00:06:34.390 align:start position:0%
capability of the I2S peripheral. It was
intended<00:06:33.000><c> for</c><00:06:33.120><c> connecting</c><00:06:33.680><c> to</c><00:06:33.840><c> DAC</c><00:06:34.240><c> or</c>

00:06:34.390 --> 00:06:34.400 align:start position:0%
intended for connecting to DAC or
 

00:06:34.400 --> 00:06:37.310 align:start position:0%
intended for connecting to DAC or
amplifiers<00:06:35.160><c> accepting</c><00:06:35.640><c> PDM,</c><00:06:36.760><c> but</c><00:06:36.919><c> you</c><00:06:37.040><c> could</c>

00:06:37.310 --> 00:06:37.320 align:start position:0%
amplifiers accepting PDM, but you could
 

00:06:37.320 --> 00:06:39.870 align:start position:0%
amplifiers accepting PDM, but you could
also<00:06:37.640><c> just</c><00:06:37.960><c> add</c><00:06:38.160><c> a</c><00:06:38.240><c> RC</c><00:06:38.640><c> filter</c><00:06:39.040><c> to</c><00:06:39.240><c> it</c><00:06:39.600><c> and</c>

00:06:39.870 --> 00:06:39.880 align:start position:0%
also just add a RC filter to it and
 

00:06:39.880 --> 00:06:41.950 align:start position:0%
also just add a RC filter to it and
itself<00:06:40.360><c> becomes</c><00:06:40.760><c> a</c><00:06:40.840><c> DAC.</c>

00:06:41.950 --> 00:06:41.960 align:start position:0%
itself becomes a DAC.
 

00:06:41.960 --> 00:06:44.150 align:start position:0%
itself becomes a DAC.
I<00:06:42.160><c> implemented</c><00:06:42.640><c> this</c><00:06:42.840><c> first</c><00:06:43.640><c> and</c><00:06:43.800><c> it</c><00:06:43.919><c> worked</c>

00:06:44.150 --> 00:06:44.160 align:start position:0%
I implemented this first and it worked
 

00:06:44.160 --> 00:07:00.750 align:start position:0%
I implemented this first and it worked
the<00:06:44.280><c> right</c><00:06:44.480><c> away.</c>

00:07:00.750 --> 00:07:00.760 align:start position:0%
 
 

00:07:00.760 --> 00:07:02.470 align:start position:0%
 
But<00:07:00.960><c> the</c><00:07:01.040><c> issue</c><00:07:01.480><c> is</c>

00:07:02.470 --> 00:07:02.480 align:start position:0%
But the issue is
 

00:07:02.480 --> 00:07:05.470 align:start position:0%
But the issue is
it's<00:07:02.880><c> just</c><00:07:03.200><c> way</c><00:07:03.440><c> too</c><00:07:03.640><c> quiet.</c>

00:07:05.470 --> 00:07:05.480 align:start position:0%
it's just way too quiet.
 

00:07:05.480 --> 00:07:07.190 align:start position:0%
it's just way too quiet.
I<00:07:05.720><c> thought</c><00:07:06.000><c> it</c><00:07:06.120><c> might</c><00:07:06.560><c> be</c><00:07:06.680><c> because</c><00:07:07.080><c> the</c>

00:07:07.190 --> 00:07:07.200 align:start position:0%
I thought it might be because the
 

00:07:07.200 --> 00:07:10.190 align:start position:0%
I thought it might be because the
modulation<00:07:07.840><c> frequency</c><00:07:08.360><c> was</c><00:07:08.600><c> too</c><00:07:08.800><c> high,</c><00:07:09.880><c> so</c><00:07:10.120><c> I</c>

00:07:10.190 --> 00:07:10.200 align:start position:0%
modulation frequency was too high, so I
 

00:07:10.200 --> 00:07:13.990 align:start position:0%
modulation frequency was too high, so I
also<00:07:10.560><c> tried</c><00:07:10.919><c> just</c><00:07:11.160><c> 32</c><00:07:11.880><c> kHz</c><00:07:12.360><c> PWM,</c><00:07:13.560><c> but</c><00:07:13.840><c> it</c>

00:07:13.990 --> 00:07:14.000 align:start position:0%
also tried just 32 kHz PWM, but it
 

00:07:14.000 --> 00:07:16.350 align:start position:0%
also tried just 32 kHz PWM, but it
doesn't<00:07:14.440><c> make</c><00:07:14.720><c> any</c><00:07:14.960><c> meaningful</c><00:07:15.400><c> difference.</c>

00:07:16.350 --> 00:07:16.360 align:start position:0%
doesn't make any meaningful difference.
 

00:07:16.360 --> 00:07:18.710 align:start position:0%
doesn't make any meaningful difference.
So,<00:07:16.600><c> I'm</c><00:07:16.760><c> sticking</c><00:07:17.080><c> with</c><00:07:17.240><c> the</c><00:07:17.320><c> PDM.</c><00:07:18.240><c> But</c><00:07:18.640><c> I</c>

00:07:18.710 --> 00:07:18.720 align:start position:0%
So, I'm sticking with the PDM. But I
 

00:07:18.720 --> 00:07:21.990 align:start position:0%
So, I'm sticking with the PDM. But I
felt<00:07:19.120><c> like</c><00:07:19.800><c> that</c><00:07:20.040><c> was</c><00:07:20.200><c> not</c><00:07:20.480><c> enough.</c><00:07:21.480><c> Yes,</c><00:07:21.840><c> it</c>

00:07:21.990 --> 00:07:22.000 align:start position:0%
felt like that was not enough. Yes, it
 

00:07:22.000 --> 00:07:25.590 align:start position:0%
felt like that was not enough. Yes, it
does<00:07:22.280><c> have</c><00:07:22.520><c> sound,</c><00:07:23.400><c> but</c><00:07:23.960><c> if</c><00:07:24.360><c> it's</c><00:07:24.560><c> not</c><00:07:25.000><c> audible</c>

00:07:25.590 --> 00:07:25.600 align:start position:0%
does have sound, but if it's not audible
 

00:07:25.600 --> 00:07:28.150 align:start position:0%
does have sound, but if it's not audible
in<00:07:25.760><c> many</c><00:07:26.000><c> situations,</c><00:07:27.360><c> it's</c><00:07:27.600><c> not</c><00:07:27.840><c> that</c>

00:07:28.150 --> 00:07:28.160 align:start position:0%
in many situations, it's not that
 

00:07:28.160 --> 00:07:31.590 align:start position:0%
in many situations, it's not that
useful.<00:07:29.240><c> To</c><00:07:29.480><c> make</c><00:07:29.800><c> loud</c><00:07:30.160><c> enough</c><00:07:30.520><c> buzz,</c><00:07:31.440><c> it</c>

00:07:31.590 --> 00:07:31.600 align:start position:0%
useful. To make loud enough buzz, it
 

00:07:31.600 --> 00:07:34.030 align:start position:0%
useful. To make loud enough buzz, it
pretty<00:07:31.880><c> much</c><00:07:32.160><c> has</c><00:07:32.400><c> to</c><00:07:32.600><c> be</c><00:07:32.800><c> a</c><00:07:32.880><c> single</c><00:07:33.240><c> tone,</c>

00:07:34.030 --> 00:07:34.040 align:start position:0%
pretty much has to be a single tone,
 

00:07:34.040 --> 00:07:36.190 align:start position:0%
pretty much has to be a single tone,
something<00:07:34.640><c> it</c><00:07:34.800><c> was</c><00:07:35.120><c> actually</c><00:07:35.600><c> designed</c><00:07:36.080><c> to</c>

00:07:36.190 --> 00:07:36.200 align:start position:0%
something it was actually designed to
 

00:07:36.200 --> 00:07:39.310 align:start position:0%
something it was actually designed to
do.<00:07:37.040><c> So,</c><00:07:37.520><c> how</c><00:07:37.680><c> about</c><00:07:38.040><c> actually</c><00:07:38.480><c> just</c><00:07:38.919><c> using</c><00:07:39.240><c> a</c>

00:07:39.310 --> 00:07:39.320 align:start position:0%
do. So, how about actually just using a
 

00:07:39.320 --> 00:07:40.710 align:start position:0%
do. So, how about actually just using a
single<00:07:39.640><c> tone?</c>

00:07:40.710 --> 00:07:40.720 align:start position:0%
single tone?
 

00:07:40.720 --> 00:07:43.670 align:start position:0%
single tone?
You<00:07:40.919><c> see,</c><00:07:41.680><c> on</c><00:07:41.840><c> Game</c><00:07:42.040><c> Boy</c><00:07:42.280><c> sound</c><00:07:42.640><c> generator,</c>

00:07:43.670 --> 00:07:43.680 align:start position:0%
You see, on Game Boy sound generator,
 

00:07:43.680 --> 00:07:45.670 align:start position:0%
You see, on Game Boy sound generator,
first<00:07:44.040><c> two</c><00:07:44.160><c> channels</c><00:07:44.640><c> are</c><00:07:44.800><c> straight</c><00:07:45.320><c> square</c>

00:07:45.670 --> 00:07:45.680 align:start position:0%
first two channels are straight square
 

00:07:45.680 --> 00:07:46.710 align:start position:0%
first two channels are straight square
wave.

00:07:46.710 --> 00:07:46.720 align:start position:0%
wave.
 

00:07:46.720 --> 00:07:48.390 align:start position:0%
wave.
The<00:07:46.800><c> sample</c><00:07:47.200><c> channel</c><00:07:47.600><c> could</c><00:07:47.840><c> often</c><00:07:48.160><c> be</c>

00:07:48.390 --> 00:07:48.400 align:start position:0%
The sample channel could often be
 

00:07:48.400 --> 00:07:51.350 align:start position:0%
The sample channel could often be
approximated<00:07:49.360><c> with</c><00:07:49.600><c> a</c><00:07:49.640><c> square</c><00:07:49.960><c> wave.</c><00:07:50.800><c> While</c>

00:07:51.350 --> 00:07:51.360 align:start position:0%
approximated with a square wave. While
 

00:07:51.360 --> 00:07:54.590 align:start position:0%
approximated with a square wave. While
being<00:07:51.720><c> a</c><00:07:51.800><c> bit</c><00:07:52.120><c> far-fetched,</c><00:07:53.520><c> I</c><00:07:53.680><c> could</c><00:07:54.280><c> use</c>

00:07:54.590 --> 00:07:54.600 align:start position:0%
being a bit far-fetched, I could use
 

00:07:54.600 --> 00:07:57.470 align:start position:0%
being a bit far-fetched, I could use
square<00:07:54.960><c> wave</c><00:07:55.280><c> in</c><00:07:55.560><c> place</c><00:07:56.040><c> of</c><00:07:56.280><c> noise.</c>

00:07:57.470 --> 00:07:57.480 align:start position:0%
square wave in place of noise.
 

00:07:57.480 --> 00:07:59.470 align:start position:0%
square wave in place of noise.
Then,<00:07:57.880><c> it's</c><00:07:58.040><c> just</c><00:07:58.320><c> four</c><00:07:58.520><c> channels</c><00:07:58.960><c> of</c><00:07:59.120><c> square</c>

00:07:59.470 --> 00:07:59.480 align:start position:0%
Then, it's just four channels of square
 

00:07:59.480 --> 00:08:00.590 align:start position:0%
Then, it's just four channels of square
waves.

00:08:00.590 --> 00:08:00.600 align:start position:0%
waves.
 

00:08:00.600 --> 00:08:02.910 align:start position:0%
waves.
While<00:08:00.840><c> the</c><00:08:00.920><c> buzzer</c><00:08:01.240><c> can</c><00:08:01.400><c> only</c><00:08:01.640><c> do</c><00:08:01.840><c> one</c><00:08:02.120><c> tone,</c>

00:08:02.910 --> 00:08:02.920 align:start position:0%
While the buzzer can only do one tone,
 

00:08:02.920 --> 00:08:05.390 align:start position:0%
While the buzzer can only do one tone,
it's<00:08:03.360><c> possible</c><00:08:04.160><c> to</c><00:08:04.320><c> switch</c><00:08:04.640><c> between</c><00:08:05.000><c> multiple</c>

00:08:05.390 --> 00:08:05.400 align:start position:0%
it's possible to switch between multiple
 

00:08:05.400 --> 00:08:07.430 align:start position:0%
it's possible to switch between multiple
sound<00:08:05.640><c> channels</c><00:08:06.160><c> rapidly</c><00:08:06.760><c> to</c><00:08:06.880><c> create</c><00:08:07.320><c> a</c>

00:08:07.430 --> 00:08:07.440 align:start position:0%
sound channels rapidly to create a
 

00:08:07.440 --> 00:08:10.830 align:start position:0%
sound channels rapidly to create a
pseudo<00:08:08.080><c> polyphony</c><00:08:08.960><c> effect.</c><00:08:10.360><c> This</c><00:08:10.600><c> is</c><00:08:10.760><c> a</c>

00:08:10.830 --> 00:08:10.840 align:start position:0%
pseudo polyphony effect. This is a
 

00:08:10.840 --> 00:08:13.310 align:start position:0%
pseudo polyphony effect. This is a
well-known<00:08:11.400><c> technique</c><00:08:11.840><c> on</c><00:08:11.960><c> platforms</c><00:08:12.640><c> also</c>

00:08:13.310 --> 00:08:13.320 align:start position:0%
well-known technique on platforms also
 

00:08:13.320 --> 00:08:16.790 align:start position:0%
well-known technique on platforms also
only<00:08:13.600><c> has</c><00:08:13.760><c> a</c><00:08:13.840><c> single</c><00:08:14.160><c> buzzer,</c><00:08:15.040><c> such</c><00:08:15.400><c> as</c><00:08:16.160><c> an</c><00:08:16.360><c> IBM</c>

00:08:16.790 --> 00:08:16.800 align:start position:0%
only has a single buzzer, such as an IBM
 

00:08:16.800 --> 00:08:19.310 align:start position:0%
only has a single buzzer, such as an IBM
compatible<00:08:17.360><c> PC</c><00:08:17.800><c> without</c><00:08:18.240><c> any</c><00:08:18.440><c> sound</c><00:08:18.720><c> card.</c>

00:08:19.310 --> 00:08:19.320 align:start position:0%
compatible PC without any sound card.
 

00:08:19.320 --> 00:08:22.380 align:start position:0%
compatible PC without any sound card.
Regarding<00:08:19.760><c> the</c><00:08:19.880><c> results,</c>

00:08:22.380 --> 00:08:22.390 align:start position:0%
Regarding the results,
 

00:08:22.390 --> 00:08:27.070 align:start position:0%
Regarding the results,
&gt;&gt; [music]

00:08:27.070 --> 00:08:27.080 align:start position:0%
 
 

00:08:27.080 --> 00:08:29.470 align:start position:0%
 
&gt;&gt; I<00:08:27.120><c> think</c><00:08:27.360><c> it</c><00:08:27.560><c> works</c><00:08:27.880><c> surprisingly</c><00:08:28.640><c> well</c><00:08:29.200><c> and</c>

00:08:29.470 --> 00:08:29.480 align:start position:0%
&gt;&gt; I think it works surprisingly well and
 

00:08:29.480 --> 00:08:31.670 align:start position:0%
&gt;&gt; I think it works surprisingly well and
bad<00:08:29.919><c> at</c><00:08:30.040><c> the</c><00:08:30.160><c> same</c><00:08:30.440><c> time.</c>

00:08:31.670 --> 00:08:31.680 align:start position:0%
bad at the same time.
 

00:08:31.680 --> 00:08:34.469 align:start position:0%
bad at the same time.
The<00:08:31.760><c> good</c><00:08:32.000><c> part,</c><00:08:32.919><c> it's</c><00:08:33.159><c> loud</c><00:08:33.440><c> and</c><00:08:33.560><c> clear.</c><00:08:34.240><c> Game</c>

00:08:34.469 --> 00:08:34.479 align:start position:0%
The good part, it's loud and clear. Game
 

00:08:34.479 --> 00:08:37.790 align:start position:0%
The good part, it's loud and clear. Game
music<00:08:34.960><c> are</c><00:08:35.240><c> still</c><00:08:35.640><c> very</c><00:08:36.000><c> recognizable,</c><00:08:37.280><c> and</c>

00:08:37.790 --> 00:08:37.800 align:start position:0%
music are still very recognizable, and
 

00:08:37.800 --> 00:08:40.029 align:start position:0%
music are still very recognizable, and
it's<00:08:37.960><c> overall</c><00:08:38.440><c> interesting</c><00:08:39.000><c> to</c><00:08:39.120><c> listen</c><00:08:39.479><c> to.</c>

00:08:40.029 --> 00:08:40.039 align:start position:0%
it's overall interesting to listen to.
 

00:08:40.039 --> 00:08:42.430 align:start position:0%
it's overall interesting to listen to.
The<00:08:40.159><c> bad</c><00:08:40.479><c> part,</c><00:08:41.200><c> well,</c><00:08:41.479><c> the</c><00:08:41.560><c> Gameboy</c><00:08:41.960><c> is</c><00:08:42.120><c> never</c>

00:08:42.430 --> 00:08:42.440 align:start position:0%
The bad part, well, the Gameboy is never
 

00:08:42.440 --> 00:08:45.030 align:start position:0%
The bad part, well, the Gameboy is never
supposed<00:08:43.080><c> to</c><00:08:43.200><c> sound</c><00:08:43.479><c> like</c><00:08:43.719><c> that.</c><00:08:44.440><c> To</c><00:08:44.600><c> ensure</c>

00:08:45.030 --> 00:08:45.040 align:start position:0%
supposed to sound like that. To ensure
 

00:08:45.040 --> 00:08:47.270 align:start position:0%
supposed to sound like that. To ensure
all<00:08:45.240><c> these</c><00:08:45.560><c> don't</c><00:08:45.880><c> eat</c><00:08:46.040><c> into</c><00:08:46.400><c> the</c><00:08:46.520><c> limited</c><00:08:46.960><c> CPU</c>

00:08:47.270 --> 00:08:47.280 align:start position:0%
all these don't eat into the limited CPU
 

00:08:47.280 --> 00:08:49.950 align:start position:0%
all these don't eat into the limited CPU
resources<00:08:47.960><c> for</c><00:08:48.120><c> the</c><00:08:48.400><c> emulation,</c><00:08:49.560><c> I</c><00:08:49.680><c> put</c><00:08:49.920><c> the</c>

00:08:49.950 --> 00:08:49.960 align:start position:0%
resources for the emulation, I put the
 

00:08:49.960 --> 00:08:52.630 align:start position:0%
resources for the emulation, I put the
entire<00:08:50.400><c> PSG</c><00:08:50.880><c> emulation</c><00:08:51.480><c> on</c><00:08:51.600><c> the</c><00:08:51.680><c> second</c><00:08:52.040><c> core.</c>

00:08:52.630 --> 00:08:52.640 align:start position:0%
entire PSG emulation on the second core.
 

00:08:52.640 --> 00:08:54.950 align:start position:0%
entire PSG emulation on the second core.
Based<00:08:53.160><c> on</c><00:08:53.520><c> the</c><00:08:53.640><c> profiling</c><00:08:54.360><c> on</c><00:08:54.520><c> selected</c>

00:08:54.950 --> 00:08:54.960 align:start position:0%
Based on the profiling on selected
 

00:08:54.960 --> 00:08:57.430 align:start position:0%
Based on the profiling on selected
games,<00:08:55.720><c> sound</c><00:08:56.040><c> emulation</c><00:08:56.640><c> generally</c><00:08:57.080><c> runs</c>

00:08:57.430 --> 00:08:57.440 align:start position:0%
games, sound emulation generally runs
 

00:08:57.440 --> 00:08:59.630 align:start position:0%
games, sound emulation generally runs
for<00:08:57.800><c> up</c><00:08:57.960><c> to</c><00:08:58.120><c> 2</c><00:08:58.320><c> milliseconds</c><00:08:59.000><c> per</c><00:08:59.160><c> frame,</c>

00:08:59.630 --> 00:08:59.640 align:start position:0%
for up to 2 milliseconds per frame,
 

00:08:59.640 --> 00:09:03.110 align:start position:0%
for up to 2 milliseconds per frame,
depending<00:09:00.160><c> on</c><00:09:00.320><c> the</c><00:09:00.400><c> sound</c><00:09:00.680><c> complexity.</c>

00:09:03.110 --> 00:09:03.120 align:start position:0%
depending on the sound complexity.
 

00:09:03.120 --> 00:09:05.190 align:start position:0%
depending on the sound complexity.
The<00:09:03.200><c> input</c><00:09:03.480><c> is</c><00:09:03.600><c> rather</c><00:09:03.839><c> straightforward.</c><00:09:04.960><c> The</c>

00:09:05.190 --> 00:09:05.200 align:start position:0%
The input is rather straightforward. The
 

00:09:05.200 --> 00:09:08.110 align:start position:0%
The input is rather straightforward. The
M5PaperS3<00:09:06.280><c> has</c><00:09:06.440><c> a</c><00:09:06.520><c> touchscreen,</c><00:09:07.560><c> so</c><00:09:07.920><c> it's</c>

00:09:08.110 --> 00:09:08.120 align:start position:0%
M5PaperS3 has a touchscreen, so it's
 

00:09:08.120 --> 00:09:10.150 align:start position:0%
M5PaperS3 has a touchscreen, so it's
natural<00:09:08.640><c> to</c><00:09:08.760><c> just</c><00:09:09.280><c> show</c><00:09:09.560><c> a</c><00:09:09.640><c> touch</c><00:09:09.920><c> screen</c>

00:09:10.150 --> 00:09:10.160 align:start position:0%
natural to just show a touch screen
 

00:09:10.160 --> 00:09:12.630 align:start position:0%
natural to just show a touch screen
joypad<00:09:10.760><c> on</c><00:09:10.880><c> the</c><00:09:11.000><c> screen.</c>

00:09:12.630 --> 00:09:12.640 align:start position:0%
joypad on the screen.
 

00:09:12.640 --> 00:09:16.150 align:start position:0%
joypad on the screen.
For<00:09:13.120><c> serious</c><00:09:13.680><c> gamers,</c><00:09:14.800><c> though,</c><00:09:15.000><c> really,</c>

00:09:16.150 --> 00:09:16.160 align:start position:0%
For serious gamers, though, really,
 

00:09:16.160 --> 00:09:18.829 align:start position:0%
For serious gamers, though, really,
I<00:09:16.280><c> have</c><00:09:16.560><c> also</c><00:09:16.920><c> added</c><00:09:17.440><c> experimental</c><00:09:18.280><c> Bluetooth</c>

00:09:18.829 --> 00:09:18.839 align:start position:0%
I have also added experimental Bluetooth
 

00:09:18.839 --> 00:09:21.190 align:start position:0%
I have also added experimental Bluetooth
LE<00:09:19.360><c> joypad</c><00:09:19.920><c> support.</c>

00:09:21.190 --> 00:09:21.200 align:start position:0%
LE joypad support.
 

00:09:21.200 --> 00:09:22.990 align:start position:0%
LE joypad support.
Though<00:09:21.400><c> it</c><00:09:21.560><c> doesn't</c><00:09:22.040><c> actually</c><00:09:22.600><c> fully</c>

00:09:22.990 --> 00:09:23.000 align:start position:0%
Though it doesn't actually fully
 

00:09:23.000 --> 00:09:25.470 align:start position:0%
Though it doesn't actually fully
implement<00:09:23.480><c> the</c><00:09:23.600><c> HID</c><00:09:24.160><c> protocol,</c><00:09:25.000><c> it</c><00:09:25.200><c> only</c>

00:09:25.470 --> 00:09:25.480 align:start position:0%
implement the HID protocol, it only
 

00:09:25.480 --> 00:09:27.950 align:start position:0%
implement the HID protocol, it only
guesses<00:09:26.000><c> about</c><00:09:26.360><c> the</c><00:09:26.440><c> report</c><00:09:26.880><c> format.</c><00:09:27.640><c> As</c><00:09:27.880><c> a</c>

00:09:27.950 --> 00:09:27.960 align:start position:0%
guesses about the report format. As a
 

00:09:27.960 --> 00:09:31.350 align:start position:0%
guesses about the report format. As a
result,<00:09:28.520><c> compatibility</c><00:09:29.440><c> is</c><00:09:30.000><c> quite</c><00:09:30.360><c> poor.</c><00:09:31.280><c> I</c>

00:09:31.350 --> 00:09:31.360 align:start position:0%
result, compatibility is quite poor. I
 

00:09:31.360 --> 00:09:34.070 align:start position:0%
result, compatibility is quite poor. I
think<00:09:31.680><c> as</c><00:09:31.880><c> a</c><00:09:31.960><c> demo,</c><00:09:32.440><c> this</c><00:09:32.680><c> is</c><00:09:32.880><c> fine,</c><00:09:33.360><c> but</c><00:09:33.800><c> this</c>

00:09:34.070 --> 00:09:34.080 align:start position:0%
think as a demo, this is fine, but this
 

00:09:34.080 --> 00:09:37.630 align:start position:0%
think as a demo, this is fine, but this
definitely<00:09:34.560><c> can</c><00:09:34.760><c> see</c><00:09:35.000><c> some</c><00:09:35.200><c> improvements.</c>

00:09:37.630 --> 00:09:37.640 align:start position:0%
definitely can see some improvements.
 

00:09:37.640 --> 00:09:40.350 align:start position:0%
definitely can see some improvements.
I<00:09:37.839><c> add</c><00:09:38.200><c> another</c><00:09:38.640><c> feature,</c><00:09:39.560><c> quick</c><00:09:39.840><c> save</c><00:09:40.200><c> and</c>

00:09:40.350 --> 00:09:40.360 align:start position:0%
I add another feature, quick save and
 

00:09:40.360 --> 00:09:41.670 align:start position:0%
I add another feature, quick save and
quick<00:09:40.640><c> load.</c>

00:09:41.670 --> 00:09:41.680 align:start position:0%
quick load.
 

00:09:41.680 --> 00:09:43.950 align:start position:0%
quick load.
This<00:09:41.880><c> basically</c><00:09:42.560><c> stores</c><00:09:43.040><c> and</c><00:09:43.200><c> load</c><00:09:43.480><c> the</c><00:09:43.560><c> state</c>

00:09:43.950 --> 00:09:43.960 align:start position:0%
This basically stores and load the state
 

00:09:43.960 --> 00:09:46.230 align:start position:0%
This basically stores and load the state
of<00:09:44.080><c> the</c><00:09:44.200><c> entire</c><00:09:44.640><c> emulated</c><00:09:45.160><c> Game</c><00:09:45.400><c> Boy,</c>

00:09:46.230 --> 00:09:46.240 align:start position:0%
of the entire emulated Game Boy,
 

00:09:46.240 --> 00:09:48.270 align:start position:0%
of the entire emulated Game Boy,
allowing<00:09:46.720><c> quickly</c><00:09:47.160><c> creating</c><00:09:47.560><c> checkpoints</c>

00:09:48.270 --> 00:09:48.280 align:start position:0%
allowing quickly creating checkpoints
 

00:09:48.280 --> 00:09:50.550 align:start position:0%
allowing quickly creating checkpoints
and<00:09:48.400><c> return</c><00:09:48.840><c> to</c><00:09:48.960><c> the</c><00:09:49.040><c> checkpoint.</c>

00:09:50.550 --> 00:09:50.560 align:start position:0%
and return to the checkpoint.
 

00:09:50.560 --> 00:09:53.950 align:start position:0%
and return to the checkpoint.
So,<00:09:50.840><c> the</c><00:09:51.040><c> idea</c><00:09:51.600><c> is</c><00:09:52.480><c> when</c><00:09:52.640><c> the</c><00:09:52.720><c> next</c><00:09:53.040><c> time</c><00:09:53.480><c> you</c>

00:09:53.950 --> 00:09:53.960 align:start position:0%
So, the idea is when the next time you
 

00:09:53.960 --> 00:09:56.910 align:start position:0%
So, the idea is when the next time you
pick<00:09:54.200><c> up</c><00:09:54.400><c> the</c><00:09:54.480><c> Paper</c><00:09:54.840><c> S3</c><00:09:55.520><c> after</c><00:09:56.080><c> you</c><00:09:56.520><c> shut</c><00:09:56.800><c> it</c>

00:09:56.910 --> 00:09:56.920 align:start position:0%
pick up the Paper S3 after you shut it
 

00:09:56.920 --> 00:09:59.310 align:start position:0%
pick up the Paper S3 after you shut it
down<00:09:57.240><c> and</c><00:09:57.320><c> put</c><00:09:57.480><c> it</c><00:09:57.560><c> away,</c><00:09:58.440><c> you</c><00:09:58.520><c> can</c><00:09:58.680><c> just</c><00:09:59.000><c> quick</c>

00:09:59.310 --> 00:09:59.320 align:start position:0%
down and put it away, you can just quick
 

00:09:59.320 --> 00:10:00.750 align:start position:0%
down and put it away, you can just quick
load<00:09:59.640><c> to</c><00:09:59.760><c> get</c><00:09:59.960><c> back</c><00:10:00.280><c> to</c><00:10:00.400><c> the</c><00:10:00.480><c> game</c>

00:10:00.750 --> 00:10:00.760 align:start position:0%
load to get back to the game
 

00:10:00.760 --> 00:10:03.230 align:start position:0%
load to get back to the game
immediately.

00:10:03.230 --> 00:10:03.240 align:start position:0%
immediately.
 

00:10:03.240 --> 00:10:05.870 align:start position:0%
immediately.
In<00:10:03.360><c> conclusion,</c><00:10:04.200><c> I</c><00:10:04.400><c> think</c><00:10:04.800><c> the</c><00:10:04.960><c> end</c><00:10:05.160><c> result</c><00:10:05.680><c> is</c>

00:10:05.870 --> 00:10:05.880 align:start position:0%
In conclusion, I think the end result is
 

00:10:05.880 --> 00:10:07.910 align:start position:0%
In conclusion, I think the end result is
a<00:10:05.920><c> pretty</c><00:10:06.280><c> decent</c><00:10:06.880><c> or</c><00:10:07.040><c> usable</c><00:10:07.520><c> Game</c><00:10:07.720><c> Boy</c>

00:10:07.910 --> 00:10:07.920 align:start position:0%
a pretty decent or usable Game Boy
 

00:10:07.920 --> 00:10:11.110 align:start position:0%
a pretty decent or usable Game Boy
emulator<00:10:08.680><c> for</c><00:10:09.040><c> the</c><00:10:09.160><c> M5</c><00:10:09.560><c> Paper</c><00:10:09.840><c> S3.</c>

00:10:11.110 --> 00:10:11.120 align:start position:0%
emulator for the M5 Paper S3.
 

00:10:11.120 --> 00:10:13.510 align:start position:0%
emulator for the M5 Paper S3.
It's<00:10:11.360><c> sad</c><00:10:11.840><c> that</c><00:10:12.120><c> Paper</c><00:10:12.400><c> S3</c><00:10:12.760><c> has</c><00:10:13.040><c> already</c>

00:10:13.510 --> 00:10:13.520 align:start position:0%
It's sad that Paper S3 has already
 

00:10:13.520 --> 00:10:15.630 align:start position:0%
It's sad that Paper S3 has already
reached<00:10:14.120><c> end</c><00:10:14.280><c> of</c><00:10:14.400><c> life.</c>

00:10:15.630 --> 00:10:15.640 align:start position:0%
reached end of life.
 

00:10:15.640 --> 00:10:17.510 align:start position:0%
reached end of life.
Hopefully,<00:10:16.160><c> we</c><00:10:16.320><c> get</c><00:10:16.480><c> a</c><00:10:16.560><c> proper</c><00:10:16.920><c> replacement</c>

00:10:17.510 --> 00:10:17.520 align:start position:0%
Hopefully, we get a proper replacement
 

00:10:17.520 --> 00:10:19.030 align:start position:0%
Hopefully, we get a proper replacement
for<00:10:17.680><c> it</c><00:10:17.760><c> soon.</c>

00:10:19.030 --> 00:10:19.040 align:start position:0%
for it soon.
 

00:10:19.040 --> 00:10:20.950 align:start position:0%
for it soon.
If<00:10:19.320><c> you</c><00:10:19.400><c> want</c><00:10:19.560><c> to</c><00:10:19.640><c> try</c><00:10:19.840><c> this</c><00:10:20.080><c> firmware</c><00:10:20.520><c> out,</c>

00:10:20.950 --> 00:10:20.960 align:start position:0%
If you want to try this firmware out,
 

00:10:20.960 --> 00:10:23.630 align:start position:0%
If you want to try this firmware out,
it's<00:10:21.200><c> available</c><00:10:21.760><c> on</c><00:10:21.960><c> the</c><00:10:22.040><c> M5</c><00:10:22.440><c> burner.</c>

00:10:23.630 --> 00:10:23.640 align:start position:0%
it's available on the M5 burner.
 

00:10:23.640 --> 00:10:25.750 align:start position:0%
it's available on the M5 burner.
Thank<00:10:23.920><c> you</c><00:10:24.040><c> for</c><00:10:24.240><c> watching</c><00:10:24.800><c> and</c><00:10:25.280><c> I</c><00:10:25.400><c> will</c><00:10:25.640><c> see</c>

00:10:25.750 --> 00:10:25.760 align:start position:0%
Thank you for watching and I will see
 

00:10:25.760 --> 00:10:28.600 align:start position:0%
Thank you for watching and I will see
you<00:10:25.920><c> next</c><00:10:26.200><c> time.</c>

