64 points · by ingve · 9y ago · 28 comments
It's worth mentioning that if you're first trying to maximise amount of text with things like the 80x33 mode suggested, you can "fake" even more space for text by opening the top/bottom borders and using sprites. You'd get at most 192 pixels wide if you use all 8 sprites, though, so it won't give full additional lines, but would be usable for things like status displays and the like.
Without a scroll, that gives a flickering halftone image between the two halves of the character images. Old CRT's had slow phosphors so the flickering isn't so bad there, but still it doesn't give truly higher resolution.
Now introduce a one pixel per every two frames horizontal scroll. Your eyes track the moving text smoothly. Relative to that moving frame of reference, the odd frames are positioned half a pixel to the right of the corresponding even frames. So in that moving frame of reference you have a "true" interlaced 640 pixel column high resolution display.
Unfortunately you can't tell the c64 to turn off the border. You can just tell it to turn on at a time that is not now. Removing the top/bottom border is easy enough and some games did this (usually for showing the score/lives etc.) Side borders were a somewhat trickier to do while you did anything else.
https://en.wikipedia.org/wiki/Commodore_64_demos shows a screenshot of a border sprite hack.
It would be tough to add another 80 pixels though, which is what you'd need to significantly improve an 80 column text display giving each character another pixel.
The reason I didn't mention the side border is that it would eat up most of the available CPU time, since you'd need to spend most of it on timing the on/off switch. You'd basically be left with almost only the vertical blanking interval to do other processing.
So you did. must be time for some sleep.
Sadly I lost the code years ago - it was hand-coded in assembler with just a BASIC menu wrapper.
There was also a 'mostly working' print routine that didn't block the serial comms stream (too much!).
I remember it being green, and the closest thing googling finds is VT100 by Louis Leff, which was, interestingly, written with Blazing Forth (I just learned this just now; I had no idea about Forth back then). I can't tell if VT100 actually had an 80 column mode, though...so it may have been another green-screened terminal program. I do remember it having an obscure (to me), technical-sounding name. It seemed like something out of Wargames.
I can't remember the name of it, but it was very good.
He rigged up a demo of a video camera pointed at a book with more than 80 characters per line and showed that it was legible. The story (as well as some of his others) are really interesting.
1 - http://ataripodcast.libsyn.com/antic-interview-28-rich-pasco...
Had this been standard, or at least more easily accessible, it would have made the C64 a lot more useful to me.
OT: Is there a 4x8 latin1 font anywhere?
The experience might be different in today's LCD monitor world.
To add more RAM you either need to add a second CPU (some cartridges add another CPU), replace the 6510 with a board with a 16bit CPU + RAM, address it via some form of bank switching, or copy to/from main memory (this is what Commodore's memory expansion cartridges did [1]). Commodore's own memory expansion cartridges even required a separate power supply to power it...
Luckily, there's a small but thriving industry of hardware hackers making new C64 stuff...and you can get an entire computer (an FPGA) to stick on the back of your C64 which can act as a CPU accelerator, RAM expansion, fast/huge disk drive, VGA port, etc. Turbo Chameleon is maybe the most successful of them. It's a bit more expensive than a real REU on ebay, but it's probably all the hardware one would ever need for C64 expansion (and it's new hardware, so likely to hold up a lot better).