Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #1382

Re: detecting emulation or console windows

From "Rod Pemberton" <dont_use_email@xnothavet.cqm>
Newsgroups alt.os.development, comp.os.msdos.programmer, alt.lang.asm
Subject Re: detecting emulation or console windows
Date 2014-06-02 03:21 -0400
Organization Aioe.org NNTP Server
Message-ID <op.xgtf1zk06zenlw@localhost> (permalink)
References (2 earlier) <op.xgq3g0ya6zenlw@localhost> <op.xgq5q0ms6zenlw@localhost> <lmg72o$5rb$1@dont-email.me> <op.xgs8v3iw6zenlw@localhost> <lmh1ac$p63$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


On Mon, 02 Jun 2014 01:15:58 -0400, James Harris  
<james.harris.1@gmail.com> wrote:
> "Rod Pemberton" <dont_use_email@xnothavet.cqm> wrote in message
> news:op.xgs8v3iw6zenlw@localhost...
>> On Sun, 01 Jun 2014 17:48:09 -0400, James Harris
>> <james.harris.1@gmail.com> wrote:
>>> "Rod Pemberton" <dont_use_email@xnothavet.cqm> wrote in message
>>> news:op.xgq5q0ms6zenlw@localhost...

>>>> It seems dosemu doesn't provide the PS/2 A20 bit, and doesn't toggle
>>>> keyboard A20 bit when A20 is enabled.  No real machine fails that.
>>>
>>> Are you sure? Take a look at the A20 Controls section in
>>>
>>>   http://aodfaq.wikispaces.com/machine+characteristics
>>>
>>
>> Well, I should've consulted that.  I didn't forget it exists.
>
> I sometimes forget it exists. I especially forget what's on it.
>

It's really "cryptic", IMO, no offense.

>> Clearly,
>> I didn't recall any with that defect.  I remember some had the keyboard
>> bit permanently set.  But, for an emulator, I'd still argue they should
>> implement the "correct" method. ;-)
>
> Sure they should. The trouble is that some PCs don't implement the  
> "correct" method either.

How many don't? ... (joke) ;-)

>> How common are some of the problem machines we found anyway?
>> IIRC, probably don't, it was my, yours, and Wolfgang's obscure
>> collection ... Or, Steve? Alexei?  I.e., this was not
>> what we could call an "excellent" sample selection of machines.
>
> Are you saying that you want to ignore problem machines?

No.

Although, ... that might not be a bad idea.

> Looking at those on the list their brand names are well known [...]

 From the table, I think we can conclude BIOS A20 control is useless,
and PS/2 bit is the most correct, A20 enables correctly for each
supported method, at least for the sample set.

> Looking at those on the list their brand names are well known so
> I suspect that many machines exhibit this problem. They did
> correctly enable A20 though.

Well, my C code is executing after a 32-bit PM switch, i.e., A20
should be "permanently" enabled while the code is running in PM.
So, disabling A20 while in PM to test A20 should clearly be avoided.
IIRC, we (?) discussed something about 486's forcing A20 on for PM (?).

> As evidence of other incorrect PCs I think the MSI may have been yours.

I think three of mine are on the list now ...
MSI K9N Neo-F (dead)
GigaByte MA78LM-S2H (current)
ABIT AB-SM5-A (old)

There's an HP in the basement I've been meaning to spruce up...

And, there's another one here w/electrical problems that I've
been saying I'm going to get working again for a few tests for
years and years now ...

The other machines are probably too deep in the pile of boxes.

> According to the table it seems to show the KBC output port
> bit as set even before enabling A20.

Yes, and the other one (ABIT) was pre-PS/2 port.

It appears some data is wrong in the chart.

For the MSI, it says "00-02" (PS/2 A bit) but then has "02"
in binary for both.  I don't recall what's correct... From
my post the "00-02" heading is correct, so the binary "02"
(first binary) should be changed to "00" binary.

Ditto for the Gigabyte.  It says "09-09" (PS/2 K bit) but
then has "09" and "0B" in binary.  From my post "09-09" is
correct, so the binary "0B" (second binary) should be changed
to "09" binary.

So much for using Javascript to do binary ... (joke) ;-)

> That was a problem for the Asus EEE too and possibly
> the Viglen Geode. So I suspect that problem hardware
> is quite common.

Ok.


Rod Pemberton

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-31 18:31 -0400
  Re: detecting emulation or console windows Ross Ridge <rridge@csclub.uwaterloo.ca> - 2014-05-31 19:59 -0400
    Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-31 20:54 -0400
      Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-31 21:43 -0400
        Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-01 22:48 +0100
          Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 00:46 -0400
            Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-02 06:15 +0100
              Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 03:21 -0400
                Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 03:32 -0400
                Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-02 09:51 +0100
                Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 09:27 -0400
                Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-02 17:05 +0100
                Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 19:25 -0400
                Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-04 07:55 +0100
                Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-04 03:20 -0400
      Re: detecting emulation or console windows Ross Ridge <rridge@csclub.uwaterloo.ca> - 2014-06-01 14:03 -0400
        Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 00:53 -0400
          Re: detecting emulation or console windows Ross Ridge <rridge@csclub.uwaterloo.ca> - 2014-06-02 15:55 -0400
            Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 19:27 -0400
              Re: detecting emulation or console windows Ross Ridge <rridge@csclub.uwaterloo.ca> - 2014-06-03 17:00 -0400
  Re: detecting emulation or console windows Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2014-06-01 06:25 +0200
    Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-01 02:50 -0400
  Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-01 07:53 +0100
    Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-01 04:53 -0400
      Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-01 20:57 +0100
        Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 00:48 -0400
      Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 03:20 -0400
  Re: detecting emulation or console windows JJ <duh@nah.meh> - 2014-06-02 03:43 +0700
    Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-02 00:34 -0400
    Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-03 07:06 -0400
      Re: detecting emulation or console windows JJ <duh@nah.meh> - 2014-06-03 20:25 +0700
  Re: detecting emulation or console windows "wolfgang kern" <nowhere@never.at> - 2014-06-03 20:52 +0200
  Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-03 22:59 +0100
    Re: detecting emulation or console windows CN <qmbmnp3799@pacbell.net> - 2014-06-03 18:39 -0700
      Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-04 07:06 +0100
        Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-04 03:07 -0400
          Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-04 09:16 +0100
  Re: detecting emulation or console windows "James Harris" <james.harris.1@gmail.com> - 2014-06-03 23:00 +0100
  Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-10 17:37 -0400
    Re: detecting emulation or console windows Wildman <best_lay@yahoo.com> - 2014-06-11 00:37 +0000
      Re: detecting emulation or console windows "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-07-27 12:11 -0400

csiph-web