News for hackers. Stuff that matters.
Re:Don Lancaster's Guru's Lair Home Page by computator on Tuesday March 02, 2021 @07:35PM (#26323241)
I don’t know if people are upvoting this page because of the cool retro look of his home page, but I’ll mention that he’s well known for his TTL Cookbook and CMOS Cookbook. Everybody who was into digital electronics in the early 1980s had them. More than once visitors to my place took the “cookbooks” from my shelf expecting to see some delicious recipes and were sorely disappointed.
Re:Don Lancaster's Guru's Lair Home Page by koalahedron on Tuesday March 02, 2021 @07:48PM (#26323320)
> delicious recipes

Ha ha

He also did the TV typewriter:

https://en.wikipedia.org/wiki/TV_Typewriter

which allowed people to have something to hook their bare board micro to.

I had money to buy his green book, but not the computer or the TV. :)

Re:Don Lancaster's Guru's Lair Home Page by sehugg on Tuesday March 02, 2021 @08:34PM (#26323625)
Which used the same technique as the Apple 1 video terminal, though Woz claims not to have known about it when designing it. Probably true, because there weren't many inexpensive options for RAM besides shift registers!

https://www.willegal.net/appleii/apple1.htm

Re:Don Lancaster's Guru's Lair Home Page by djmips on Wednesday March 03, 2021 @02:53AM (#26325819)
I wouldn't be surprised if he hadn't come across it and perhaps forgotten about it. Nevertheless simultaneous invention happens all the time.
Re:Don Lancaster's Guru's Lair Home Page by koalahedron on Wednesday March 03, 2021 @09:28AM (#26328703)
> Nevertheless simultaneous invention happens all the time.

Try telling that to Isaac Newton. :)

Or better yet Edison or the USPTO.

Re:Don Lancaster's Guru's Lair Home Page by vram22 on Wednesday March 03, 2021 @05:47AM (#26326816)
Actually, some microcomputers (apart from bare board micros) had the option to use a TV as a monitor in the early days.
Re:Don Lancaster's Guru's Lair Home Page by kwhitefoot on Wednesday March 03, 2021 @06:47AM (#26327193)
Some? In my experience it was almost all. At least that's how it was in the UK.
Re:Don Lancaster's Guru's Lair Home Page by uxp100 on Wednesday March 03, 2021 @08:44AM (#26328162)
The article is from 1973. I think exact eras are getting a little muddled here. Altair, Mark-8, SCELBI, these are the sort of home computer that came out shortly AFTER this project was published.
Re:Don Lancaster's Guru's Lair Home Page by kwhitefoot on Wednesday March 03, 2021 @05:03PM (#26335321)
Ah, serves me right for jumping straight to the comments. I had in mind computers from a few years later like my Nascom 2 from 1979.
Re:Don Lancaster's Guru's Lair Home Page by uxp100 on Wednesday March 03, 2021 @08:39PM (#26337502)
It really all happened quite quickly.
Re:Don Lancaster's Guru's Lair Home Page by vram22 on Wednesday March 03, 2021 @11:41AM (#26330829)
You are probably right. I first wrote "many", then edited it to say "some", in the interest of accuracy, since I had only used a few kinds myself, and did not know if all the others supported that feature or not :)
Re:Don Lancaster's Guru's Lair Home Page by vram22 on Sunday March 07, 2021 @02:49PM (#26379107)
Did all that, before your reply, BTW.
Re:Don Lancaster's Guru's Lair Home Page by djmips on Wednesday March 03, 2021 @02:52AM (#26325803)
And this technique was also used for video output on the Sinclair ZX-80 if I am not mistaken.
Re:Don Lancaster's Guru's Lair Home Page by jecel on Wednesday March 03, 2021 @03:02PM (#26333630)
He later had books mentioned in other comments: "The Cheap Video Cookbook" and "Son of Cheap Video". In these he added just a few TTLs to a Kim-1 computer and generated video using mostly software.

The Sinclair ZX-80 was much closer to this than to the TV Typewriter (which was 100% hardware). Some other computers that used this technique back in the day:

https://en.wikipedia.org/wiki/Aamber_Pegasus

https://en.wikipedia.org/wiki/Galaksija_(computer)

And here is a recent project:

https://en.wikipedia.org/wiki/Gigatron_TTL

Re:Don Lancaster's Guru's Lair Home Page by kevin_thibedeau on Tuesday March 02, 2021 @07:37PM (#26323250)
Also notable for his library of hand-coded PostScript used to manually generate his newsletters.
Re:Don Lancaster's Guru's Lair Home Page by Turing_Machine on Tuesday March 02, 2021 @07:53PM (#26323349)
Yeah, he was also doing print-on-demand books using a fleet of dedicated Apple II machines sending PostScript to Apple LaserWriters.

This was a Big Deal because the standard setup at the time was a Mac connected to a LaserWriter, but it occurred to him that you didn't really need to tie up a Mac if all you were doing was sending the same PostScript file to the printer over and over again.

Re:Don Lancaster's Guru's Lair Home Page by HeyLaughingBoy on Tuesday March 02, 2021 @09:11PM (#26323860)
Don't forget the Incredible Secret Money Machine :-)

He also corrected my pronunciation of "tinaja" when I called him.

Re:Don Lancaster's Guru's Lair Home Page by wglb on Tuesday March 02, 2021 @10:02PM (#26324203)
It was a help when thinking of starting my own business.
Re:Don Lancaster's Guru's Lair Home Page by a9h74j on Tuesday March 02, 2021 @09:28PM (#26323981)
>ISMM

"Don't fight the eagle."

Re:Don Lancaster's Guru's Lair Home Page by wrycoder on Tuesday March 02, 2021 @11:03PM (#26324610)
I remember one of his books - perhaps the one on Apple assembly language - described an organized way to disassemble executables.

It involved first going through the printout using colored pencils and color highlighters in a particular way to develop visible structure.

I remember being quite impressed with his methods.

The website is an amazing labyrinth. It’s rather like a higher dimension toroid full of dusty wonders from a simpler time. Very much old Arizona.

Re:Don Lancaster's Guru's Lair Home Page by ddingus on Tuesday March 02, 2021 @11:35PM (#26324804)
I used that method early on after some magazine published it. Was either BYTE or Creative Computing.

Was a teen at the time.

And it worked!

Back then, one could either display to screen, or dump to a printer, or file.

The paper was where this method shined.

And the beauty of it was having a plan and compartmentalizing the problems.

Start with program flow. And on 6502, 6809, which were the chips I was learning on, that was branch, jump, jump to subroutine, and a few other tricks, like pushing addresses on to the stack, then returning from subroutine. RTS.

I used colored pencil though. Highlighters were too big of a commit. Otherwise, yeah. Just start finding where program flow changes.

Structure just kind of happens! You are going along and insight hits. Early on, it hit over and over too. Small programs printed and in a binder became a sort of library. Examples, snippits, notes, tricks.

From there, one just peels back the onion. Loads, stores, program, data, math, compares as math...

Was very empowering frankly.

Also learned about the power of commenting.

Many attempts other peers and I did before checking out Lancaster, boiled down to literal descriptions.

   LDA sprite, X   'Load A with contents of address, plus X
   STA (screen), Y.  'Store A to address pointer, plus Y
The better way was to talk about what was happening!

   LDA sprite, X   'get sprite data
   STA (screen), Y.  'write to display
After a time, things like the Apple ROM listing made sense. Soon after that, our programs made sense to one another.

The other benefit of these two things combined was coding on paper. Thinking through printed out listings helped when writing programs out.

And often, I would start with an ORG statement, some EQU (equates) to define important values and addresses and then just write the comments.

If it reads well and each line contains one action, it translates into assembly language pretty well, maybe taking two or a few instructions. No big. Just work the problem a line at a time and before one knows it, a routine is done.

On the more fancy computers, we had sprites and sound chips. Writing values in places did a lot.

On the Apple 2 computers, there was none of that. But also pretty much everything needed software.

People made bits. Blitter, math, sounds, etc...

That simple (well, screen memory excepted) system, coupled with how Lancaster tended to think and communicate, proved effective. I left High School in the 80's basically fluent in 6809 and 6502 assembly and machine language and able to write non trivial programs, and or use them in tandem with high level languages to make applications.

I am not saying Lancaster's work was responsible. We all had magazines, teachers (who varied in what they could speak to), mentors, books and one another.

But, how he approached problems was a definite influence and I would argue a definite multiplier on progress.

Good times. Interesting character. Great influence.

Re:Don Lancaster's Guru's Lair Home Page by wglb on Wednesday March 03, 2021 @10:29AM (#26329586)
> Also learned about the power of commenting.

I was on a compiler team at Sycor writing a compiler that took a language like PL/M and produced 8085 code. It produced relocatable object files and a listing that was annotated with comments generated by the compiler. Additionally, the listing would include the number of CPU cycles each basic block. This was useful to the developers, who were all assembly language programmers getting used to writing in a higher-level language.

As they started to use the compiler they would often come to my desk pointing out incorrectly generated code. We would sit down and go through the code. Usually, about 3/4 of the way through the suspicious section, they would say "wait--this is correct. But the code is so wacky". We would point out that it is faster than a more standard way. Our boss would tell us "A compiler should generate code that an assembly language programmer should be fired for writing."

Re:Don Lancaster's Guru's Lair Home Page by ddingus on Wednesday March 03, 2021 @06:27PM (#26336328)
I generally agree with all of that.

The Lancaster way mentioned here is great for writing assembly code, and learning.

If one is maintaining assembly code, or authoring it, the derivative ideas remain solid today, particularly on smaller or simpler CPUs.

Re:Don Lancaster's Guru's Lair Home Page by ChuckMcM on Tuesday March 02, 2021 @07:44PM (#26323295)
And the amazing cheap video cookbook! Given that it uses the 6502 as a glorified state machine it is a good model for building FPGA based CRT controllers.
Re:Don Lancaster's Guru's Lair Home Page by koalahedron on Tuesday March 02, 2021 @08:00PM (#26323400)
I had that book too, I just recognized it when I looked it up. I don't remember it as well, but apparently it was the display circuitry only.
Re:Don Lancaster's Guru's Lair Home Page by ChuckMcM on Wednesday March 03, 2021 @10:54PM (#26338416)
I still have it on my bookcase, and I was not remembering correctly, it has only TTL type logic devices! So now I need to figure out which was the 6502 book.

Found it: https://www.tinaja.com/ebooks/socv1.pdf

"Son of Cheap Video" :-)

Re:Don Lancaster's Guru's Lair Home Page by koalahedron on Thursday March 04, 2021 @02:02PM (#26346624)
Thanks! I noticed "PAiA" electronics sold kits of these--I remember that name from back then. Did they sell parts or other kits? Looks like they are still in business.

Also noticed "Scungy Video" :) (Do NOT search for this term in your favorite search engine.)

Re:Don Lancaster's Guru's Lair Home Page by squarefoot on Tuesday March 02, 2021 @11:39PM (#26324824)
> he’s well known for his TTL Cookbook and CMOS Cookbook.

Those two books were my best purchases back in the day, they helped immensely to grasp the technology. I see they're now free for download at Don's page, and they're still relevant today. I would highly recommend them to all newcomers to electronics.

Re:Don Lancaster's Guru's Lair Home Page by ddingus on Wednesday March 03, 2021 @12:06AM (#26324984)
Seconded. And I am about to take a trip down memory lane. Good reference!