Deutsch   English   Français   Italiano  
<d3fe9fefe19bb5b981145c44acba345e16dd6032@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: dxf <dxforth@gmail.com>
Newsgroups: comp.lang.forth
Subject: Re: Word name storage quirk in VAX fig-Forth
Date: Thu, 17 Apr 2025 11:34:05 +1000
Organization: i2pn2 (i2pn.org)
Message-ID: <d3fe9fefe19bb5b981145c44acba345e16dd6032@i2pn2.org>
References: <87zfgg8c0u.fsf@lucy.meyer21c.net>
 <2025Apr16.181856@mips.complang.tuwien.ac.at>
 <7FRLP.374651$sbY2.11100@fx40.iad> <87y0vzd6p9.fsf@lucy.meyer21c.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 17 Apr 2025 01:34:09 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="667059"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc";
User-Agent: Mozilla Thunderbird
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <87y0vzd6p9.fsf@lucy.meyer21c.net>
Content-Language: en-GB
Bytes: 1896
Lines: 16

On 17/04/2025 9:31 am, David Meyer wrote:
> It occurred to me that another factor in this is that the VAX-11 OS used
> 7-bit ASCII as its character set, so perhaps terminals and printers of
> that time would just print the character indicated by the lower 7 bits
> of each byte they were sent, ignoring the high bit. So I am seeing
> munged characters because I'm using equipment that looks at all 8 bits
> for character codes?

This got me interested.  In FigForth for CP/M-80 bit 7 is *not* cleared.
Thus the full 8 bits is sent to the BIOS console output with the expectation
bit 7 will is cleared in the BIOS.  DRI's spec for BIOS CONOUT appears to
require this.  OTOH I know BIOS's that didn't do that as it would restrict
console capability.

Ideally FigForth should allow 8-bit EMITs and ID. rewritten to use a
127 AND EMIT loop instead of TYPE .