whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
duskwuff[m] has quit [Quit: Idle timeout reached: 172800s]
cfriedt[m] has quit [Quit: Idle timeout reached: 172800s]
<_whitenotifier-4> [glasgow] whitequark created branch update-lockfile - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark opened pull request #743: Update `pdm.min.lock` - https://github.com/GlasgowEmbedded/glasgow/pull/743
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-743-19fc504f5b745e3b487c342cb96e3a2455e890e4 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/19fc504f5b74...2050f32f04b5
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-743-19fc504f5b745e3b487c342cb96e3a2455e890e4 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #743: Update `pdm.min.lock` - https://github.com/GlasgowEmbedded/glasgow/pull/743
<_whitenotifier-4> [glasgow] whitequark deleted branch update-lockfile - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] ahmedcharles synchronize pull request #733: Use Simulation.add_testbench for i2c tests. - https://github.com/GlasgowEmbedded/glasgow/pull/733
<_whitenotifier-4> [glasgow] ahmedcharles commented on pull request #733: Use Simulation.add_testbench for i2c tests. - https://github.com/GlasgowEmbedded/glasgow/pull/733#issuecomment-2673116519
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-733-2050f32f04b539b5576125ec55fba7ab1dff0f10 - https://github.com/GlasgowEmbedded/glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-733-2050f32f04b539b5576125ec55fba7ab1dff0f10 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] ahmedcharles commented on pull request #733: Use Simulation.add_testbench for i2c tests. - https://github.com/GlasgowEmbedded/glasgow/pull/733#issuecomment-2673154664
<_whitenotifier-4> [glasgow] whitequark commented on pull request #733: Use Simulation.add_testbench for i2c tests. - https://github.com/GlasgowEmbedded/glasgow/pull/733#issuecomment-2673162068
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-733-2050f32f04b539b5576125ec55fba7ab1dff0f10 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±2] https://github.com/GlasgowEmbedded/glasgow/compare/2050f32f04b5...2ebe547c07ea
<_whitenotifier-4> [GlasgowEmbedded/glasgow] ahmedcharles 2ebe547 - gateware.test_i2c: use Simulation.add_testbench for i2c tests.
<_whitenotifier-4> [glasgow] whitequark closed pull request #733: Use Simulation.add_testbench for i2c tests. - https://github.com/GlasgowEmbedded/glasgow/pull/733
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-733-2050f32f04b539b5576125ec55fba7ab1dff0f10 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] ahmedcharles commented on pull request #733: Use Simulation.add_testbench for i2c tests. - https://github.com/GlasgowEmbedded/glasgow/pull/733#issuecomment-2673171521
redstarcomrade has quit [Read error: Connection reset by peer]
wiebel[m] has joined #glasgow
<wiebel[m]> I have finally found a working floppy drive and was able to read a disk, now I have a 24MB raw file that seems not to be the same as the Kryoflux Stream. So how do I process the raw floppy file?
<whitequark[cis]> why would it be the same as anything kryoflux does lol
galibert[m] has joined #glasgow
<galibert[m]> The best floppy flux processing software at this point is Applesauce
<whitequark[cis]> anyway, the format is custom
<whitequark[cis]> iirc you want `glasgow tool memory-floppy`
<galibert[m]> So you can convert to its format (it's documented) and use it (but it's mac only, so you need a mac or some kind of hackintosh)
<whitequark[cis]> whitequark[cis]: the tool is a little limited since i wrote it as my introduction to PLLs
<whitequark[cis]> there is a patch i can link you in a bit that makes it way more stable on noisy dumps
<wiebel[m]> Amazing I totally failed to even recognise the whole tool branch of glasgow, thank you both.
<whitequark[cis]> hope it works
<whitequark[cis]> one day ill turn it into gateware
<wiebel[m]> I get a numpy module missing for the histogram operation, raw2img seem to work
<whitequark[cis]> yeah i guess i used numpy and forgot to add it to deps
<whitequark[cis]> how many warnings did you get from raw2img?
<whitequark[cis]> any sectors missing?
<wiebel[m]> bazillions, but I'm just poking around
<whitequark[cis]> in mfm.py you have this code:
<whitequark[cis]> def lock(self, bitstream, *, debug=False,
<whitequark[cis]> nco_frac_bits=8, pll_kp_exp=2, pll_gph_exp=1):
<whitequark[cis]> nco_init_period=0, nco_min_period=16, nco_max_period=256,
<wiebel[m]> Just running index https://paste2.org/XAZnvsYd
<whitequark[cis]> galibert, do you remember the fundamental frequency of the MFM?
<whitequark[cis]> wiebel: try adjusting `nco_{min,max}_period` to uhhh... i think it was 47,49 for 3.5" HD
<wiebel[m]> Is there any nice tool like applesauce for like linux?
<whitequark[cis]> (it's in the units of 48 MHz cycles)
<whitequark[cis]> that should drastically improve your sector recovery rates in raw2img
<whitequark[cis]> actually looking at your index results you got all 18 sectors
<whitequark[cis]> if you have all the sectors you can ignore the errors
<wiebel[m]> I would have done so if you haven't been asking. ;)
<wiebel[m]> atm I have not access to the hardware I just have my raw file to play around.
<whitequark[cis]> I know that sometimes the PLL works really well and sometimes it works quite poorly depending on the capture
<whitequark[cis]> I've been able to recover data from even very damaged disks but it required some fine-tuning
<whitequark[cis]> and I've no idea how good your floppies are
<wiebel[m]> Is there any way to convert it into a format that might be used by fluxvis/greaseweazle or such?
<whitequark[cis]> yes: write some code to do so
<wiebel[m]> histogram ist working now with numpy and matplotlib, should I commit an issue?
<whitequark[cis]> yeah
<whitequark[cis]> we have a mechanism for adding optional applet dependencies
<whitequark[cis]> i'm not sure if it will work well for tools like the memory-floppy one
<whitequark[cis]> numpy is a pretty heavy dependency i think i probably don't want as a requirement for running the applet
<_whitenotifier-4> [glasgow] wiebel opened issue #744: tool memory-floppy histogram is missing dependencies - https://github.com/GlasgowEmbedded/glasgow/issues/744