Commit graph

27 commits

Author SHA1 Message Date
17f4b35e58 Update for Rev D hardware 2025-08-04 11:06:04 -05: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
082f3175f0 Move building the disk image & patching rom into cmake
This fixes a problem I kept causing myself: the patched ROM files
were not per build directory, meaning that I'd build a wrong ROM
and wonder why nothing was working.
2025-03-27 11:47:12 -05:00
43fee452a2 update pico-extras 2025-03-27 10:23:40 -05:00
5e307d8167 Give firmwares distinctive names 2025-03-24 10:36:21 -05:00
1d7580c8b5 Move audio to onboard i2s dac 2025-03-24 09:59:21 -05:00
a2ce633ec9 bump I2S pins up one 2025-03-22 11:11:59 -05:00
b552b5e844 Put UART stdout on pin A4 @ 115200 baud 2025-03-21 12:36:19 -05:00
3d090e7bee aha the i2s converter was assuming it got stereo...! 2025-03-20 13:24:13 -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
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
81b92747f1 Swap HSTX pins
this is a _workaround_ for the fact that the mac framebuffer is inverted.
we'll probably ditch it again once we copy the (512x342) framebuffer
from PSRAM to SRAM....
2025-03-17 13:52:09 -05:00
bea9eeb99c suggest SD pins 2025-03-17 13:14:28 -05:00
be8b597197 Fix cmake default usb pins
(they're fruit jammin')
2025-03-17 13:14:22 -05:00
171199e73b pico_generate_pio_header must be moved later 2025-03-17 12:23:51 -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
e60a4d174b still WIP 2025-03-14 09:36:19 -05:00
0528f6a466 WIP -- hstx display sort of exists but is garbled 2025-03-14 09:12:46 -05:00
be0732f2f0 more aspirational cmakefile changes 2025-03-12 16:14:57 -05:00
4cf4e3d4c2 set the stage for HSTX support 2025-03-07 12:26:20 -06:00
Matt Evans
18ab993e34 video: Allow GPIO pins for video to be configured
Adds a new build option, -DVIDEO_PIN=<n>, which sets the base GPIO
of Video (followed by syncs).

The video pins (for PIO reasons) need to be contiguous, numbered upward
from the DATA pin.  This has caught a couple of people out, so to make
it easier just define them this way.  That then gives a single
configuration option, the first GPIO, setting it all up.
2024-12-20 23:33:38 +00:00
Matt Evans
559fac339b Add USE_VGA_RES configuration for 640x480 display
This (practically) requires use of -DMEMSIZE=208 or larger, as it uses more
memory.  But, works nicely :)
2024-12-20 23:33:38 +00: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
cd92bf8ffb Add MEMSIZE build option
This is plumbed through to the UMAC_MEMSIZE build parameter,
and allows the default of 128KB to be overridden (for instance,
to make a "Mac 208K").
2024-08-27 02:45:17 +01:00
Matt Evans
bd30ffe141 Initial release
Squashed, from v0.1
2024-06-15 21:29:07 +01:00