Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Any sufficiently advanced technology is indistinguishable from a rigged demo.


devel / comp.os.ms-windows.programmer.win32 / win32s

SubjectAuthor
* win32smuta...@gmail.com
`* win32sJJ
 `* win32smuta...@gmail.com
  +* win32smuta...@gmail.com
  |`- win32sJJ
  `* win32sJJ
   `* win32smuta...@gmail.com
    `- win32sJJ

1
win32s

<057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9896&group=comp.os.ms-windows.programmer.win32#9896

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:6214:190a:b0:62f:cbf6:b03e with SMTP id er10-20020a056214190a00b0062fcbf6b03emr3152788qvb.2.1687618326393;
Sat, 24 Jun 2023 07:52:06 -0700 (PDT)
X-Received: by 2002:a05:6808:20a1:b0:3a1:bcdd:6aa with SMTP id
s33-20020a05680820a100b003a1bcdd06aamr583981oiw.11.1687618326127; Sat, 24 Jun
2023 07:52:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Sat, 24 Jun 2023 07:52:05 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=111.90.198.52; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 111.90.198.52
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com>
Subject: win32s
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sat, 24 Jun 2023 14:52:06 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 72
 by: muta...@gmail.com - Sat, 24 Jun 2023 14:52 UTC

I am interested in 32-bit windows console mode
applications that are dependent on msvcrt.dll.

Basically simple C programs. I am using this as
an example:

2021-10-18 18:54 3,584 hexdump.exe

This ships with PDOS/386.

I know that it works with win95 so long as msvcrt.dll
is installed (it is on the win95 CDROM but is not installed
by default, but if you copy it across manually, it works
fine).

Now I want to know whether I can go back even further
and have it run on windows for workgroups 3.11 with
win32s installed.

I received wfw from ebay yesterday, and downloaded
pw1118.exe from a microsoft mirror and was able to
install win32s and run the demo program freecell.
This was done under qemu. The floppy disks I read
with a USB floppy disk and running pdos/386 and
the "copy" command to read drv0:

Running hexdump at an MSDOS prompt either before
running windows or after clicking on the msdos icon
reported that I needed to run windows (hexdump has
a custom message I created).

Using file manager and clicking on hexdump came up
with a nice error about msvcrt.dll not being found. I
produce my own as part of pdpclib so I copied that
across. Now clicking on hexdump doesn't do anything
that can be visibly seen.

No error about kernel32.dll not being found either, even
though it is a dependency yet doesn't appear on the
disk (must be recognized elsewhere).

Any suggestions on what I can do to see something
from hexdump? It is supposed to produce this:

C:\winpath>hexdump
Usage: HEXDUMP file_name [start] [length]

I suspect it is starting and finishing quickly, so what I
need is to run a shell. Rather than try to organize that,
I just added an fgets from stdin to see if it would stay
active so that I could see it.

However - still no. Still the same effect of clicking in
file manager just has a delay suggesting it is doing
some work, but it behaves as if nothing happened.

Any idea whether I can obtain output from this:

__stdout->hfile = GetStdHandle(STD_OUTPUT_HANDLE);

#define STD_OUTPUT_HANDLE ((DWORD)-11)

GetStdHandle must exist, otherwise msvcrt.dll
would have failed to load (presumably, anyway).

But it apparently has nowhere to go.

I'm happy with any solution that doesn't alter hexdump.exe
itself. ie the physical executable on disk.

Thanks. Paul.

Re: win32s

<k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9897&group=comp.os.ms-windows.programmer.win32#9897

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4pub...@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: win32s
Date: Sun, 25 Jun 2023 19:13:29 +0700
Organization: A noiseless patient Spider
Lines: 76
Message-ID: <k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net>
References: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="22333022edbffb35a4bd6e5b536bc871";
logging-data="517580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3GP8HzY1PF4UXx8BK1cBiijT6Gg0ApPs="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:2qr2i361uTeObnUFS5+fVVMhJ/8=
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
 by: JJ - Sun, 25 Jun 2023 12:13 UTC

