I find it amazing just how hard Commodore crippled the integer type in their BASIC interpreter. Not only does it take 5(!!) bytes to store a 16 bit value, but it is often slower than the floating point version of common operations.
The standard length of 5 bytes has some advantages when it comes to looking up variables. But, I agree, integer is really more like a clamped float in Commodore BASIC. (However, integer array values are stored in just 2 bytes, each, hinting at it's really about traversal time.)
Commodore's software story was indeed a mess, going all the way back to the PET. The BASIC in question was essentially a development snapshot of Microsoft BASIC on the 6502. It's the same code base that would go on to become Applesoft about a year later. But where Apple was able to drag MS along via comparison to the (less featureful but FAR more elegant) Integer BASIC interpreter, Commodore just took what they got and shipped it. Then patched it as needed as they kept shipping new hardware.
You'd think this would have hurt them more than it did. But in fact the idea of an "Operating System" had limited real utility in devices this small. There just wasn't enough space to do much useful for the user, and all "real" apps and games ended up rolling their own versions of everything anyway.
The C64's primary interface to the software developer was a hardware interface. And as it happened that mostly worked just great (disk I/O excepted, of course).
I wouldn't really put the blame for this on Commodore. The integer code for BASIC-65 is common across all the platforms that licensed it from Microsoft.
I only read a bit of it myself, but I pasted the whole contents of the story to ChatGPT and then I asked simply:
> Is the above text creepy? Why or why not?
Quoth ChatGPT:
> […] The use of gendered language and the description of the "damsel in distress" could be seen as objectifying or stereotypical. However, it's also possible that the author was trying to use a playful or nostalgic tone that is common in tech writing. Ultimately, whether or not the text is creepy is subjective and depends on the individual reader's interpretation and personal values.
The entire trope is creepy, the usual portrait of the male private eye detective as is the portrayal of his object, the "damsel in distress". (Mind that the "damsel in distress" is commonly an excess signifier in the setup hinting at something not being as presented, thus initiating the core story.) You can't have one without the other, and still stay true with cultural history of ephemeral narration. This is here further motivated by us encountering a phenomenon of distress in code, namely, in the anatomy (a common term for this) of a unified storage format for variables and an artefact found in this. Moreover, this is really a 1970s story (as is the PET 2001).
(I find it rather creepy that the portrayal of the male narrator, who is without empathy but for the curiosity for his object, should be ok and go without any notice. On the other hand, note the absence of any notion of violence, untruthful or untrustworthy behavior, etc, otherwise common to the genre. Which would probably also have passed the filter, which is again creepy in its own right. — In defense of the genre, these are really paper-cut, mechanical figures to enable the progress of the story and not human figures, at all.)
I found the whole start of the article very difficult to read. In the end I gave up trying to understand your words and instead looked at the data to find out what you actually meant. This article would be much better if you removed the whole Noir detective story bits.
"Specifically, Floats comes with a clean baby face, with no marks at all, fresh ASCII strings all over. Integer, however, is yet another character, marked by signs on both cheeks, and ol‘ Strings is known by a single sign mark on the second, right-hand side of his signature grin."
Mind that this builds on a previous article (linked), detailing the storage formats of Commodore BASIC, which readers of the blog will be already familiar with. It recapitulates that variables are two ASCII characters with the type encoded in the sign-bits of this byte-signature, in order to establish a common ground for filling a gap in this account.
Also, it's meant to advertise the respective tools of the emulator (something I'm not aware of having been done like this before) and to stimulate interest in the reader to conduct further investigations of their own. Hence, the "wrapping" (which, BTW, emphasizes that jargon is not that innocent.)
14 comments
[ 2.0 ms ] story [ 39.6 ms ] threadYou'd think this would have hurt them more than it did. But in fact the idea of an "Operating System" had limited real utility in devices this small. There just wasn't enough space to do much useful for the user, and all "real" apps and games ended up rolling their own versions of everything anyway.
The C64's primary interface to the software developer was a hardware interface. And as it happened that mostly worked just great (disk I/O excepted, of course).
https://www.pagetable.com/?p=46
You might be interested in checking this out: https://github.com/mist64/msbasic
I only read a bit of it myself, but I pasted the whole contents of the story to ChatGPT and then I asked simply:
> Is the above text creepy? Why or why not?
Quoth ChatGPT:
> […] The use of gendered language and the description of the "damsel in distress" could be seen as objectifying or stereotypical. However, it's also possible that the author was trying to use a playful or nostalgic tone that is common in tech writing. Ultimately, whether or not the text is creepy is subjective and depends on the individual reader's interpretation and personal values.
(I find it rather creepy that the portrayal of the male narrator, who is without empathy but for the curiosity for his object, should be ok and go without any notice. On the other hand, note the absence of any notion of violence, untruthful or untrustworthy behavior, etc, otherwise common to the genre. Which would probably also have passed the filter, which is again creepy in its own right. — In defense of the genre, these are really paper-cut, mechanical figures to enable the progress of the story and not human figures, at all.)
"Specifically, Floats comes with a clean baby face, with no marks at all, fresh ASCII strings all over. Integer, however, is yet another character, marked by signs on both cheeks, and ol‘ Strings is known by a single sign mark on the second, right-hand side of his signature grin."
???
Also, it's meant to advertise the respective tools of the emulator (something I'm not aware of having been done like this before) and to stimulate interest in the reader to conduct further investigations of their own. Hence, the "wrapping" (which, BTW, emphasizes that jargon is not that innocent.)
This is cringe and creepy. Although the subject is interesting, I really couldn’t read past that.