Hi all,

Thanks for your reply. More information as below.

FreeDos information:
Ver command output: FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]

Tool information:
Turbo C++ Version3.0
Open WatCom version 1.9

Source information:
#include "stdio.h"
#include <dos.h>
void main()
{
  sound(900);
  delay(400);
  nosound();
  delay(100);
  return;
}
I build the above code(same as FreeDos source) into beep.exe by the compiler.
Beep.exe works fine in FreeDos.

BTW, about Intel chipset - skylake, it doesn't support legacy IO 61h.
But Intel reference code adds a patch to support 61h by system IO Trap SMI.
As below...
        //
        // Read from Port 61h, toggle bit4 based on the internal state
        //
        ReadValue = IoRead8 (0x61);
        Mask = (UINTN)(1 << CpuIndex);
        mInternalState ^= Mask;
        WriteValue = (mInternalState & Mask) ? (ReadValue | 0x10) : (ReadValue 
& ~0x10);
        Status = mSmmCpu->WriteSaveState (
                          mSmmCpu,
                          sizeof (UINT8),
                          EFI_SMM_SAVE_STATE_REGISTER_RAX,
                          CpuIndex,
                          &WriteValue
                          );
        ASSERT_EFI_ERROR (Status);

Thanks.
Mike Sun
-----邮件原件-----
发件人: freedos-devel-requ...@lists.sourceforge.net 
[mailto:freedos-devel-requ...@lists.sourceforge.net]
发送时间: 2016年5月7日 0:03
收件人: freedos-devel@lists.sourceforge.net
主题: Freedos-devel Digest, Vol 574, Issue 2

Send Freedos-devel mailing list submissions to
         freedos-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
         https://lists.sourceforge.net/lists/listinfo/freedos-devel
or, via email, send a message with subject or body 'help' to
         freedos-devel-requ...@lists.sourceforge.net

You can reach the person managing the list at
         freedos-devel-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Freedos-devel digest..."


