Skip to content

Commit 236a579

Browse files
committed
Updated - Pico2 only due to current RAM requirements
1 parent 4756308 commit 236a579

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

Pico/PaulaNET/rleCompression.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ uint16_t rleCalcDecompressSize(const uint8_t* src, uint16_t srclen) {
129129
return dstSize;
130130
}
131131

132-
132+
/*
133133
134134
// Experimental LZ4 compression Pico->Amiga direction only
135135
@@ -259,4 +259,6 @@ size_t lz4Compress(const uint8_t* src, uint16_t srcLen, uint8_t* dst, bool wordS
259259
if (dec) dstPos--;
260260
261261
return dstPos;
262-
}
262+
}
263+
264+
*/

Pico/PaulaNET/rleCompression.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _____ _ _ _ ___________
1616
#ifndef RLE_COMPRESSION
1717
#define RLE_COMPRESSION
1818

19-
#define RUN_BUFFER_SIZE 2048 // Max size of data that can be compressed and size of run buffer needed or LZ4 compressor
19+
#define RUN_BUFFER_SIZE 1600 // Max size of data that can be compressed and size of run buffer needed or LZ4 compressor
2020

2121

2222
// Returns a guess as to the size of buffer needed to hold compressed data in a worse case situation
@@ -35,6 +35,6 @@ uint16_t rleDecompress(const uint8_t* src, uint16_t srclen, uint8_t* dst, uint16
3535
uint16_t rleCalcDecompressSize(const uint8_t* src, uint16_t srclen);
3636

3737
// Experimental LZ4 compressor
38-
size_t lz4Compress(const uint8_t* src, uint16_t srcLen, uint8_t* dst, bool wordSwap, uint16_t* hashBuffer);
38+
//size_t lz4Compress(const uint8_t* src, uint16_t srcLen, uint8_t* dst, bool wordSwap, uint16_t* hashBuffer);
3939

4040
#endif

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PaulaNet is a WiFi network adapter for the Amiga that uses the floppy disk port
1212

1313
The Amiga's floppy port provides a 500kbps MFM bitstream driven by Paula's DMA engine. PaulaNet exploits this as a data channel:
1414

15-
- A **Raspberry Pi Pico W** (or Pico 2W) sits between the Amiga's floppy port and the WiFi radio
15+
- A **Raspberry Pi Pico 2 W** (Original Pico W is not compatable) sits between the Amiga's floppy port and the WiFi radio
1616
- The Amiga sees PaulaNet as a standard floppy drive (eg DF1:)
1717
- Special tracks (76, 77 and 78) are used as command/data channels
1818
- The Pico handles WiFi via the onboard CYW43439 chip and forwards raw ethernet frames to and from the Amiga
@@ -51,7 +51,7 @@ All floppy signals are brought out to the Pico's GPIO pins. Gerber files for the
5151

5252
| Folder | Contents |
5353
|--------------------|----------------------------------------------------------------------------|
54-
| `Pico/` | Raspberry Pi Pico W firmware (C++, CMake) |
54+
| `Pico/` | Raspberry Pi Pico 2 W firmware (C++, CMake) |
5555
| `NetDevice/` | `PaulaNET.device` Amiga Exec network device driver |
5656
| `AmigaConfig/` | Workbench configuration program (GadTools UI) |
5757
| `MakeDiskImage/` | PC-side tool to generate the ADF and export sector data to `DiskImage.cpp` |
@@ -65,7 +65,7 @@ All floppy signals are brought out to the Pico's GPIO pins. Gerber files for the
6565
- Ping times of **80–120ms** on an unaccelerated Amiga 1200
6666
- Tested with **Roadshow** TCP/IP stack
6767
- Works on stock Amiga hardware (no accelerator required)
68-
- Compatible with Raspberry Pi Pico W and Pico 2W
68+
- Compatible with Raspberry Pico 2 W Only
6969
- Workbench mounts the built-in disk image containing the driver and config program automatically
7070
- WiFi configuration (SSID, password, hostname) stored in Pico flash
7171

0 commit comments

Comments
 (0)