drive_c$ echo foo > ~/.dosemu/drive_c/ldbgterm.tmp; (sleep 4; rm ~/.dosemu/drive_c/ldbgterm.tmp) & ~/proj/patchini/patchdeb ~/proj/edrdos/repo/bin/edrdos.com +15 -2; ~/proj/patchini/patchdeb ~/proj/msdos4.hg/hg/bin/ldos.com +0xF -2; cp -at . ~/proj/msdos4.hg/hg/bin/ldos.com; ~/local.new/bin/dosemu -I "serial { com 2 device /tmp/vptty-dos }" -I "floppy { device disktest.img }" -dumb -td -kt -D+9d+9x+9D; stty sane [1] 707364 Configuration updated Check is ON Assume is OFF Check only valid is ON Check only IISP is ON Configuration updated Check is ON Assume is OFF Check only valid is ON Check only IISP is ON dosemu2 2.0pre9-dev-20250906-3701-g756ab11a2 Get the latest code at http://dosemu2.github.io/dosemu2 Submit Bugs via https://github.com/dosemu2/dosemu2/issues Ask for help in mail list: linux-msdos@vger.kernel.org This program comes with ABSOLUTELY NO WARRANTY. This is free software, GPL v2 (or any later version) distribution conditions. ................................................................................................................. &; Welcome to lDebug! Press any key to enter debugger terminal! Timer stopped V0=000000A4 V1=00000000 V2=00000000 V3=00000000 DCO=00000000 DCS=00000000 V4=00000000 V5=00000000 V6=00000000 V7=00000000 DAO=0000F007 DAS=0000F007 V8=00000000 V9=00000000 VA=00000000 VB=00000000 DIF=0180F008 DPI=0000:0000 VC=00000000 VD=00000000 VE=00000000 VF=00000000 DPR=7681 DPP=0000 Current mode: Virtual 86 Mode -ldos; append devicehigh srdxms.sys -q Starting small lDOS (2025 August) based on MS-DOS v4.01 dosemu XMS 3.0 & UMB support enabled init: Successfully relocated DOSCODE into the HMA. init: UMB of size 2000h ( 128 KiB) at C000h allocated. init: UMB of size 0A00h ( 40 KiB) at F000h allocated. init: UMB of size 0800h ( 32 KiB) at B000h allocated. EMUFS host file and print access available dosemu EMS driver rev 0.9 installed. dosemu CDROM driver installed (V0.2) ReSizeable RAMDisk (XMS) version 2.09. Copyright (c) 2005 Marko Kohtala. Installed RAMDrive E: emufs: redirector enabled FreeCom version 0.87 - GNUC - XMS_Swap [Feb 21 2025 23:30:19] SEEKEXT 1.22: high loaded using 432 byte, on multiplex 01h. emufs: redirector enabled Welcome to dosemu2! Build 2.0pre9-dev-20250906-3701-g756ab11a2 C:\>srdisk 1024 ReSizeable RAMDisk Formatter version 2.09. Copyright (c) 2005 Marko Kohtala. XMS: Super XMS support XMS: 16288 K in largest available block New disk configuration: Drive E: Disk size: 1024K Cluster size: 512 bytes Sector size: 512 bytes Directory entries: 80 FAT copies: 1 Bytes available: 1042432 Write protection: OFF Removable: ON XMS: Super XMS support XMS: 16288 K in largest available block XMS: Allocating 1024 K to handle 0000h XMS: Allocated 1024 K Disk formatted C:\>copy ldebug.com e: ldebug.com => e:ldebug.com C:\>srdisk /v:6 2048 ReSizeable RAMDisk Formatter version 2.09. Copyright (c) 2005 Marko Kohtala. Get device type = 0Ah Drive E: Disk size: 1024K Cluster size: 512 bytes Sector size: 512 bytes Directory entries: 80 FAT copies: 1 Bytes available: 1042432 Write protection: OFF Removable: ON Sectors: 2048 Reserved sectors: 1 FAT sectors: 6 Directory sectors: 5 Sectors per cluster: 1 Clusters: 2036 FAT type: 12 bit Max size: 524288K Media: FA Device type: 10 Sectors per track: 36 Sides: 16 Driver 1 of 1 Version 2.09 Memory: XMS Flags: APPENDED 32BITSEC NOALLOC GIOCTL Max size: 524288K Size: 1024K Sectors: 2048 mask=0002 dtmask=0400 type=d old=0400 new=0800 mask=0010 dtmask=0400 type=w old=FA0050 new=FA0090 XMS: Super XMS support XMS: 15264 K in largest available block New disk configuration: Drive E: Disk size: 2048K Cluster size: 512 bytes Sector size: 512 bytes Directory entries: 144 FAT copies: 1 Bytes available: 2085888 Write protection: OFF Removable: ON Sectors: 4096 Reserved sectors: 1 FAT sectors: 12 Directory sectors: 9 Sectors per cluster: 1 Clusters: 4074 FAT type: 12 bit Max size: 524288K Media: FA Device type: 10 Sectors per track: 36 Sides: 16 Resizing in progress... XMS: Super XMS support XMS: 15264 K in largest available block XMS: ReAllocating 2048 K to handle 0002h XMS error A0: All extended memory is allocated XMS: Super XMS support XMS: Super XMS support XMS: 15264 K in largest available block XMS: Saved handle 0000h XMS: Allocating 2048 K to handle 0000h XMS: Allocated 2048 K XMS: Copying 0002h to new 0003h XMS: Moved successfully XMS: Free handle 0002h newf.size > f.size and !SavingDiskAllocate newf.size=00000800 f.size=00000400 Fatal error: Failed to allocate memory Aborted Formatting aborted due to error while disk image is bad OK to wipe off any data possibly left on the disk (Y/N) ? N C:\>quit [1]+ Done ( sleep 4; rm ~/.dosemu/drive_c/ldbgterm.tmp ) drive_c$