CGA in 1024 Colors – A New Mode: The Illustrated Guide (2015)
int10h.org
int10h.org
Maybe that's obvious, but for some reason that tickled me. Plugging in a wire to a 2TB solid state drive, named after a tech from three decades earlier? Awesome. I'm sure there's lots of terms that are direct descendents of the original PC (including x86 itself), but this one caught me. Imagine telling the guy who decided on "AT" that the term would still be used 36 years later.
Anyways, as crazy as it seems to mess with a CGA computer nowadays, it's all related. One tech leads to another which leads to another, each usually somewhat compatible or based on the generation before, so that oddities/limitations and workarounds from back then have a way of trickling down through the years.
Laser printers have a small oven built in to melt the toner onto the page called a fuser. On modern printers that only gets turned on right before use. On the early models the warm up and cool down times were much longer so the fuser would both turn on earlier and take much longer to get back to a room temperature. Those things combined ment that a paper jam could very easily turn into a fire. In fact if the jam detection was having an off-day it could turn into a conveniently paper-stoked fire.
Of course there's no real way to detect if a paper jam is the fire causing kind or not remotely so any paper jam would tell you the printer is on fire, just in case it actually is.
In short: Early laser printers came with a fire extinguisher included in the sale price for a good reason.
1981: PC
1983: XT - more slots, closer together
1984: AT - 16 bit slots, taller cards
1985: Baby AT - eliminated the large non slot area
1987: PS/2 - changed most things, only keyboard/mouse and VGA connectors were adopted
1995: ATX - rotated Baby AT 90 degrees so tall components wouldn't interfere with cards
1997 and later: many ATX variations, BTX, ITX and so on
https://unix.stackexchange.com/questions/144561/in-what-sens...
Here it is on a brand new Threadripper machine:
$ lspci | grep ISA
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)Back in high school I used to spend way too much time playing with mode 13h. I used turbo pascal which allowed some inline assembly syntax [1], so one would initialize the 320x200x256color mode like:
BEGIN
asm
mov ax, 13h
int 10h
end;
END;
and put a pixel on the screen like: Procedure Putpixel (X, Y : Integer; Col : Byte);
BEGIN
VgaMem [X + (Y * 320)] := Col;
END;
The palette was just 256 colors but you could pick which rgb colors to use [2], some effects would be based in palette cycling, others (fire!) would like nice by focusing in fewer hues.Such a time sink... :-)
1: http://archive.gamedev.net/archive/reference/articles/articl...
The hack is that their visual cortex is multiplexed in a way that certain colors or color combinations might be interpreted as feeling like seeing "plaid" or "tartan" even though the color is solid.
It's been a few years since I read "Deepness", but I don't recall that the Spiders were ever referred-to as genetically-engineered. I'll definitely look into that.
re: the perception of color - I took that to be the Focused translators' interpretation of the spiders' vision, rather than a literal description of the spiders' cognitive process. I've always read the portions of the book that take place on the spiders' world as being a narrative created by the translators, in which the incomprehensibly-alien spiders are made more "relate-able" by analogizing alien concepts with human concepts.
Speculation on top of fiction:-)
https://www.downloadtheuniverse.com/dtu/2012/04/monets-ultra...
https://photographyoftheinvisibleworld.blogspot.com/2012_05_...
As cool as accidental historical biohacking is, I think the Monet-UV hypothesis should be taken with a grain of salt.
If my educated guess is correct then "somewhat unlikely" seems like quite an understatement to me! :D
(I have protanomaly myself, and never considered that men could hypothetically be tetrachormats as well. This was a fun through exercise)
Edit: spelling
https://en.wikipedia.org/wiki/Quadrature_amplitude_modulatio...
and ... amazingly I know some of these words now. I blame you fully for this. Well done.
Love it when that kind of discovery learning happens. Makes me feel excited about the fact that so much is still new to us, as people with our limited time and experience.
NTSC is a lot of fun to hack. I did a lot of projects similar to this one as a kid.
Basically tried artifact color on many machines.
The Tandy Color Computer 3 has a 640x200'ish mode with 4 colors. That one boils down to one byte per pixel, using composite video input.
Also, the CPU is a 6809! So much byte per pixel fun.
All this because of how NTSC works.
PAL, by the way, can be abused vertically to get additional colors. That can be seen in many Demoscene art productions.
When the local library got VGA monitors, us kids would look at the digital encyclopedia and those VGA pictures were like the future. Some encyclopedia pages even had VGA quality movie recordings... it was like the dawning of the future.
I wonder if that sense of wonder is lost in the modern world? It's such a joy to stumble on some fascinating new relic and descend however briefly into the depths of its madness. I hope we can still find new ways to inspire that joy now that most of the world's information is available through a device in your pocket. Which... looking back on the last two decades is kindof an astonishing leap.
https://en.wikipedia.org/wiki/Encarta
I remember some consumer PCs being bundled with Encarta in the 1990s and 2000s.
I also remember Grolier (https://en.wikipedia.org/wiki/Grolier) publishing CD-ROM encyclopedias in the 1990s.
https://en.m.wikipedia.org/wiki/BBC_Domesday_Project
Anyway, VGA graphics just means you don't need to store megabyte sized images since you can't display them anyway. 700MB is quite a lot if you're just trying to replace a paper encyclopedia.
Luckily, not every teacher thought that way.
EDIT: heh, they waited until the non-static images. Kind of makes sense - unless you have a really good feeling for the era this hardware is from it might not be immediately obvious how impressive of a technical feat this is from image output alone.
https://www.youtube.com/watch?v=gdb3AQ14iVc
EDIT2: Here's a TANDY 1000 video capture, for the curious
Link? Googling that term shows at most probes that register a single scalar value, not something that can image a diskette. (Nor were those "quite inexpensive")
Of course there is.
I have no idea what it is, and no interest in that particular technology, but without question there are edge cases and weird engineering loopholes and strange behaviors in any technology like that.
The reason they have reached this depth (1024 color CGA) is because of the decades they have spent hacking away at it - not because of some aspect unique to that platform.
_Racing the Beam_
... if you are at all interested in stories like this of bending hardware (in this case, the Atari 2600) to the will of the programmer.
(The Atari 2600 didn't have a framebuffer - you had to tell the electron beam what color to paint in real time, sync'd to the clock of the CPU. This was called "racing the beam")
http://www.battlestations.zone/2017/04/apple-ii-double-hi-re...
Edit typo
If I'd seen this with CGA, I'd probably be unable to function for a week.
If it is possible why there were no CGA games with so many colors? Thank you!
> Naturally, there are downsides: having to mess with the CRTC every couple of scanlines is quite taxing for the poor 4.77MHz 8088, so there's not much you can do with this other than static pictures. The 512-color variant, using only ASCII 0x55 and 0x13, doesn't suffer from this – it's basically "set and forget", requiring no more CPU intervention than any 80-column text mode (the familiar overhead of avoiding snow).
> Then, there's that other problem which plagues 80-column CGA on composite displays... the hardware bug that leads to bad hsync timing and missing color burst. There are ways to compensate for that, but none that reliably works with every monitor and capture device out there. This proved to be an enduring headache in calibrating, determining the actual colors, and obtaining a passable video capture of the entire demo... but that's all covered elsewhere.
PAL uses the color info from a prior scan line in addition to the color info on the current scan line to establish a given pixel color.
If one is clever about changing pixel colors in a way synchronized with the display, more than 16 colors will be seen.
The C64 only has 16 colors. Fixed colors.
Abusing TV was, and can still be, interesting.
On the older machines, a gain of new colors was a big deal.
In this case, it still is a big deal, given how craptastic the CGA is.
In this mode, if you use a dithering pattern you can generate 256 (16x16) dithered colors.
When connected to a composite monitor, the dithering pattern appears as a solid color, giving you 256 unique solid colors at a resolution of 80x100.
In a composite video signal, different pixel positions produce different colors, so if you shift the dithering pattern over by one pixel, you get an additional 256 colors.
The author was able to find four such dithering patterns, for a total of 1024 (256x4) colors. However, the last two dithering patterns (the last 512 colors) require some low-level hacking scan-line hacking.