TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Roger Scudder
from: Jasen Betts
date: 2003-11-13 07:02:28
subject: [--- Ebcdic ---]

Hi Roger.

12-Nov-03 06:06:24, Roger Scudder wrote to Jasen Betts


 RS> On: 10 Nov 03  06:17:51 Jasen Betts wrote to Neil Heller:


 RS> I'm not following you here...  He is describing a system that is
 RS> based on a 12 bit word

I thought he was describing a need to split up a datastream coinsisting of
concatenated 12 bit BCD values I assumed he was doing that in 8 bit hardware.

the second question I thouight referred to splitting a single byte in half
using sscanf

 RS> converted to hex the values would look like this...

why would anyone do that?

 RS> 34h 01h 25h 01h 33h 01h 34h 01h

 RS> when received at the 8 bit byte machine the stream would flatten
 RS> out like this...

 RS> 11010000 00011001 01000001 11001100 00011101 00000001

Not if a synchrionous link was used

 RS> D0h 19h 41h CCh 1Dh 01h

 RS> I can't see anyway to convert this data without masking and bit
 RS> shifting.  You had me going on the sscanf for a minute, but after
 RS> thinking about it, I don't think sscanf really helps at all

not for that task.

 RS> -Roger



 -=> Bye <=-

---
* Origin: I'm pink, therefore I'm SPAM. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.