Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 42 |
Nodes: | 6 (0 / 6) |
Uptime: | 01:38:04 |
Calls: | 220 |
Calls today: | 1 |
Files: | 824 |
Messages: | 121,542 |
Posted today: | 6 |
As for terminals, I liked the Textronics 4000
series a lot more. For text + simple graphs
vector really was faster/sharper than bitmap ...
at least back in the low-bandwidth day.
On Sa 16 Nov 2024 at 00:01, "186282@ud0s4.net" <186283@ud0s4.net> wrote:Phonetic spelling. USA's favorite pastime. Along with inventing
As for terminals, I liked the Textronics 4000
series a lot more. For text + simple graphs
vector really was faster/sharper than bitmap ...
at least back in the low-bandwidth day.
It is Tektronix you mean, not Textronics isn't it?
'Andreas
On 11/16/24 12:24 AM, rbowman wrote:
On Fri, 15 Nov 2024 23:31:26 -0500, 186282@ud0s4.net wrote:
Again, not entirely sure where the end of octal was. Many of the PDPs >>> used octal, and I *think* a few PIC chips. 8/16/32 kinda took overchmod 4755
kinda early on however.
I don't know if I'd call it octal but if you were writing an
assembler for
quite a few microcontrollers the opcodes would have a pattern where source >> ans destination registers were 0 - 7,
Octal does persist, sometimes in obscure ways and places.
It WAS kinda big for awhile - a "big step" better than
8-bit.
Alas don't think anymore 12 or 24 bit CPUs are
gonna be made. Might still have a place for some
higher-end microcontrollers - hell, I think Epson
still makes FOUR-bit microcontrollers (looked at
the sheet for one once, insanely capable).
Hmmm ... 256 of those 4-bitters running
parallel - that'd be a fun project :-)
Alas don't think anymore 12 or 24 bit CPUs are
gonna be made. Might still have a place for some higher-end
microcontrollers - hell, I think Epson still makes FOUR-bit
microcontrollers (looked at the sheet for one once, insanely
capable).
Hmmm ... 256 of those 4-bitters running parallel - that'd be a fun
project
On 16/11/2024 14:14, Andreas Eder wrote:
On Sa 16 Nov 2024 at 00:01, "186282@ud0s4.net" <186283@ud0s4.net> wrote:
As for terminals, I liked the Textronics 4000
series a lot more. For text + simple graphs
vector really was faster/sharper than bitmap ...
at least back in the low-bandwidth day.
It is Tektronix you mean, not Textronics isn't it?
"186282@ud0s4.net" <186283@ud0s4.net> writes:
On 11/16/24 12:24 AM, rbowman wrote:
On Fri, 15 Nov 2024 23:31:26 -0500, 186282@ud0s4.net wrote:
Again, not entirely sure where the end of octal was. Many of the PDPs >>>> used octal, and I *think* a few PIC chips. 8/16/32 kinda took over >>>> kinda early on however.chmod 4755
I don't know if I'd call it octal but if you were writing an
assembler for
quite a few microcontrollers the opcodes would have a pattern where source >>> ans destination registers were 0 - 7,
Octal does persist, sometimes in obscure ways and places.
It WAS kinda big for awhile - a "big step" better than
8-bit.
Alas don't think anymore 12 or 24 bit CPUs are
gonna be made. Might still have a place for some
higher-end microcontrollers - hell, I think Epson
still makes FOUR-bit microcontrollers (looked at
the sheet for one once, insanely capable).
Hmmm ... 256 of those 4-bitters running
parallel - that'd be a fun project :-)
GE's "GECOS" and later Honeywell's "GCOS" mainframe machines were all
36-bit words, so octal was a natural for them: 6 6-bit BCD characters or
4 9-bit bytes per 36 bit word.
On Sat, 16 Nov 2024 03:20:33 -0500, 186282@ud0s4.net wrote:
Alas don't think anymore 12 or 24 bit CPUs are
gonna be made. Might still have a place for some higher-end
microcontrollers - hell, I think Epson still makes FOUR-bit
microcontrollers (looked at the sheet for one once, insanely
capable).
https://en.wikichip.org/w/images/2/25/
MARC4_User's_Guide_qFORTH_Compiler.pdf
I don't know when the MARC4 was dropped but it held on until this century. You don't need an Arm M4 to run a coffee pot but 8-bit devices are dirt cheap.
Hmmm ... 256 of those 4-bitters running parallel - that'd be a fun
project
That's dangerously close to reinventing bit-slice.
https://alchetron.com/Motorola-MC10800
On Sat, 9 Nov 2024 09:36:58 -0500
Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
020111 067544 023556 020164 062556 062145 067040 020157 072163 062545
065556 067151 020147 062550 060570 062544 064543 060555 020554 005012
041165 072040 073350 060564 020151 063040 074557 072447 071145 020167
071151 072151 067147 020146 071157 066400 060440 061151 063455 062556
062151 060556 020155 060543 064151 067145 027056 027077
John Ames wrote this post while blinking in Morse code:
On Sat, 9 Nov 2024 09:36:58 -0500Damn, I still haven't found a program that would easily reverse octal to a string.
Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
020111 067544 023556 020164 062556 062145 067040 020157 072163 062545041165 072040 073350 060564 020151 063040 074557 072447 071145 020167
065556 067151 020147 062550 060570 062544 064543 060555 020554 005012
071151 072151 067147 020146 071157 066400 060440 061151 063455 062556
062151 060556 020155 060543 064151 067145 027056 027077
On 11/11/2024 1:58 PM, Chris Ahlstrom wrote:
John Ames wrote this post while blinking in Morse code:
On Sat, 9 Nov 2024 09:36:58 -0500Damn, I still haven't found a program that would easily reverse octal to a >> string.
Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
020111 067544 023556 020164 062556 062145 067040 020157 072163 062545041165 072040 073350 060564 020151 063040 074557 072447 071145 020167
065556 067151 020147 062550 060570 062544 064543 060555 020554 005012
071151 072151 067147 020146 071157 066400 060440 061151 063455 062556
062151 060556 020155 060543 064151 067145 027056 027077
This is crude, but it seems to work for the post you're replying to,
with big-endian two-byte integers:
===
#include <stdio.h>
int main(void)
{
union {
unsigned short s;
char c[2];
} w;
unsigned int wi;
char junk;
while (scanf("%o%c", &wi, &junk) > 0) {
w.s = wi;
printf("%c%c", w.c[1], w.c[0]);
}
printf("\n");
return 0;
}
===
To read a sequence of two-byte octal little-endian integers, swap w.c[1]
and w.c[0].
This is crude, but it seems to work for the post you're replying to,
with big-endian two-byte integers:
To read a sequence of two-byte octal little-endian integers, swap w.c[1]
and w.c[0].
I still haven't found a program that would easily reverse
octal to a string.
Chris Ahlstrom <OFeem1...@teleworm.us> [CA]:
I still haven't found a program that would easily reverse
octal to a string.
You have to take into account the writer machine's endianness
and character set encoding (EBCDIC anyone?).
If it's a big-endian system and the encoding is ASCII, use the
following script. It preserves regular text and converts only what
it sees as octal numbers.
Modifying it to also accept EBCDIC encoded text on a non-EBCDIC
system is left as an exercise for the reader.
I would assume that if you could find a bourne shell, 'sed' and 'awk'
on some EBCDIC system, the script might work without changes.
Can anyone comment on this?
#!/bin/sh
DELIMITER="__octal_number_delimiter__" ;
# Step1: locate octal numbers in input
sed 's@\b\([0-7 ]\+\)\b@'"$DELIMITER"'\1'"$DELIMITER"'@g' |
# Step2: convert octal numbers to text, leaving everything else as it is
awk -v FS="$DELIMITER" -v Q='"' '{
for (i=1;i<=NF;i++) { # for all line fields
t = $i; # get the i-th line field
if (i%2) { # regular text; do not touch it
printf "%s", t;
} else { # octal number; process it
gsub(" ","", t); # remove any space characters first
# make sure the number of octal digits is a mulitiple of 6
for (j=1;j<=(length(t)%6);j++) t = "0" t;
# break up the octal string to sextuplets
for (j=1;j<=length(t)/6;j++) {
# convert a 6-digit octal number to a 4-digit hex number
six_octal_digits=substr(t,6*j-5,6);
four_hex_digits = sprintf ("%x", strtonum(0 six_octal_digits));
# process each pair of hex digits (a byte)
for (k=1;k<=length(four_hex_digits)/2;k++) {
two_hex_digits=substr(four_hex_digits,2*k-1, 2);
# output this byte as an ASCII character (escape non-printable ones)
char = strtonum("0x" two_hex_digits);
printf (((char < 32) ? "<%02x>" : "%c"), char);
}
}
}
}
print ""; # add a newline
}
'
Wow ... haven't thought about octal/EBCDIC for a LONG time.
Until three or four years ago a Midwestern US state's criminal justice API used EBCDIC and the 3270 protocol. There is little uniformity in the
various state CJIN interfaces but that was one of the stranger ones.
In <lppi68FktfdU1@mid.individual.net> rbowman:
[Snip...]
Until three or four years ago a Midwestern US state's criminal justice API >> used EBCDIC and the 3270 protocol. There is little uniformity in the
various state CJIN interfaces but that was one of the stranger ones.
FWIW...
When I retired from a major defense contractor (circa ~2003), we
were still using an emulator on Linux boxen for payroll timecard
input, probabably running on IBM COBOL in a corporate backwater:
The x3270 Wiki
https://x3270.miraheze.org/wiki/X3270#
On Fri, 15 Nov 2024 02:58:55 -0500, 186282@ud0s4.net wrote:
Wow ... haven't thought about octal/EBCDIC for a LONG time.
Until three or four years ago a Midwestern US state's criminal justice API used EBCDIC and the 3270 protocol. There is little uniformity in the
various state CJIN interfaces but that was one of the stranger ones.
They must have finally ran out of parts for the card sorters on eBay when they went to XML.
This stuff is STILL in use at various levels from yer local school
district to the IRS and beyond. It WORKS - and was a HUGE investment
back in the day, UNAFFORDABLE to replace/debug now. They will use
this stuff until the magic smoke finally escapes forever and ever.
Then - disaster.
Again, not entirely sure where the end of octal was. Many of the PDPs
used octal, and I *think* a few PIC chips. 8/16/32 kinda took over
kinda early on however.
On Fri, 15 Nov 2024 23:31:26 -0500, 186282@ud0s4.net wrote:
Again, not entirely sure where the end of octal was. Many of the PDPs
used octal, and I *think* a few PIC chips. 8/16/32 kinda took over
kinda early on however.
chmod 4755
I don't know if I'd call it octal but if you were writing an assembler for quite a few microcontrollers the opcodes would have a pattern where source ans destination registers were 0 - 7,