On Sat, 24 Jun 2023 07:52:05 -0700 (PDT), muta...@gmail.com wrote:
> I am interested in 32-bit windows console mode
> applications that are dependent on msvcrt.dll.
>
> Basically simple C programs. I am using this as
> an example:
>
> 2021-10-18 18:54 3,584 hexdump.exe
>
> This ships with PDOS/386.
>
> I know that it works with win95 so long as msvcrt.dll
> is installed (it is on the win95 CDROM but is not installed
> by default, but if you copy it across manually, it works
> fine).
>
> Now I want to know whether I can go back even further
> and have it run on windows for workgroups 3.11 with
> win32s installed.
>
> I received wfw from ebay yesterday, and downloaded
> pw1118.exe from a microsoft mirror and was able to
> install win32s and run the demo program freecell.
> This was done under qemu. The floppy disks I read
> with a USB floppy disk and running pdos/386 and
> the "copy" command to read drv0:
>
> Running hexdump at an MSDOS prompt either before
> running windows or after clicking on the msdos icon
> reported that I needed to run windows (hexdump has
> a custom message I created).
>
> Using file manager and clicking on hexdump came up
> with a nice error about msvcrt.dll not being found. I
> produce my own as part of pdpclib so I copied that
> across. Now clicking on hexdump doesn't do anything
> that can be visibly seen.
>
> No error about kernel32.dll not being found either, even
> though it is a dependency yet doesn't appear on the
> disk (must be recognized elsewhere).
>
> Any suggestions on what I can do to see something
> from hexdump? It is supposed to produce this:
>
> C:\winpath>hexdump
> Usage: HEXDUMP file_name [start] [length]
>
> I suspect it is starting and finishing quickly, so what I
> need is to run a shell. Rather than try to organize that,
> I just added an fgets from stdin to see if it would stay
> active so that I could see it.
>
> However - still no. Still the same effect of clicking in
> file manager just has a delay suggesting it is doing
> some work, but it behaves as if nothing happened.
>
> Any idea whether I can obtain output from this:
>
> __stdout->hfile = GetStdHandle(STD_OUTPUT_HANDLE);
>
> #define STD_OUTPUT_HANDLE ((DWORD)-11)
>
> GetStdHandle must exist, otherwise msvcrt.dll
> would have failed to load (presumably, anyway).
>
> But it apparently has nowhere to go.
>
> I'm happy with any solution that doesn't alter hexdump.exe
> itself. ie the physical executable on disk.
>
> Thanks. Paul.

Console API is not implemented in Win32s, but you may be able to hook its
functions and thunk them to Win16 land to call DOS services for console
functions.

Re: win32s

<3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9898&group=comp.os.ms-windows.programmer.win32#9898

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:620a:28d2:b0:763:a948:cfc8 with SMTP id l18-20020a05620a28d200b00763a948cfc8mr1539175qkp.12.1687705801350;
Sun, 25 Jun 2023 08:10:01 -0700 (PDT)
X-Received: by 2002:a05:6902:18c4:b0:c1c:e037:136c with SMTP id
ck4-20020a05690218c400b00c1ce037136cmr1170020ybb.0.1687705801131; Sun, 25 Jun
2023 08:10:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Sun, 25 Jun 2023 08:10:00 -0700 (PDT)
In-Reply-To: <k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net>
Injection-Info: google-groups.googlegroups.com; posting-host=111.90.198.52; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 111.90.198.52
References: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com> <k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com>
Subject: Re: win32s
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 25 Jun 2023 15:10:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: muta...@gmail.com - Sun, 25 Jun 2023 15:10 UTC

On Sunday, June 25, 2023 at 8:13:33 PM UTC+8, JJ wrote:

> Console API is not implemented in Win32s, but you may be able to hook its
> functions and thunk them to Win16 land to call DOS services for console
> functions.

Ok, thanks for that possible solution.

I've just thought of one myself.

I don't mind having a custom version of msvcrt.dll for Win32s.

As such, how about I get msvcrt.dll to open a graphics window?

I'd like to stay in 32-bit in my code.

At some point it would be good to have a shell implemented
the exact same way, so that it can launch other 32-bit programs
that are dependent on msvcrt.dll.

And this would be a good place to implement ANSI screen
controls, which aren't available in even modern msvcrt.dll
I believe.

And if I do it this way, it should work on everything from win32s
to windows 11, right?

How do I get started with an 80 * 25 fullscreen window? Preferably
with fonts just as good as MSDOS so that nothing is lost and you
simply get a 32-bit version of MSDOS as far as the user can see.

Thanks. Paul.

Re: win32s

