1
0
mirror of https://github.com/UzixLS/zx-sizif-xxs.git synced 2025-07-19 07:11:28 +03:00

add auto cpu frequency

When this feature enabled:
* Frequency sets to 14MHz on esxdos activity - for fastest loading from
sd card;
* Frequency sets to 14MHz on 48 BASIC startup;
* Frequency sets to 3.5MHz within ~1ms after #FE port access - this
allows to load from tape within turbo mode. Also this improves beeper
sound effects;
* Otherwise user configured frequency is used.
This commit is contained in:
Eugene Lozovoy
2024-01-10 15:39:07 +03:00
parent df7f0e55e6
commit 64a4bb69c0
5 changed files with 65 additions and 2 deletions

View File

@ -227,6 +227,7 @@ assign sd_indication = sd_indication_en & ~sd_cs;
magic magic0(
.rst_n(n_rstcpu),
.clk28(clk28),
.ck35(ck35),
.bus(bus),
.d_out(magic_dout),
@ -239,6 +240,7 @@ magic magic0(
.magic_button(ps2_key_magic),
.pause_button(ps2_key_pause),
.div_paged(div_map && !div_mapram),
.basic48_paged(basic48_paged),
.magic_mode(magic_mode),
.magic_map(magic_map),