POV-Ray : Newsgroups : povray.off-topic : C/C++ Data Type Ambiguity Backwards : Re: Platform with non-8-bit bytes Server Time
8 Jul 2024 08:36:36 EDT (-0400)
  Re: Platform with non-8-bit bytes  
From: clipka
Date: 24 Aug 2015 10:03:02
Message: <55db2416@news.povray.org>
Am 24.08.2015 um 12:28 schrieb Lars Rohwedder:
> I worked on such platform, not a PDP-11 (I am too young for that) but an
> awkward embedded DSP chip:
> 
> http://roker.spamt.net/c++/datatypes_c55x.png
> 
> It was very annoying to do C++ on that, e.g. file I/O and std::string
> didn't work as I expected. :-(

Been there, done that. I once had to write a portable driver for some
proprietary communications protocol to run on a set of embedded systems,
and on one of the target platforms the message data somehow kept getting
misaligned in the buffers. The first hint that put me on the right track
was that this weirdo also had the baffling ability to store pointers in
char-wide variables, while providing 64k of RAM...

That thing was some obscure microcontroller with a built-in Bluetooth
stack, and yes - apparently some DSP capabilities as well. Can't
remember the name of the controller or the manufacturer though.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.