<7491f984-14ef-491e-87fb-5cafb092e74cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9899&group=comp.os.ms-windows.programmer.win32#9899

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:6214:b2b:b0:635:6fb4:ec58 with SMTP id w11-20020a0562140b2b00b006356fb4ec58mr26487qvj.1.1687706988626;
Sun, 25 Jun 2023 08:29:48 -0700 (PDT)
X-Received: by 2002:a81:e709:0:b0:568:f589:2b4e with SMTP id
x9-20020a81e709000000b00568f5892b4emr11593266ywl.0.1687706988428; Sun, 25 Jun
2023 08:29:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Sun, 25 Jun 2023 08:29:48 -0700 (PDT)
In-Reply-To: <3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=111.90.198.52; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 111.90.198.52
References: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com>
<k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net> <3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7491f984-14ef-491e-87fb-5cafb092e74cn@googlegroups.com>
Subject: Re: win32s
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 25 Jun 2023 15:29:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: muta...@gmail.com - Sun, 25 Jun 2023 15:29 UTC

On Sunday, June 25, 2023 at 11:10:02 PM UTC+8, muta...@gmail.com wrote:

> How do I get started with an 80 * 25 fullscreen window? Preferably
> with fonts just as good as MSDOS so that nothing is lost and you
> simply get a 32-bit version of MSDOS as far as the user can see.

Actually, what I want is the best possible fonts that modern
screens can handle.

Hopefully that will make it easier for me to read the screen.

