🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1072

Re: Determining Extended memory size in C program

#1072
From: Ken Ballou
Date: Sat, 10 Oct 1992 01:06
12 lines
924 bytes
I think you might have better luck with:

	cout << "Extended memory: " << regs.x.ax << endl;

Using _AX instead of regs.x.ax means you write whatever is in register AX
after you evaluate cout << "Extended memory: " (in fact, that should be the
address of cout).

					- Ken
--
Kenneth R. Ballou			ballou@vmsdev.enet.dec.com
Digital Equipment Corporation		...!decwrl!vmsdev.enet!ballou
Technical Details
Message-ID: <1992Oct10.010635.7123@nntpd.lkg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!uselss!ballou
References: <1992Oct9.204910.6476@athena.cs.uga.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!uselss!ballou
From: ballou@uselss.uucp (Ken Ballou)
Subject: Re: Determining Extended memory size in C program
Message-ID: <1992Oct10.010635.7123@nntpd.lkg.dec.com>
Sender: usenet@nntpd.lkg.dec.com (USENET News System)
Organization: Digital Equipment Corporation
References: <1992Oct9.204910.6476@athena.cs.uga.edu>
Distribution: usa
Date: Sat, 10 Oct 1992 01:06:35 GMT
Lines: 12