Re: [Freedos-user] Report back: QEMU - Max size of Linux access folder

2024-03-13 Thread Louis Santillan via Freedos-user
You might try updating the 2nd drive's argument to `-drive
file=fat:rw:dosfiles/,format=raw,cache=writeback`.  [0]

[0]
https://manpages.debian.org/unstable/qemu-system-x86/qemu-system-i386.1.en.html

On Wed, Mar 13, 2024 at 10:29 AM h...@iafrica.com  wrote:

> I removed CDROM and Sound support. I moved all program directories from
> the D: drive (FAT16 access drive) to the C: drive and this appears to have
> improved the speed to about 7x slower. I then checked to see if KVM was
> running and it was.
> The command line I was using to invoke the emulator was:-
> $ qemu-system-i386 -m 32 -rtc base=localtime -drive
> file=dos.img,index=0,media=disk,format=raw -drive
> file=fat:rw:dosfiles/,format=raw -boot order=c -display sdl
> I then added "-enable-kvm"
> eg.
> $ qemu-system-i386 -m 32 -rtc base=localtime -drive
> file=dos.img,index=0,media=disk,format=raw -drive
> file=fat:rw:dosfiles/,format=raw -boot order=c -display sdl -enable-kvm
> This has moved speed to parity to 2x slower which is excellent.
>
> I have switched to the 4DOS shell with no speed penalty. In 4DOS I have
> always used Function key F11 to toggle between two directories. This does
> not work as QEMU appears to use F11 to toggle between current window size
> and full screen. I have searched on the Internet but not found any
> reference to the use off F11 in QEMU. Anyone have any ideas how to reassign
> the key? I suspect it is hard coded?
>
> Using drive D:, the access drive, appears to be problematic. Best not to
> use it other than transfer files.
>
>
> On 2024/03/13 18:53, Louis Santillan wrote:
>
> What was the qemu command you used?  It sounds like you paying a double
> penalty somewhere for how you’re get the disk image into qemu.  Loopback
> devices pay some penalty.  10x seems like some option is missing to improve
> performance.
>
> On Wed, Mar 13, 2024 at 2:57 AM hms--- via Freedos-user <
> freedos-user@lists.sourceforge.net> wrote:
>
>> Hi All
>> Some feedback. Creating a 2G image allowed me to assemble source code
>> correctly. The only penalty being speed. About 6 to 11 times slower than
>> running DOS under XP.
>> I mounted the image and copied source files from backup directory to
>> mounted C: drive.
>> Lubuntu Linux error on boot up resolved. QEMU-KVM had crashed on two
>> occasions and logs created in the /dev/crash directory. Deleting the log
>> files in /dev/crash removed the error message on start up.
>>
>> I used "mount" instead of "guestmount". Steps below.
>>
>> Display start sector and sector size:
>> $ fdisk -l dos.img
>> Eg. 63 and 512 bytes. Offset = 63 * 512 = 32256
>>
>> Create directory:
>> $ mkdir /tmp/dos
>>
>> Mount image in directory:
>> $ sudo mount -o loop,offset=32256 dos.img /tmp/dos
>>
>> Copy directories:
>> Eg.
>> $ cp -r /temp/source-dir  /tmp/dos
>>
>> Unmount image:
>> umount /tmp/dos
>>
>> John
>>
>>
>> ___
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>>
>
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] QEMU - Max size of Linux access folder

2024-03-13 Thread Liam Proven via Freedos-user
On Mon, 11 Mar 2024 at 23:00, Jim Hall via Freedos-user
 wrote:

> I run Fedora and whenever the new version comes out, I backup my data,
> nuke and reinstall.

Good heavens.

FWIW my oldest running Ubuntu installation is now on its 3rd laptop
host and it's 11 years old. It started out as Ubuntu 13.10. Still 100%
working, as are all apps.

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
IoM: (+44) 7624 277612: UK: (+44) 7939-087884
Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Report back: QEMU - Max size of Linux access folder

2024-03-13 Thread hms--- via Freedos-user
I removed CDROM and Sound support. I moved all program directories from 
the D: drive (FAT16 access drive) to the C: drive and this appears to 
have improved the speed to about 7x slower. I then checked to see if KVM 
was running and it was.

The command line I was using to invoke the emulator was:-
$ qemu-system-i386 -m 32 -rtc base=localtime -drive 
file=dos.img,index=0,media=disk,format=raw -drive 
file=fat:rw:dosfiles/,format=raw -boot order=c -display sdl

I then added "-enable-kvm"
eg.
$ qemu-system-i386 -m 32 -rtc base=localtime -drive 
file=dos.img,index=0,media=disk,format=raw -drive 
file=fat:rw:dosfiles/,format=raw -boot order=c -display sdl -enable-kvm

This has moved speed to parity to 2x slower which is excellent.

I have switched to the 4DOS shell with no speed penalty. In 4DOS I have 
always used Function key F11 to toggle between two directories. This 
does not work as QEMU appears to use F11 to toggle between current 
window size and full screen. I have searched on the Internet but not 
found any reference to the use off F11 in QEMU. Anyone have any ideas 
how to reassign the key? I suspect it is hard coded?


Using drive D:, the access drive, appears to be problematic. Best not to 
use it other than transfer files.



On 2024/03/13 18:53, Louis Santillan wrote:
What was the qemu command you used?  It sounds like you paying a 
double penalty somewhere for how you’re get the disk image into qemu.  
Loopback devices pay some penalty.  10x seems like some option is 
missing to improve performance.


On Wed, Mar 13, 2024 at 2:57 AM hms--- via Freedos-user 
 wrote:


Hi All
Some feedback. Creating a 2G image allowed me to assemble source code
correctly. The only penalty being speed. About 6 to 11 times
slower than
running DOS under XP.
I mounted the image and copied source files from backup directory to
mounted C: drive.
Lubuntu Linux error on boot up resolved. QEMU-KVM had crashed on two
occasions and logs created in the /dev/crash directory. Deleting
the log
files in /dev/crash removed the error message on start up.

I used "mount" instead of "guestmount". Steps below.

Display start sector and sector size:
$ fdisk -l dos.img
Eg. 63 and 512 bytes. Offset = 63 * 512 = 32256

Create directory:
$ mkdir /tmp/dos

Mount image in directory:
$ sudo mount -o loop,offset=32256 dos.img /tmp/dos

Copy directories:
Eg.
$ cp -r /temp/source-dir  /tmp/dos

Unmount image:
umount /tmp/dos

John


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Report back: QEMU - Max size of Linux access folder

2024-03-13 Thread Louis Santillan via Freedos-user
What was the qemu command you used?  It sounds like you paying a double
penalty somewhere for how you’re get the disk image into qemu.  Loopback
devices pay some penalty.  10x seems like some option is missing to improve
performance.

On Wed, Mar 13, 2024 at 2:57 AM hms--- via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Hi All
> Some feedback. Creating a 2G image allowed me to assemble source code
> correctly. The only penalty being speed. About 6 to 11 times slower than
> running DOS under XP.
> I mounted the image and copied source files from backup directory to
> mounted C: drive.
> Lubuntu Linux error on boot up resolved. QEMU-KVM had crashed on two
> occasions and logs created in the /dev/crash directory. Deleting the log
> files in /dev/crash removed the error message on start up.
>
> I used "mount" instead of "guestmount". Steps below.
>
> Display start sector and sector size:
> $ fdisk -l dos.img
> Eg. 63 and 512 bytes. Offset = 63 * 512 = 32256
>
> Create directory:
> $ mkdir /tmp/dos
>
> Mount image in directory:
> $ sudo mount -o loop,offset=32256 dos.img /tmp/dos
>
> Copy directories:
> Eg.
> $ cp -r /temp/source-dir  /tmp/dos
>
> Unmount image:
> umount /tmp/dos
>
> John
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Report back: QEMU - Max size of Linux access folder

2024-03-13 Thread hms--- via Freedos-user

Hi All
Some feedback. Creating a 2G image allowed me to assemble source code 
correctly. The only penalty being speed. About 6 to 11 times slower than 
running DOS under XP.
I mounted the image and copied source files from backup directory to 
mounted C: drive.
Lubuntu Linux error on boot up resolved. QEMU-KVM had crashed on two 
occasions and logs created in the /dev/crash directory. Deleting the log 
files in /dev/crash removed the error message on start up.


I used "mount" instead of "guestmount". Steps below.

Display start sector and sector size:
$ fdisk -l dos.img
Eg. 63 and 512 bytes. Offset = 63 * 512 = 32256

Create directory:
$ mkdir /tmp/dos

Mount image in directory:
$ sudo mount -o loop,offset=32256 dos.img /tmp/dos

Copy directories:
Eg.
$ cp -r /temp/source-dir  /tmp/dos

Unmount image:
umount /tmp/dos

John


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user