My eyesight is getting bad (I'm 55) but I refuse to wear glasses.

BFN. Paul.

Re: win32s

<1m59864bmv7j5.e143y95sbqjc$.dlg@40tude.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9900&group=comp.os.ms-windows.programmer.win32#9900

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4pub...@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: win32s
Date: Mon, 26 Jun 2023 20:25:41 +0700
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <1m59864bmv7j5.e143y95sbqjc$.dlg@40tude.net>
References: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com> <k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net> <3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="e91ca4e057ff56b6629b33adc424b241";
logging-data="1017622"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cC4yyo02Uxr+rBaIlZQV2Dqj2LD6uc8k="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:JQnXgTRwXgHLdroej3QV22LnvvI=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Mon, 26 Jun 2023 13:25 UTC

On Sun, 25 Jun 2023 08:10:00 -0700 (PDT), muta...@gmail.com wrote:
>
> How do I get started with an 80 * 25 fullscreen window? Preferably
> with fonts just as good as MSDOS so that nothing is lost and you
> simply get a 32-bit version of MSDOS as far as the user can see.
>
> Thanks. Paul.

You just need to save the current state of the graphic video mode which
includes screen resolution, color depth, video buffer, palettes, hardware
cursor, etc. (i.e. everything) before switching to text video mode (i.e.
fullscreen console). Restore the state of the graphics video mode when
switching back to graphic video mode (i.e. non fullscreen console). It
should also save the state of text video mode which includes cursor
position, cursor size, font, etc. (i.e. everything), if the console
application is not closed - in case it needs to switch back to text video
mode again.

Re: win32s

<1wqz1y8ymkn2b$.3bgxqiyc2g0n.dlg@40tude.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9901&group=comp.os.ms-windows.programmer.win32#9901

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4pub...@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: win32s
Date: Mon, 26 Jun 2023 20:28:38 +0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <1wqz1y8ymkn2b$.3bgxqiyc2g0n.dlg@40tude.net>
References: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com> <k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net> <3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com> <7491f984-14ef-491e-87fb-5cafb092e74cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="e91ca4e057ff56b6629b33adc424b241";
logging-data="1018313"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pCinAXWbDzzU9K6FLCFI9aAI0ecZLug4="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:0R2TmDYyzFJtiWoh3VcwgYtujJk=
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
 by: JJ - Mon, 26 Jun 2023 13:28 UTC

On Sun, 25 Jun 2023 08:29:48 -0700 (PDT), muta...@gmail.com wrote:
>
> Actually, what I want is the best possible fonts that modern
> screens can handle.
>
> Hopefully that will make it easier for me to read the screen.
>
> My eyesight is getting bad (I'm 55) but I refuse to wear glasses.
>
> BFN. Paul.

If you're not satisfied with the font provided by the motherboard BIOS,
simply provide your own font. There's a lot of free "DOS" fonts in Walnut
Creek (check archive.org).

Re: win32s

<3e05da78-9472-4514-9fa6-a34f01807372n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9902&group=comp.os.ms-windows.programmer.win32#9902

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a37:8706:0:b0:762:39e7:331a with SMTP id j6-20020a378706000000b0076239e7331amr3232380qkd.2.1687902806350;
Tue, 27 Jun 2023 14:53:26 -0700 (PDT)
X-Received: by 2002:a05:6870:1b19:b0:1b0:2eab:e7e6 with SMTP id
hl25-20020a0568701b1900b001b02eabe7e6mr2084021oab.3.1687902805982; Tue, 27
Jun 2023 14:53:25 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Tue, 27 Jun 2023 14:53:25 -0700 (PDT)
In-Reply-To: <1m59864bmv7j5.e143y95sbqjc$.dlg@40tude.net>
Injection-Info: google-groups.googlegroups.com; posting-host=136.158.103.175; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 136.158.103.175
References: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com>
<k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net> <3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com>
<1m59864bmv7j5.e143y95sbqjc$.dlg@40tude.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3e05da78-9472-4514-9fa6-a34f01807372n@googlegroups.com>
Subject: Re: win32s
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Tue, 27 Jun 2023 21:53:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2717
 by: muta...@gmail.com - Tue, 27 Jun 2023 21:53 UTC

On Monday, June 26, 2023 at 9:25:45 PM UTC+8, JJ wrote:

> You just need to save the current state of the graphic video mode which
> includes screen resolution, color depth, video buffer, palettes, hardware
> cursor, etc. (i.e. everything) before switching to text video mode (i.e.
> fullscreen console). Restore the state of the graphics video mode when
> switching back to graphic video mode (i.e. non fullscreen console). It
> should also save the state of text video mode which includes cursor
> position, cursor size, font, etc. (i.e. everything), if the console
> application is not closed - in case it needs to switch back to text video
> mode again.

For what reason do I need to switch to text mode?

I can remember when using OS/2 2.0 that when I
switched to a command prompt the monitor
actually made a noise.

> If you're not satisfied with the font provided by the motherboard BIOS,
> simply provide your own font. There's a lot of free "DOS" fonts in Walnut
> Creek (check archive.org).

The motherboard fonts are very small, aren't they? Like 8 * 14.

Aren't there standard Windows fonts that make maximum
use of the graphic capabilities of the card/monitor? Modern
systems have something like 4000 pixels, right? So that would
be 4000/80 = 50 instead of 8 which is presumably much
crisper/clearer.

BFN. Paul.

Re: win32s

<ud2jio0yqvd9.1xl4xd9wyj2m0$.dlg@40tude.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9903&group=comp.os.ms-windows.programmer.win32#9903

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4pub...@outlook.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: win32s
Date: Wed, 28 Jun 2023 16:04:57 +0700
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <ud2jio0yqvd9.1xl4xd9wyj2m0$.dlg@40tude.net>
References: <057eb746-b121-4275-bdc8-5d65fd40ee0fn@googlegroups.com> <k84utu92c5w2.1chykvfyqzn8a$.dlg@40tude.net> <3630a7e0-e0a1-4a1d-b7fb-109e3de8f619n@googlegroups.com> <1m59864bmv7j5.e143y95sbqjc$.dlg@40tude.net> <3e05da78-9472-4514-9fa6-a34f01807372n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="699c866b9a3512e3ef7c56148b014e6a";
logging-data="1829339"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Hq4Txxp5VyzRVWKhTezSR4ABnZ/PTdao="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:yP9o/qYD2aCw6JRJ5zBht2KnkvY=
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
 by: JJ - Wed, 28 Jun 2023 09:04 UTC

On Tue, 27 Jun 2023 14:53:25 -0700 (PDT), muta...@gmail.com wrote:
> On Monday, June 26, 2023 at 9:25:45 PM UTC+8, JJ wrote:
>
>> You just need to save the current state of the graphic video mode which
>> includes screen resolution, color depth, video buffer, palettes, hardware
>> cursor, etc. (i.e. everything) before switching to text video mode (i.e.
>> fullscreen console). Restore the state of the graphics video mode when
>> switching back to graphic video mode (i.e. non fullscreen console). It
>> should also save the state of text video mode which includes cursor
>> position, cursor size, font, etc. (i.e. everything), if the console
>> application is not closed - in case it needs to switch back to text video
>> mode again.
>
> For what reason do I need to switch to text mode?
>
> I can remember when using OS/2 2.0 that when I
> switched to a command prompt the monitor
> actually made a noise.
>
>> If you're not satisfied with the font provided by the motherboard BIOS,
>> simply provide your own font. There's a lot of free "DOS" fonts in Walnut
>> Creek (check archive.org).
>
> The motherboard fonts are very small, aren't they? Like 8 * 14.
>
> Aren't there standard Windows fonts that make maximum
> use of the graphic capabilities of the card/monitor? Modern
> systems have something like 4000 pixels, right? So that would
> be 4000/80 = 50 instead of 8 which is presumably much
> crisper/clearer.
>
> BFN. Paul.

In that case, it'd be just a matter of choosing and configuring the console
font. There's no programming related issue.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor