From: Szász G. <sz...@hu...> - 2021-11-20 21:47:48
|
On Fri, Nov 19, 2021 at 04:05:52PM +0100, Cygnus wrote: > Didn't help either. > > What finally help - i just copied all libspectrum files in /usr/lib64 > instead /usr/local/lib even include/libspectrum.h in /usr/include and > pkconfig/libspectrum.pc in /usr/lib64/pkconfig ... > > It is bad practice, but it worked. Now i can test *Fuse 1.6.0* > > So back to the TRDOS. It's behaviour with other disk formats than 640kB is > still the same. > > *How to replicate:* > > 1/ select any ZX Spectrum and Betadisk emulation > > Usually i am using ZX Spectrum 128k +2 with ISO ROM and TRDOS 5.05cz, but i > tested it with Pentagon 128 and default TRDOS 5.03. It behaves exactly same > (but TRDOS is much more slower). > > 2/ in emulator "Media" -> "Beta" -> "Drive A" -> "Insert new" > > 3/ in TRDOS command FORMAT "$" - will format disk as 80 track single sided > with capacity 1264 sectors > > (another possibility is command 40 before FORMAT or 40 and $ in disk name = > 160kB disk) > > 4/ just for fun in TRDOS command line save one file, for example SAVE "aaa" > CODE 0,16384 and then CAT or LIST - everything is still fine > > 5/ in emulator "Media" -> "Beta" -> "Drive A" -> "Save As" > > 6/ now it fails with this error message and TRD image is empty (file size is > zero instead 320kB or 640kB with unused second half) > > > > > > Cygnus Hi, If you just want to test: first compile libspectrum: cd libspectrum ./configure --prefix=`pwd` make make install than compile fuse: cd ../fuse export PKG_CONFIG_PATH=../libspectrum/lib/pkgconfig ./configure make now you can run fuse from here: ./fuse ---- You can save any disk "image" as a "log" file to see what is on the disk, just save as any_name.log The problem is that: you insert a double sided 80 track disk, TR-DOS format only side 0 (*) and fuse cannot save unformatted tracks into TRD image (side 1). You have to select "Single-sided 80 track" drive (Options->Disk Options->Beta 128 Drive [ABCD]) before insert a "new" disk, because fuse when insert a new disk use the same disk geometry as the drive has. * Very strange: TR-DOS format Side 0 track 0-79 and Side 1 track 0 (but no other tracks on side 1) with FORMAT "$"... hmm? Cheers, Gergely ========================== DISK tracks log! Sides: 2, cylinders: 80 ********* Side: 0, cylinder: 0 type: 0x00 tlen: 6250 h:0 t:0 s:1 l:1(256) normal h:0 t:0 s:9 l:1(256) normal h:0 t:0 s:2 l:1(256) normal h:0 t:0 s:10 l:1(256) normal h:0 t:0 s:3 l:1(256) normal h:0 t:0 s:11 l:1(256) normal h:0 t:0 s:4 l:1(256) normal h:0 t:0 s:12 l:1(256) normal h:0 t:0 s:5 l:1(256) normal h:0 t:0 s:13 l:1(256) normal h:0 t:0 s:6 l:1(256) normal h:0 t:0 s:14 l:1(256) normal h:0 t:0 s:7 l:1(256) normal h:0 t:0 s:15 l:1(256) normal h:0 t:0 s:8 l:1(256) normal h:0 t:0 s:16 l:1(256) normal ********* Side: 1, cylinder: 0 type: 0x00 tlen: 6250 h:0 t:1 s:1 l:1(256) normal h:0 t:1 s:9 l:1(256) normal h:0 t:1 s:2 l:1(256) normal h:0 t:1 s:10 l:1(256) normal h:0 t:1 s:3 l:1(256) normal h:0 t:1 s:11 l:1(256) normal h:0 t:1 s:4 l:1(256) normal h:0 t:1 s:12 l:1(256) normal h:0 t:1 s:5 l:1(256) normal h:0 t:1 s:13 l:1(256) normal h:0 t:1 s:6 l:1(256) normal h:0 t:1 s:14 l:1(256) normal h:0 t:1 s:7 l:1(256) normal h:0 t:1 s:15 l:1(256) normal h:0 t:1 s:8 l:1(256) normal h:0 t:1 s:16 l:1(256) normal ********* Side: 0, cylinder: 1 type: 0x00 tlen: 6250 h:0 t:1 s:1 l:1(256) normal h:0 t:1 s:9 l:1(256) normal h:0 t:1 s:2 l:1(256) normal h:0 t:1 s:10 l:1(256) normal h:0 t:1 s:3 l:1(256) normal h:0 t:1 s:11 l:1(256) normal h:0 t:1 s:4 l:1(256) normal h:0 t:1 s:12 l:1(256) normal h:0 t:1 s:5 l:1(256) normal h:0 t:1 s:13 l:1(256) normal h:0 t:1 s:6 l:1(256) normal h:0 t:1 s:14 l:1(256) normal h:0 t:1 s:7 l:1(256) normal h:0 t:1 s:15 l:1(256) normal h:0 t:1 s:8 l:1(256) normal h:0 t:1 s:16 l:1(256) normal ********* Side: 1, cylinder: 1 type: 0x00 tlen: 6250 ********* Side: 0, cylinder: 2 type: 0x00 tlen: 6250 h:0 t:2 s:1 l:1(256) normal h:0 t:2 s:9 l:1(256) normal h:0 t:2 s:2 l:1(256) normal h:0 t:2 s:10 l:1(256) normal h:0 t:2 s:3 l:1(256) normal h:0 t:2 s:11 l:1(256) normal h:0 t:2 s:4 l:1(256) normal h:0 t:2 s:12 l:1(256) normal ===================== Gergely > > > > Dne 19. 11. 21 v 14:25 Tomáš Franke napsal(a): > > |It was the same when I compiled it on Raspberry Pi from sources Try > > this Build the library, with the default path, install it, sudo rm > > /etc/ld.so.cache sudo ldconfig then ./configure all the packages that > > uses the library again Omikron | > > Dne 19. 11. 21 v 13:51 Cygnus napsal(a): > > > I tried latest release in combination: > > > > > > fuse-utils-1.4.3 > > > fuse-1.6.0 > > > libspectrum-1.5.0 > > > > > > But it was total fail. I compiled and installed libspectrum first as > > > usual and then i tried configure fuse emulator, but configure script > > > was never able found libspectrum, i ended with > > > > > > checking for LIBSPECTRUM... no > > > configure: error: Package requirements (libspectrum >= 1.5.0) were > > > not met: > > > > > > No package 'libspectrum' found > > > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > > installed software in a non-standard prefix. > > > > > > Parameter --prefix=/opt/fuse instead default path /usr/local did not > > > help. (Of course i used same path for all packages, especially > > > libspectrum and emulator). > > > > > > So for now i am back to version 1.5.7. > > > > > > Maybe later i will try it again on another computer with different > > > Linux. I am sorry, but i am not able diagnose it better. > > > > > > > > > Cygnus > > > > > > > _______________________________________________ > fuse-emulator-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-emulator-devel |