Hi,

On Fri, May 6, 2016 at 11:03 AM, Eric Auer <e.a...@jpberlin.de> wrote:
>
>>> When we test FreeDOS latest version, w found beep command can't stop
>>> sounding in Intel Skylake platform.
>
> In related news, the tab completion beep of FreeCOM can hang in DOSEMU.

You could always zero out the "BEEP\0" string to disable the interactive
command, but the actual beeping code is still included twice.

I found it better to just put a "ret" (0xC3) at the start of the functions
themselves (in place of "push bp"), to avoid them entirely.

N.B. Not sure which compiled binary of FreeCOM 0.84 is considered
"official", so perhaps yours is a different size.

"VER" says: "FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]"

(Obviously, you must "upx -d" first!)


 =  00008293: 55                           push        bp
 =  00008294: 8BEC                         mov         bp,sp
 =  00008296: 688403                       push        00384
 =  00008299: E87065                       call        00000E80C
 =  0000829C: 59                           pop         cx
 =  0000829D: 68C800                       push        000C8
 =  000082A0: E8A958                       call        00000DB4C
 =  000082A3: 59                           pop         cx
 =  000082A4: E89165                       call        00000E838
 =  000082A7: 6A64                         push        064
 =  000082A9: E8A058                       call        00000DB4C
 =  000082AC: 59                           pop         cx
 =  000082AD: 5D                           pop         bp
 =  000082AE: C3                           retn
 =
 =  000082AF: 55                           push        bp
 =  000082B0: 8BEC                         mov         bp,sp
 =  000082B2: 688403                       push        00384
 =  000082B5: E85465                       call        00000E80C
 =  000082B8: 59                           pop         cx
 =  000082B9: 68C800                       push        000C8
 =  000082BC: E88D58                       call        00000DB4C
 =  000082BF: 59                           pop         cx
 =  000082C0: E87565                       call        00000E838
 =  000082C3: 6A64                         push        064
 =  000082C5: E88458                       call        00000DB4C
 =  000082C8: 59                           pop         cx
 =  000082C9: 5D                           pop         bp
 =  000082CA: C3                           retn

 --- binary patch begins here ---

Comparing CMD.OLD and CMD.COM
00008293:     55         C3
000082AF:     55         C3

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to