Skip to content

Commit

Permalink
volume table editor, llusbdac, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown321 committed Jan 16, 2025
1 parent b2d8edd commit 2936c11
Show file tree
Hide file tree
Showing 61 changed files with 4,563 additions and 151 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ settings.txt
ignoreme/
product_info
libMali*
ss/*
*.tbl
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@
[submodule "ipod_theme"]
path = digital_clock/ipod_theme
url = https://github.com/nfzerox/ipod_theme
[submodule "libs/llusbdac"]
path = libs/llusbdac
url = https://github.com/zhangboyang/llusbdac.git
11 changes: 10 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ add_executable(${PROJECT_NAME}
libs/zlib/contrib/minizip/ioapi.c
libs/ImageMagick/Magick++/lib/Color.cpp
${PROTOBUF_SOURCE}
src/dac/cxd3778gf_table.cpp
src/util/util.cpp
src/wstring.cpp
src/w1/w1.cpp
src/cassette/tape.cpp
src/digital_clock/digital_clock.cpp
${CONNECTOR_SOURCE}
src/imgui_curve.cpp
src/imgui_widgets.cpp
src/connector/song.cpp
src/skinVariant.cpp
Expand All @@ -125,7 +127,14 @@ add_executable(${PROJECT_NAME}
src/cassette/cassette.cpp
src/config.cpp
# libs/imgui/imgui_demo.cpp
src/shader.cpp)
src/shader.cpp
src/dac/dac.cpp)

#add_executable(dac
# src/dac/cxd3778gf_table.cpp
# src/dac/dac.cpp
# src/dac/main.cpp
# )


set(CMAKE_INSTALL_PREFIX ${CMAKE_SOURCE_DIR}/install/${arch})
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ RUN apt-get build-dep qtbase5-dev -y && \
tar -xf cmake-${CMAKE_RELEASE_VERSION}-linux-x86_64.tar.gz && \
rm cmake-${CMAKE_RELEASE_VERSION}-linux-x86_64.tar.gz && \
ln -s /opt/cmake-${CMAKE_RELEASE_VERSION}-linux-x86_64/bin/cmake /usr/bin/cmake

RUN ln -s /x-tools/armv5-unknown-linux-gnueabihf/bin/armv5-unknown-linux-gnueabihf-ld /usr/bin/arm-linux-gnueabihf-ld && \
ln -s /x-tools/armv5-unknown-linux-gnueabihf/bin/armv5-unknown-linux-gnueabihf-ld.bfd /usr/bin/arm-linux-gnueabihf-ld.bfd && \
ln -s /x-tools/armv5-unknown-linux-gnueabihf/bin/armv5-unknown-linux-gnueabihf-gcc /usr/bin/arm-linux-gnueabihf-gcc && \
ln -s /x-tools/armv5-unknown-linux-gnueabihf/bin/armv5-unknown-linux-gnueabihf-strip /usr/bin/arm-linux-gnueabihf-strip
16 changes: 7 additions & 9 deletions MAKING_OF.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* [Client misc](#client-misc)
* [Settings](#settings)
* [Config file](#config-file)
* [NW-WM1Z / Walkman One compatibility](#nw-wm1z--walkman-one-compatibility)
* [Walkman One compatibility](#walkman-one-compatibility)
* [Build](#build)
* [Cross-compilation](#cross-compilation)
* [Qt](#qt)
Expand Down Expand Up @@ -627,9 +627,9 @@ about that, but no definitive solution. I've spent embarrassing amount of time f
<img src="images/drawing.png" alt="an example of beautiful drawing">


Just as usual, task looks easy. After some googling you may find out that there is magic `QT_QPA_EGLFS_FB` env variable,
which points to framebuffer to draw to. Can we tell `HgrmMediaPlayerApp` to temporarily change framebuffer? No, we
can't, this variable is set only on application start.
Just as usual, task looks easy. After some googling you may find out that there is magical `QT_QPA_EGLFS_FB` env
variable, which points to framebuffer to draw to. Can we tell `HgrmMediaPlayerApp` to temporarily change framebuffer?
No, we can't, this variable is set only on application start.

#### Kernel module?

Expand Down Expand Up @@ -871,6 +871,8 @@ all dropdowns show their content downwards. That breaks tape/reel selection at t
<figcaption>Dropdown dropping in a wrong direction</figcaption>
</figure>
That issue was fixed later, but the memory remains.
There is also an issue with elements' size. Make them bigger = introduce screen scrolling. This is undesirable with
broken culling. Personally, I am fine with current layout and scaling, but my fingers are not that big.
Expand All @@ -895,16 +897,12 @@ with software mod not starting aside from making an issue on GitHub? So here com
protection. Everything from settings is reflected in config file, crash logs are collected into user directory for
easier sharing. Hopefully that'll make post-release maintenance much easier.
### NW-WM1Z / Walkman One compatibility
### Walkman One compatibility
Walkman One firmware is quite popular. Under the hood it changes some system properties so software is tricked into
changing interface and enabling features to match NW-WM1Z. Since software is mostly compatible with Wampy, an effort was
made to add Walkman One build (on that later).
There is no firmware made specifically for NW-WM1Z, because I don't have hardware to test on. Even though software
works, upgrade process may fail in unexpected way and brick the device. If you really want Wampy on your device, please
provide backup file (see [BACKUP.md](./BACKUP.md)).
### Build
<img src="images/CMake-Logo.svg" height="36" alt="cmake logo">
Expand Down
Loading

0 comments on commit 2936c11

Please sign in to comment.