Today's Topics:

   1. Re: Beep command can't stop sounding when run in Intel
      Skylelake. (MikeSun (???))
   2. Re: Beep command can't stop sounding when run in Intel
      Skylelake platorm. (perditi...@gmail.com)
   3. Re: Beep command can't stop sounding when run in Intel
      Skylelake platorm. (Eric Auer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 6 May 2016 10:54:11 +0000
From: MikeSun(???) <mike...@ami.com.cn>
Subject: Re: [Freedos-devel] Beep command can't stop sounding when run
         in Intel Skylelake.
To: "freedos-devel@lists.sourceforge.net"
         <freedos-devel@lists.sourceforge.net>
Message-ID:
         <40e92691d1fd9b4bbea08dd6445adabc014c6e4...@cn-mail1.cn.megatrends.com>

Content-Type: text/plain; charset="gb2312"

More information:
About Intel chipset - skylake, it doesn't support legacy IO 61h.
But Intel reference code adds a patch to support 61h by system IO Trap SMI.
As below...
        //
        // Read from Port 61h, toggle bit4 based on the internal state
        //
        ReadValue = IoRead8 (0x61);
        Mask = (UINTN)(1 << CpuIndex);
        mInternalState ^= Mask;
        WriteValue = (mInternalState & Mask) ? (ReadValue | 0x10) : (ReadValue 
& ~0x10);
        Status = mSmmCpu->WriteSaveState (
                          mSmmCpu,
                          sizeof (UINT8),
                          EFI_SMM_SAVE_STATE_REGISTER_RAX,
                          CpuIndex,
                          &WriteValue
                          );
        ASSERT_EFI_ERROR (Status);

Thanks.
Mike Sun

-----????-----
???: freedos-devel-requ...@lists.sourceforge.net 
[mailto:freedos-devel-requ...@lists.sourceforge.net]
????: 2016?5?6? 18:41
???: freedos-devel@lists.sourceforge.net
??: Freedos-devel Digest, Vol 574, Issue 1

Send Freedos-devel mailing list submissions to
        freedos-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/freedos-devel
or, via email, send a message with subject or body 'help' to
        freedos-devel-requ...@lists.sourceforge.net

You can reach the person managing the list at
        freedos-devel-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Freedos-devel digest..."


Today's Topics:

   1. Re: DOSBox I/O redirection issue follow-up. (Jerome E. Shidel Jr.)
   2. Re: DOSBox I/O redirection issue follow-up. (Jerome E. Shidel Jr.)
   3. FDI Preview 15, Final Preview (Jerome E. Shidel Jr.)
   4. Minor update to FDI Preview 15 (Jerome E. Shidel Jr.)
   5. Re: Minor update to FDI Preview 15 (Jerome E. Shidel Jr.)
   6. FDI Preview 15, Update 2 (Jerome E. Shidel Jr.)
   7. FDI Preview 15, Update 3 (Jerome E. Shidel Jr.)
   8. Beep command can't stop sounding when run in Intel Skylelake
      platorm. (MikeSun (???))


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Mar 2016 11:13:56 -0400
From: "Jerome E. Shidel Jr." <jer...@shidel.net>
Subject: Re: [Freedos-devel] DOSBox I/O redirection issue follow-up.
To: "Technical discussion and questions for FreeDOS developers."
        <freedos-devel@lists.sourceforge.net>
Message-ID: <4e56aecf-127d-404a-9e89-6345270bc...@shidel.net>
Content-Type: text/plain; charset="utf-8"

Sorry, a minor correction on results.

> On Mar 22, 2016, at 7:37 PM, Jerome E. Shidel Jr. <jer...@shidel.net> wrote:
>
> Hello Eric (and anyone else who is interested),
>
> Here is a little proof-of-concept demonstration of the issue regarding I/O 
> redirection.
>
> ; begin example code
>
> ; NASM 2.11.08 for DOS
> ; Jerome Shidel, Public Domain.
>
> use16
>
> cpu 8086
>
> org 0x100
>
> StdPassThru:
>     mov     ah, 0x0b    ; DOS Check Standard Input Status
>     int     0x21
>     cmp     al, 0x00    ; 0x00 = no character available, 0xff = present.
>     je      NoInput
>     mov     ah, 0x08    ; DOS Get character from STDIN, no echo. AL = 
> Character
>     int     0x21
>     mov     ah, 0x02    ; DOS Write DL character to STDOUT.
>     mov     dl, al
>     int     0x21
>     jmp     StdPassThru
>
> NoInput:
>     mov     ax, 0x4c00  ; DOS Terminate, no error code
>     int     0x21
>
> ; end example code
>
> Compile with nasm PASSTHRU.ASM -fbin -o PASSTHRU.COM
> <http://passthru.com/>
>
> Run in default DOSBox:
>
>       type passthru.asm | passthru.com <http://passthru.com/>
>       Result garbage line of text.


Text goes immediately to STDOUT and does not go through PASSTHRU.COM 
<http://passthru.com/>.
(I was running type passthru.com | passthru.com)

>
> Run under FreeCOM shell inside DOSBox
>
>       C:\FDOS\BIN\command.com <http://command.com/>
>       type passthru.asm | passthru.com <http://passthru.com/>
>
>       result: .Text scrolls by, then infinite number of blank characters and 
> occasional
>       control characters.
>
> Run on real (or virtual machine of) FreeDOS, MS-DOS, PC-DOS?.
>
>       text of PASSTHRU.ASM is output and program terminates.

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Wed, 23 Mar 2016 12:30:00 -0400
From: "Jerome E. Shidel Jr." <jer...@shidel.net>
Subject: Re: [Freedos-devel] DOSBox I/O redirection issue follow-up.
To: "Technical discussion and questions for FreeDOS developers."
        <freedos-devel@lists.sourceforge.net>
Message-ID: <22d1c571-ccbd-434b-a98f-1c57a5df8...@shidel.net>
Content-Type: text/plain; charset=us-ascii

The workaround is easy, you just read from STDIN as a file with DOS FN 0x3F.



------------------------------

Message: 3
Date: Tue, 29 Mar 2016 18:34:48 -0400
From: "Jerome E. Shidel Jr." <jer...@shidel.net>
Subject: [Freedos-devel] FDI Preview 15, Final Preview
To: "Technical discussion and questions for FreeDOS developers."
        <freedos-devel@lists.sourceforge.net>
Message-ID: <8d5675c8-d82a-4926-86da-316b83068...@shidel.net>
Content-Type: text/plain; charset="us-ascii"

Hello All,

Well I finally had a little bit of spare time and incorporated the enhancements 
I mentioned.

I foresee no further changes or enhancements. Technically, preview 15 should be 
called Beta or RC 1. However, I just finished the modifications and hammered on 
the latest version. So, I am just calling it Preview 15.

Basically, what has changed from 14 to 15.

        Updated V8Power Tools.
        Updated FDIMPLES.
        Many additions to ALL package list.
        Many additions to EXTRA software.
        DOSBox installation support.

http://up.lod.bz/FDI <http://up.lod.bz/FDI>

Thanks, Jerome

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Fri, 1 Apr 2016 17:35:43 -0400
From: "Jerome E. Shidel Jr." <jer...@shidel.net>
Subject: [Freedos-devel] Minor update to FDI Preview 15
To: "Technical discussion and questions for FreeDOS developers."
        <freedos-devel@lists.sourceforge.net>
Message-ID: <77e94473-46da-45a1-9ea2-63c133595...@shidel.net>
Content-Type: text/plain; charset=utf-8

Hello All,

I just wanted to let you know I just pushed a minor update to FDI Preview 15.

I noticed that occasionally under DOSBox, the installer would hang at startup.
The RAM drive program would get stuck sometimes. Since temporary storage is not 
absolutely required at that point I just have it skip it under DOSBox.

It also includes an update to FDIMPLES 0.9.1. Mostly, the update adds a 
common-line switch /config that allows no-fuss editing of the BASE and ALL 
package lists on the install media. So, let?s say you never install DOSLFN, you 
can turn it off easily and permanently.

Thanks, Jerome




------------------------------

Message: 5
Date: Fri, 1 Apr 2016 17:39:37 -0400
From: "Jerome E. Shidel Jr." <jer...@shidel.net>
Subject: Re: [Freedos-devel] Minor update to FDI Preview 15
To: "Technical discussion and questions for FreeDOS developers."
        <freedos-devel@lists.sourceforge.net>
Message-ID: <c721aee6-5d69-4160-b498-a45d7ec60...@shidel.net>
Content-Type: text/plain; charset=us-ascii


Oh, I also started including a VMDK file with the USB images to ease usage with 
virtual machines.


------------------------------

Message: 6
Date: Sun, 3 Apr 2016 12:54:31 -0400
From: "Jerome E. Shidel Jr." <jer...@shidel.net>
Subject: [Freedos-devel] FDI Preview 15, Update 2
To: "Technical discussion and questions for FreeDOS developers."
        <freedos-devel@lists.sourceforge.net>
Message-ID: <e7285547-5ce9-4535-b30b-caa907175...@shidel.net>
Content-Type: text/plain; charset=us-ascii

Hello All,

I just pushed another minor update to Preview 15.

Changes:

        - Typo correction on Partition Drive Screen.
        - Automatic updating of installed FDNPKG.CFG drive letters to C:
        (some were left pointing to D: after USB stick installation)

Thanks, Jerome



------------------------------

Message: 7
Date: Fri, 15 Apr 2016 13:35:15 -0400
From: "Jerome E. Shidel Jr." <jer...@shidel.net>
Subject: [Freedos-devel] FDI Preview 15, Update 3
To: "Technical discussion and questions for FreeDOS developers."
        <freedos-devel@lists.sourceforge.net>
Message-ID: <225b195e-6c52-4db2-be66-08bb9eec1...@shidel.net>
Content-Type: text/plain; charset=us-ascii

Hello All,

Sorry that it took so long, but I have been swamped the last couple weeks.

Anyhow, I updated vinfo in V8Power tools to detect QEMU. So, FDI should no 
longer get stuck by trying to create a RAMDRIVE or have issues under QEMU 
emulation.

Preview 15 Update 3 is now available at http://up.lod.bz/FDI

Thans for your patients, Jerome.



------------------------------

Message: 8
Date: Fri, 6 May 2016 10:43:15 +0000
From: MikeSun(???) <mike...@ami.com.cn>
Subject: [Freedos-devel] Beep command can't stop sounding when run in
        Intel Skylelake platorm.
To: "freedos-devel@lists.sourceforge.net"
        <freedos-devel@lists.sourceforge.net>
Message-ID:
        <40e92691d1fd9b4bbea08dd6445adabc014c6e4...@cn-mail1.cn.megatrends.com>

Content-Type: text/plain; charset="gb2312"

Hello developer,

I?m BIOS vendor-AMI.
When we test FreeDOS latest version, w found beep command can't stop sounding 
in Intel Skylake platform.



But we build beep source code(from FreeDos open source) by Watcom C tool and 
run beep.exe in FreeDOS. Beep.exe work normally.



Did anybody meet this issue? Or Anybody can help on this?



Thanks.

Mike Sun

Mail: mike...@ami.com.cn<mailto:mike...@ami.com.cn>

TEL:  +86-512-57360204-215

CONFIDENTIAL INFORMATION : The information contained in this message may be 
confidential and proprietary to American Megatrends, Inc. This communication is 
intended to be read only by the individual or entity to whom it is addressed or 
by their designee. If the reader of this message is not the intended recipient, 
you are on notice that any distribution of this message, in any form, is 
strictly prohibited. Please promptly notify the sender by reply e-mail or by 
telephone at 86-0512-57360204, and then delete or destroy all copies of the 
transmission. ------------------------------------------------------------ 
??????????????
CONFIDENTIAL INFORMATION : The information contained in this message may be 
confidential and proprietary to American Megatrends, Inc. This communication is 
intended to be read only by the individual or entity to whom it is addressed or 
by their designee. If the reader of this message is not the intended recipient, 
you are on notice that any distribution of this message, in any form, is 
strictly prohibited. Please promptly notify the sender by reply e-mail or by 
telephone at 86-0512-57360204, and then delete or destroy all copies of the 
transmission. ------------------------------------------------------------ 
??????????????
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager 
Applications Manager provides deep performance insights into multiple tiers of 
your business applications. It resolves application problems quickly and 
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

------------------------------

_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


End of Freedos-devel Digest, Vol 574, Issue 1
*********************************************
CONFIDENTIAL INFORMATION : The information contained in this message may be 
confidential and proprietary to American Megatrends, Inc. This communication is 
intended to be read only by the individual or entity to whom it is addressed or 
by their designee. If the reader of this message is not the intended recipient, 
you are on notice that any distribution of this message, in any form, is 
strictly prohibited. Please promptly notify the sender by reply e-mail or by 
telephone at 86-0512-57360204, and then delete or destroy all copies of the 
transmission. ------------------------------------------------------------ 
??????????????

------------------------------

Message: 2
Date: Fri, 6 May 2016 09:05:08 -0400
From: <perditi...@gmail.com>
Subject: Re: [Freedos-devel] Beep command can't stop sounding when run
         in Intel Skylelake platorm.
To: "Technical discussion and questions for FreeDOS developers."
         <freedos-devel@lists.sourceforge.net>
Message-ID:
         <CAFhQpAjhVTpx=uj0gfqksxqktvgwdvzqr1b3ysribezzgvv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On May 6, 2016 6:42 AM, "MikeSun(???)" <mike...@ami.com.cn> wrote:
>
> Hello developer,
>
>
>
> I?m BIOS vendor-AMI.
>
> When we test FreeDOS latest version, w found beep command can't stop
sounding in Intel Skylake platform.
>
>
>
> But we build beep source code(from FreeDos open source) by Watcom C
> tool
and run beep.exe in FreeDOS. Beep.exe work normally.
>
>
>
> Did anybody meet this issue? Or Anybody can help on this?
>
>
>
> Thanks.
>
> Mike Sun
>
> Mail: mike...@ami.com.cn
>

Could you provide the the output from ver command.  The beep command seems to 
be an alias for the compilers built in beep.  I am guessing you are using a 
command.com compiled with Borland's version of beep and not Watcom's.  I do not 
know if they are different implementations or if beep itself is the actual 
problem.  If you have access to and old copy of TurboC or Borland C, can you 
try beep.exe compiled from that compiler?  This weekend I will have a look at 
source and try make a couple test versions if you want to try them next week.

(I post another message after I've had time to look at the issue better, builds 
will be put somewhere on my fdos.org site.)

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Fri, 6 May 2016 18:03:16 +0200
From: Eric Auer <e.a...@jpberlin.de>
Subject: Re: [Freedos-devel] Beep command can't stop sounding when run
         in Intel Skylelake platorm.
To: "Technical discussion and questions for FreeDOS developers."
         <freedos-devel@lists.sourceforge.net>
Message-ID: <572cc044.8020...@jpberlin.de>
Content-Type: text/plain; charset=windows-1252


Hi :-)

>> I?m BIOS vendor-AMI.
>>
>> 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.

Regards, Eric





------------------------------

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager 
Applications Manager provides deep performance insights into multiple tiers of 
your business applications. It resolves application problems quickly and 
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

------------------------------

_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


End of Freedos-devel Digest, Vol 574, Issue 2
*********************************************
CONFIDENTIAL INFORMATION : The information contained in this message may be 
confidential and proprietary to American Megatrends, Inc. This communication is 
intended to be read only by the individual or entity to whom it is addressed or 
by their designee. If the reader of this message is not the intended recipient, 
you are on notice that any distribution of this message, in any form, is 
strictly prohibited. Please promptly notify the sender by reply e-mail or by 
telephone at 86-0512-57360204, and then delete or destroy all copies of the 
transmission. ------------------------------------------------------------ 
安迈信息科技(昆山)有限公司
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to