News for hackers. Stuff that matters.
Re:A Story about Symbolics Lisp Machines by RockyMcNuts on Tuesday September 22, 2015 @10:07AM (#10258633)
my bad lol ... was thinking 8088, Z80
Re:A Story about Symbolics Lisp Machines by protomyth on Tuesday September 22, 2015 @10:34AM (#10258806)
Yep, the Z80 was an 8-bit CPU, but the 8088 was regarded as a 16-bit CPU. It did have a 8-bit external data bus (the 8086 had 16-bit) to make it cheaper, but the register sizes and instructions were the same as the 8086.
Re:A Story about Symbolics Lisp Machines by dTal on Wednesday September 23, 2015 @11:33AM (#10265644)
It's not quite as straightforward as that with the Z80 either - it has 16 bit addressing, a few 16-bit registers (which can also be treated as two separate 8-bit registers), and instructions for manipulating 16-bit numbers. The 16-bit operations feel a bit like second-class citizens, which I suppose is why it's still regarded as an 8-bit CPU, but they are there.
Re:A Story about Symbolics Lisp Machines by JoeAltmaier on Tuesday September 22, 2015 @10:19AM (#10258706)
Hey, the 80186 was 8-bit, so maybe you were thinking of that?
Re:A Story about Symbolics Lisp Machines by protomyth on Tuesday September 22, 2015 @10:32AM (#10258792)
The 80186 was also a 16-bit chip with a 20-bit address (like the 8086).
Re:A Story about Symbolics Lisp Machines by JoeAltmaier on Tuesday September 22, 2015 @10:35AM (#10258819)
8-bit bus interface?
Re:A Story about Symbolics Lisp Machines by protomyth on Tuesday September 22, 2015 @10:44AM (#10258886)
The 8088, 80188 had 8-bit buses, but I haven't met anyone who claimed that made them 8-bit chips. Neither really affected programmers and it was a maneuver to make the chip a bit cheaper. The 68008 was the same way, and used in some Sinclair designs.
Re:A Story about Symbolics Lisp Machines by JoeAltmaier on Tuesday September 22, 2015 @10:49AM (#10258921)
Right, that makes sense.

Programmatically they were still 16-bit. But as an OS engineer, the 8-bit bus was very much evident when writing drivers, moving data, initializing memory etc.

Re:A Story about Symbolics Lisp Machines by protomyth on Tuesday September 22, 2015 @11:12AM (#10259079)
How would the code be different between the 8088 and 8086? The execution unit and internal bus are exactly the same between the chips. The only thing I can think of is that it took twice as long to write data out, but it was the exact same instructions. The prefetch queues were different sizes also.
Re:A Story about Symbolics Lisp Machines by JoeAltmaier on Tuesday September 22, 2015 @11:51AM (#10259370)
Driver writers care about latency, program DMA devices, set up memory factors (RAS/CAS, bank addresses etc) and bus width is visible there. Also atomic operations were done with bus-lock - a 16-bit update took two bus cycles! So the high and low parts could be non-atomically updated.
Re:A Story about Symbolics Lisp Machines by protomyth on Tuesday September 22, 2015 @01:04PM (#10259944)
Thanks. I wonder what Microsoft did for MS-DOS? I remember a few clones with 86's instead of 88's.
Re:A Story about Symbolics Lisp Machines by JoeAltmaier on Tuesday September 22, 2015 @03:11PM (#10260901)
DOS isn't an OS at all. The BIOS did the hardware-specific stuff, including the floppy driver(!) DOS was almost pure software services.

For cases where DOS had used an instruction that would change, Intel rolled over and crippled that instruction in 16-bit machines (at least for a while) so it would behave the same.