Commit graph

28 commits

Author SHA1 Message Date
1c71dd765a Automute 1/2s after audio finishes playing
Some checks failed
Build pico-mac / bins (push) Has been cancelled
2025-03-28 11:48:47 -05:00
eebab0afa4 mute speaker too 2025-03-28 11:48:47 -05:00
0e46434843 mute headphone when not actively playing audio 2025-03-28 11:48:44 -05:00
Limor "Ladyada" Fried
646926f066
Merge pull request #5 from adafruit/mute-etc
Mute dac when mac is not making noise
2025-03-28 10:54:13 -04:00
ladyada
baef470b95 turn off speaker for now 2025-03-28 10:50:52 -04:00
ladyada
ad1c9265be headphone gain is good now 2025-03-28 10:49:12 -04:00
b1c20d06ea Change the LED to a SD activity light
Some checks failed
Build pico-mac / bins (push) Has been cancelled
2025-03-28 09:35:02 -05:00
41a8e0e9b6 Mute the i2s dac when sound output is inactive 2025-03-28 09:18:22 -05:00
ladyada
34e184b5fe tweak headset gain to not be so loud. 2025-03-28 10:08:21 -04:00
bfc9f6f0f0 Add overclocking
.. not currently compatible with PSRAM (sadly), even though I tried
doing the right things with PSRAM clocking.
2025-03-27 12:07:36 -05:00
7d815b8fd3 finish updating pico-extras submodule 2025-03-27 10:24:18 -05:00
6ed6eae9bc quiet debug messages for i2s init 2025-03-27 10:23:43 -05:00
c611126e85 actually call i2s dac setup code 2025-03-24 11:14:53 -05:00
9f7a3ac7a5 bump sample rate to 22256
this is the "correct" rate based on the original horizontal line rate of
the mac plus and is supported on the fruit jam i2s dac
2025-03-24 10:02:54 -05:00
1d7580c8b5 Move audio to onboard i2s dac 2025-03-24 09:59:21 -05:00
cd3bb34482 Fix inverse video & support 512x342 w/o psram 2025-03-24 09:50:47 -05:00
202098c881 fix printing size of disc image on debug uart
it's actually an unsigned long long, but we can bet on it actually having
a size that fits in 32 bits.
2025-03-21 12:46:55 -05:00
7fc9037604 There's audio, but it's glitched.
it only works at all with 128k or 256k non-psram builds

you can hear the beep when you adjust the slider in control panel, but
there's other audio overlaid on it that is kind of a weird descending tone,
very regular in nature.

The sample rate is set to 20k not 22.255k because of my i2s dac not
liking random sample rates.

Instead of using the i2s dac on the fruit jam, this uses A0 (data),
A1 (lrck), A2 (bclk). It's not super convenient, and it's hard coded.
2025-03-20 13:10:48 -05:00
6dce5594c5 show audio buffer next to screen in 512x342 2025-03-18 14:06:35 -05:00
a5e4afc98a use cached psram access 2025-03-18 13:56:42 -05:00
ada575fe01 Support 512x342 with hstx when mirroring from psram 2025-03-17 20:32:43 -05:00
9fb0ec8f60 Add psram support
it seems to be a tad slower but what do you want....!
2025-03-17 20:14:56 -05:00
6c18cee5ec USB mouse works! 2025-03-14 15:05:19 -05:00
d0a29092b6 WIP switching to pico-pio-usb 2025-03-14 14:21:13 -05:00
6805b1191b last tweaks? 2025-03-14 14:00:50 -05:00
Matt Evans
67cb1741c6 Add support for boot/disc storage on SD card
Uses the no-OS-FatFS-SD-SPI-RPi-Pico library, and on startup opens
the fs to search for 'umac0.img' or 'umac0ro.img'.  If the former
is found, it's used as a RW image; the latter is RO.  If no images
are found, the code falls back to an in-flash disc image; you can
set up a default that's used if no SD card is inserted, for example.

The wiring defaults to GPIOs 2/3/4/5 for SCK/TX/RX/CS respectively,
which matches the upper-left SPI0 on the Pico board.  The wiring
can be overridden by defining SD_TX, SD_RX, SD_SCK, SD_CS on the
`cmake` build commandline.

The SPI speed defaults to a very conservative 5MHz (at least one of
my cards will only cope with this).  Again, this can be overridden
by defining SD_MHZ on the commandline (to an integer in units of MHz).

Note this also disables the RTC portion of FatFS when building
for RP2350 (which doesn't have an RTC, or APIs for it).
2024-08-27 02:45:17 +01:00
Matt Evans
7a0327370e Add missing headers
In video, include padsbank header
In main, add clocks header

These seem to be needed on SDK v2...
2024-08-22 21:56:36 +01:00
Matt Evans
bd30ffe141 Initial release
Squashed, from v0.1
2024-06-15 21:29:07 +01:00