Thanks everyone for making this the #1 all time video on my channel in less than a week! I see so much enthusiasm for the Z80 and this series, and I'm super stoked to start rolling out the episodes. Stay tuned!
@slithymatt3 жыл бұрын
...and first video to reach 1000 likes! Thank you so much! My next Z80 video comes out Thursday, and I hope it lives up to this one for you. As for the ten of you who disliked it, remember you can always buy a Raspberry Pi 😎
@RufianEmbozado3 жыл бұрын
@@slithymatt It's a nice little platform for running a good Speccy emulator!
@DrDremelchausen3 жыл бұрын
Good vid bro
@alwaysnumb13 жыл бұрын
when u said you would be writing software for a z80 machine, i thought spectrum or a gameboy. glad its the speccy I been writing games in assembler for near 40 years on that system, cant wait to see wat you come up with.
@Milosz_Ostrow3 жыл бұрын
The Intel 4004 development wasn't driven by a desktop computer market, which didn't exist in 1970-1971. It was spurred by the need for compact, reliable microcontrollers at the core of things like traffic signal controllers, home appliances, and so on.
@flaviusnita60083 жыл бұрын
Thank You! Thank You! Thank You! I am 65. I use Z80 since beginning. All kind of apps. Right now I created an emulated version in a FPGA. It runs at 100MHz. Quick enough to do almost everything. I work in slot machines industry. Once I knew by heart all instruction codes. I built PCBs, maybe dozens of. I create my own assembler, on extended page mode memory mapping. I will never let it down. An amazing architecture!
@baremetal.engineer4353 жыл бұрын
Hi Flavious -- see my comment to Matt above... I'd like to hear from you too... !!
@stevencaskey85022 жыл бұрын
Learned to machine languahe program on the old Z80. This is fun to see.
@wayland71502 жыл бұрын
I used to do embedded programming for the company's Z80 products. The code I took over was written in assembler but I wrote new products in Avocet C. I did occasionally add inline assembler when say I found a CRC routine was too slow. Assembler seemed to be about 10 times as fast as C.
@flyguille2 жыл бұрын
I have a v9990 VDP that is mounted in a casino slot PCB. The ones before they shifted to native SVGA chips from PC world. It has 512KB VRAM!.
@justingoers2 жыл бұрын
Very cool. Thanks for sharing.
@weirdboyjim3 жыл бұрын
Z80 was the first assembler I ever learned. You never forget your first ;-)
@bennylofgren32083 жыл бұрын
True. Looking at a Z80 hex dump even today I can still disassemble probably 50% of it in my head... which is a bit scary considering I barely remember my own phone number these days. 🙄🙂
@edgeeffect3 жыл бұрын
Hi James, cool seeing you over here. I still remember hand assembling Z80 code in the back of my maths book and trying to get it running on our school's Research Machines 380Z. Wonderful days.
@weirdboyjim3 жыл бұрын
@@edgeeffect We had the 380Z's at school as well. Nice built in machine code debugging in those.
@timsmith25253 жыл бұрын
Me too. I loved the Z80, but it ruined me for learning 6502 assembler. Registers! I need registers! (And no, zero page is *not* like having 256 registers.)
@hanniffydinn60193 жыл бұрын
Mine was 6502. I feel it’s better. 🤯🤯🤯🤡🤡🤡🌍🌍🌍
@gnudarve3 жыл бұрын
Just finished a Z80 computer on a bread board. 32K ROM and 32K of RAM. My childhood dream has finally come true! It's running a Prime Sieve I coded in straight assembler at 1Mhz and I just love it!
@severs19663 жыл бұрын
I still have my copy of "Programming the Z80" by Rodnay Zaks, purchased in the early 80s. What a doorstop that is.
@HodgdonH1103 жыл бұрын
Wow I had that same book - might even be stored in my attic somewhere - thanks for reminding me - I'll be hunting for it tonite!
@davefb3 жыл бұрын
Think mine finally got binned a couple of decades back... Bah humbug.. That or its getting damp still in the attic. Awesome book.
@philliprevels56273 жыл бұрын
I loved that book. "Programming the Z80" That was the days. That was over 35 years ago
@baremetal.engineer4353 жыл бұрын
I have a pdf of it !!
@andrewdunbar8283 жыл бұрын
I might have kept mine when I sold all my other Spectrum stuff. I know I saw it in the TRS-80 Model I/III days, a couple of years before the Speccy.
@henrybest40573 жыл бұрын
Started on the Spectrum in about 1985. I taught myself assembly language and wrote a program that I was selling. It wasn't a game, but a program that allowed you to draw and print electronic circuit diagrams of unlimited length (as long as the roll of silver paper lasted). There was about 40K of fixed code and the remainder (about 8K) was available for the user to add more electronic symbols, ones that I hadn't supplied. Because of the specialised use, I only sold a few. I got some good write-ups in the hobby electronics press of the time, though. I'd include links to those, but they have my full name, address and 'phone number in them (they were written in 1989, a different time!).
@Mnnvint3 жыл бұрын
Do you still have the same address and phone number as in 1985 though?
@henrybest40573 жыл бұрын
@@Mnnvint I've lived here since 1989, when the articles were written. I've still got the same 'phone number I had in 1980 (at my previous address), but the area code has changed twice since then.
@paddycoleman14723 жыл бұрын
Thank you for saying “Zed X 80” etc. Much appreciated by a Brit who started out on a ZX81 back in 1982. 😉
@slithymatt3 жыл бұрын
Thus it shall be spake: The Zed-X Spectrum contains a Zee-80.
@paddycoleman14723 жыл бұрын
@@slithymatt Oooh Matt, in the UK it was a Zed-80 processor too! 😀
@slithymatt3 жыл бұрын
@@paddycoleman1472 this is why the League of Nations failed
@kevinslattery57483 жыл бұрын
@@slithymatt If Americans spoke properly they could have ended up with a decent society like in London...what...what 🤔 📢 X, y, zed!!! ZED ZED ZED ZED80 OK 😠
@slithymatt3 жыл бұрын
@@kevinslattery5748 WE LIVE IN A SOCIETY
@mac2309zzz3 жыл бұрын
My first experience of Z80 machine code was converting a BASIC routine that took about a minute to run. After many attempts resulting in crashes it finally ran but I thought it had crashed because it ran so fast (maybe a quarter of a second). I fail to see how anyone can claim to understand how a computer works unless you've sweated over some machine code!
@youreale3 жыл бұрын
Love it !!!! z80 sparked my career in programming. I remember as teenager writting a small program in assembly that stored 4 seconds of music taken from the ZX81 cassete port, and another program to reproduce it.
@robertleemeyer3 жыл бұрын
I built my first homebrew from a 8080A chip I found in a bargain bin at Radio Shack back in '79 (or thereabouts). Had to struggle through creating a dual-phase clock circuit because I couldn't find a 8224. Then discovered the Z80 with its built-in single-phase clock and DRAM refresh, and the world was my oyster! Bought a TRS-80 which got me through college, while working at an insurance company which had a fancy 5-card Z80 MP/M system (1 master, 4 slaves), writing assembly and BASIC and DBASE II programs. After 40 years, the Z80 is still my favorite chip!
@xflyingtiger3 жыл бұрын
I just finished Federico Faggin's book Silicone. A truly awesome read. I learned so much about the history of Silicone Valley and computes. Being born in 1950, I had the opportunity to own and use a lot of the machines referred to in your video.
@HodgdonH1103 жыл бұрын
Back in 1980/81 in the UK a company called NASCOM had a kit computer - Z80 processor, 1K RAM, UHF modulator for B/W TV - optional Basic module on EPROM but I didn''t buy - wanted to program in machine code (store owner said "ah your one of those machine code masochists eh?" lol). That kit put me into computing - at the time I was a Tool and Die Maker - finally led me to become a robotics engineer here the USA. Thanks for video, I've subscribed ready for more - brought back GREAT memories of the CPU that 'educated' me!!
@JohnPretto3 жыл бұрын
I still have my Z80 microcomputer I built in college in the mid 80's. JPNZ - "Jump if NOT ZERO" was my favorite assembly command.
@MichaelFJ19693 жыл бұрын
Oh, those 8-bit days
@mrhickman533 жыл бұрын
This brings back fun memories. My exposure to the Z80 was through a Northstar S-100 computer kit I assembled in the early '80's. That machine was used in my product development activities for well over 10 years.
@rickhunt31832 жыл бұрын
haven't heard the name Northstar in a long time. if my memory serves me correct those computers were wooden, or the cases were...wow do I feel old.
@mrhickman532 жыл бұрын
@@rickhunt3183 The covers were wood while the frame was stamped metal. The original name for Northstar was "Kentucky Fried Computers" if I am not mistaken. Someone can probably clear up that lore. They were an early adopter of the 5-1/4in floppy. My machine had two. I purchased a 64k-byte memory board for over $300 at the time and whimpered when I had to disable the top 8k for the boot rom.
@joinedupjon3 жыл бұрын
I was using an Amstrad PCW into the 90s it was a brilliant piece of value engineering really.
@dindu423 жыл бұрын
My first ever assembler code was on a Spectrum - yah !
@lexxynubbers3 жыл бұрын
I started my IT career on a Sinclair Spectrum. I got partway through a version of asteroids for the Spectrum before I got distracted by other things. One thing that strikes me is that I learned everything that I needed to know about assembler on the Spectrum from a couple of small paperback books, both about 1/2" thick. Nowadays, any new technology requires a bookshelf and tens or hundreds of hours of tutorial videos.
@wayland71502 жыл бұрын
This is why AI is so popular these days. Computers are too complex for humans to program. Need not be the case which is why revisiting the olden days is valuable. There is an Australian computer called the Marmite or Vegimite or something which uses a powerful embedded style CPU with a screen + keyboard + Basic interpreter that runs 20 times as fast as a C=64. The advantage of developing on this is there is no compiling and downloading. You EDIT the line then type RUN, just like on Home Computers.
@SteelHorseRider74 Жыл бұрын
imagine the rubber keyboard - what hard blokes we were back in the 80's, taking that for given, not worrying about bad ergonomics at all... ;)
@peterf463 жыл бұрын
Wow, how did KZbin know I wanted to see this?! 35 years since I learnt Z80 machine code programming and I can still remember load A was 3E
@minties013 жыл бұрын
As an Australian, the Microbee series of computers were my first introduction to Z80 programming. I loved having a professor in university who had written a text on Z80 assembler insisting that no-one can just write in assembler and run successfully first time. Lots of pride when his first assignment for me was done in one sitting and ran perfectly first time. I wish all the rest of my programming was that successful...
@owenvinall99703 жыл бұрын
My first was a Microbee 32k. Upgraded the Rpm to Ram by pulling out 2 of the Rom Chips and replacing them with pin compatible Ram chips. Ran a write Enable wire to the previously to these now Ram chips so I could write to them. Grabbed a DreamDisk Controller. Soldered a 50 pin socket on the Bee motherboard and crimped 2 Idc Crimp sockets onto either end using a vice. Was not pretty but it worked. Connected the Dream Controller to 1 end of the 50 way and plugged in its ROM to the Bee. PS was a modified 12 Volt battery charger. Also connected up my 3.5 Floppy to the controller and booted up. Aquired CP/M disks and I was up and running with Wordstar etc. I was in heaven.
@BruceHoult3 жыл бұрын
Don't forget Dick Smith System 80 -- TRS80 clone. But I always preferred 6502. The Z80 has all those extra registers, but using them effectively is more difficult than using 6502's much more spacious Zero Page and at CPU MHz and RAM speeds of the day didn't offer any more performance. Z80 has ldir/lddr but those are one-trick ponies -- and at 21 cycles per byte copied vs 14 for 6502 "LDA ,X;STA ,X; INX; BNE" a Z80 at the typically twice the clock speed was only 33% faster for block copy, and typically worse for almost anything else.
@andrew14793 жыл бұрын
The Sequential Prophet 5, Prophet 2000, and EMU's Emulator sampler and synth keyboards all used the Z80 too.
@MuzixMaker3 жыл бұрын
Awesome axes built on an awesome uP.
@dale116dot73 жыл бұрын
And almost all Lexicon reverbs.
@MuzixMaker3 жыл бұрын
@@dale116dot7 they were doing DSP with a Z80?
@dale116dot73 жыл бұрын
@@MuzixMaker No, the Z80 was used for the UI, LFO generation, and pitch detection. They used various custom DSP solutions to process the audio. The Lexicon 200 was mostly 74LS and F logic to make a DSP. Later versions used an ASIC.
@MuzixMaker3 жыл бұрын
@@dale116dot7 right, I would have been duly impressed if the Z80 was gong FFT!
@heinrichberger39083 жыл бұрын
Thanks a lot for supporting the ZX Spectrum next! I joined the Issue 2 kickstarter campain and looking forward to receive the hardware in August. My plan is to write Z80 assembler programs on this machine, so your tutorial comes right in time.
@safiudeen8 ай бұрын
Thank you for the history information on Z80 ptocessor. I learned my initial assembler language on the Z80 processor and utilized a z80 computer to master my first programming language, Pascal. The computer's operating system was UGC Passcal, and the entire operating system, along with our Pascal programming codes, was stored on a 400kB floppy disk. I am proud to have utilized the z80 8-bit processor to learn computer programming.
@warrenmacdonald13723 жыл бұрын
Thank you Matt. First class presentation. My first m/c was the Sinclair ZX81 with a CAI interface that fit in the memory expansion slot. Besides attaching a 48K Memtek expansion card, it would also run a 40 column dot matrix ceramic head thermal printer, plus 1 more port for a 56K baud stringy floppy magnetic tape cartridge storage device for large datasets that programs such as VuCalxc produced ( the DIM command saved the whole area on tape, even if only 1 spot was used of that Dimension Area, so large arrays would take forevcer to load from cassette at 250 baud, but loaded quite quickly with the stringy floppy ). Looking forward to your future endeavours.
@robertcohen18883 жыл бұрын
This was such a wonderful walk through the very beginning’s of my technology career. I had a professor in college that was building the Imsai 8080 and I helped him with that.
@slithymatt3 жыл бұрын
That's really cool!
@wcg663 жыл бұрын
I bought the Sinclair ZX 80 when I was a teen in Canada when it came out. Ordered it direct. It was kind of useless but I used it all the time. Also worth mentioning is the CPM 80 add in card for Apple II computers that used a Z80 and let you run CPM An OS very much like DOS. I had one and used it to run Wordstar!
@wayland71502 жыл бұрын
It's funny how all home computers of the time were useless as they came. Exception being the TRS-80 with it's screen and disk drives. Unless you can save files to disk and have enough room on the screen to preview a printout they were not practical for business. They left out the disk drives and screen because those were the parts that made it too expensive.
@antondovydaitis22613 жыл бұрын
I remember the first computer within my young budget that I actually tested on a show room floor was a Bally. You entered code using a Pong controller to select characters or keywords by turning the knob and hitting the fire button. Files were saved to a cassette tape. No keyboard. I had a Sinclair, and a Commodore 64, but my first "real" computer was an S-100 bus based CP/M machine with two dual sided quadruple density hard sectored 8" floppy disk drives. While the original CPU was a Z-80, it had a Motorola 68000 daughter board using the pin outs of the Z-80 to make the Z-80's mother board a disk and I/O controller for the 68K daughter board which did the real work. I used to be able to hand code machine language for 8080, Z-80, 6502, and 6800, and wrote my own assemblers for all these. I am not convinced that modern computing power is necessarily a good thing. Most of what computers do is far removed from the purposes of the users, and machines are easily corrupted. I sometimes think we'd be better served by slower, more reliable, special purpose computers which did a specific suite of tasks well, and would be harder to spoof without being detected. I sometimes suspect that ubiquitous massive general purpose computing is a dangerous dead end.
@mikeh77043 жыл бұрын
Thank you for the trip down memory lane. I remember learning BASIC and assembly language on a Z-80 kit computer (the Dick Smith Super-80 if there's anyone out there who knows of it). Looking forward to more videos in the series 👍
@neilf10592 жыл бұрын
I built one of those way back when living in Brisbane and the User Group there had the author of the Basic interpreter as a member, Very handy!
@OfficialMGMusic3 жыл бұрын
at 11:24 I hoped you to say "TI-83+"... That thing taught me programming, first in Basic and then in Z80 assembler. I still remember writing my subroutines on paper, hand-assembling them using the book by Rodnay Zaks and typing the hex code into the calculator. Shortly afterwards, the Axe Compiler was released, making game programming a pure joy on the device. Good times :)
@rickshear4953 жыл бұрын
I am so looking forward to this series! I would have loved to have seen you pick the TRS-80 as your platform for the series. It has a very active community (watch the trs trash talk series here on youtube), Fantastic emulator with debug capability (TRSgp), and the hardware is still pretty easily available if someone chose. On a side note, the TRS-80 model 4 you had in your video was actually a portable model 4P and no model 4 variant had 8" floppy drives. They were all 5 1/4". The Model II, 12, 16, and 6000 were 8" drive machines. Thank you for producing this series, I so look forward to viewing it.
@klave85113 жыл бұрын
TI 84 plus seems like a good platform. 15Mhz Z80, low cost, very common since it’s used in schools, assembler, Basic etc already handy. Built in screen and lots of user support already. Tons of games and it has a built in calculator.
@nilsh50273 жыл бұрын
My thoughts exactly. At 11:28 I was fully expecting him to reveal a TI-83 or 84
@SuperHamsterGaming2 жыл бұрын
TI calculators were my first thought too.
@Tomlinsky3 жыл бұрын
Good choice. The Spectrum is a perfect platform for Z80 learning/experimentation. Simple I/O and memory layout (with a few simple tricks for video addressing).
@Mike40M10 ай бұрын
Stumbled on this video. Reminds me of the seventies when I started designing embedded systems. Reason I used Z80 instead of 8080 was that it needed only one voltage supply. 8080 had three. Wire wrapped a system with 4k SRAM and 2k EPROM. For half of the EPROM I wrote a rudimentary assembler translating mnemonics to machine code. Used to learn students how to control a couple of pneumatic cylinders.
@toomanyhobbies20113 жыл бұрын
Thank you for this series, brings back memories. We used a Z180 at the first computer company I worked at in 1994. It was obsolete at that time, but we could still buy them. When supplies started dwindling, we worked with the 386EX, then created the Rabbit 2000. It was a great learning experience, that Z80 architecture was simple and yet powerful. Moved to another company and worked with Motorola's flat memory model, then Coldfire, PIC, ARM, ... All embedded systems. These days very few programmers even work with the processors.
@nockieboy3 жыл бұрын
So pleased you mentioned my first computer, the Amstrad! Over here in the UK it rarely gets a mention because it came out after the Spectrum and Commodores got a death grip on the market, despite being better than both. *ducks and runs for cover* 😂
@wayland71502 жыл бұрын
Yes it was better. However it was not better at running Spectrum games unless the developers took the trouble to make it fit the Amstrad properly. I don't think the CPC 464 knew what it wanted to be. It was well equipped like a business machine but with a tape drive, doh! For a games machine they should have tried harder with the graphics chip. The BBC Micro was smart because they left empty ROM sockets where you could add business applications. Instantly start your Word Processor.
@SianaGearz3 жыл бұрын
My first computer was handmade by me and some relatives and friends of my parents, it was a Leningrad 48k. A ZX Spectrum clone made from a Z80 and small-scale integrated circuits, without the Ferranti ULA. The Gameboy CPU contains a number of oddities. I think the reset vector is nothing like either of the CPUs it's derived from.
@PebblesChan3 жыл бұрын
Use the Australian Microbee as your development platform! It evolved from an S100 bus computer made mainly from readily available penny logic. It can emulate many machines from TRS-80, ZX Spectrum, MSX computers, Exidy Sorcerer and some commercial arcade machines. Note that the Z80 actually uses a 4 bit accumulator which unfortunately lead to variable length execution times that complicates interfacing with shared video RAM.
@tonysouthern30173 жыл бұрын
Wow, another microbee user! I couldn’t afford one, so I got hold of the circuit diagram of the bee, and made my own using wire wrap technology, cloning the eprom from a mates real one. . Even built the floppy drive and colour video interfaces. Taught me so much. Wish I had kept it...
@Fudmottin3 жыл бұрын
The first computer I ever got to program on was a Cromemco Z2D S-100 bus based system with the Z80 and 64KB of RAM. It ran a CP/M derived operating system called CDOS. It had a 32K Structured Basic interpreter. Naturally there was an assembler too. The computer also ran WordStar, an early word processing program. My dad also wrote a C compiler for it based on the 1978 K&R specification. One of the fun things I did (ha!) was manually type in the code for a terminal program for a Hayes S-100 modem in 8080 assembler. That was then translated by a program into Z80 assembler before assembling and linking. That all took about a week to do.
@terrydaktyllus13203 жыл бұрын
I entered the telecoms industry here in the UK back in 1982 and had three years of college day release doing a HNC qualification in telecoms-appropriate topics including assembly programming - the first computer system I was ever exposed to was the Sinclair ZX Spectrum at home and a Z80 machine code programming platform in college. My cousin and I both worked in the same building, both had Spectrums (as did many people at the time) and we formed a Spectrum computer club while there. He and I spent more time cracking game protections so that we could copy the games amongst the club members rather than actually playing the games! Almost 40 years later, I am still a "techie" working for a telecoms company, but have spent decades with UNIX and Linux and now work in cybersecurity on Linux-based call centre servers of many types. I also spent a couple of years in the late 80's being the sysadmin on a DEC PDP-11 server running RSX-11 that generated call centre reports for one of our customers. I still thoroughly enjoy what I do, and it was all thanks to the humble ZX Spectrum and Z80 CPU - those these days it's more BASH and Python rather than assembly programming.
@ygygygyyify3 жыл бұрын
The Spectrum +2 was my first computer and it got me into assembly language. Which I guess set my future career direction. Lots of fun to be had.
@Lord_Legolas_Greenleaf3 жыл бұрын
Robert Greyell was my professor and I was his Teachers Assistant. We started with the 6502 (AIM-65 with many of the peripherals), then the 8080, 8086 and Z80 and finishing off with the 8048. We learned everything from internal architecture's, system integration, instruction sets, machine coding (with dip switches), assembly, etc. Our final 'project' was to design and prototype (wire wrap) a Z80 micro computer with four 7 seg displays lol I had this weird idea that the M1 and a couple of other signals could be gated to 'exclusively' access program data/ROM (Op code fetch), but knew an in depth analysis of the instruction set as well as 'guided coding' could/should be able to accomplish this... But was never able to test it. That should also be able to accomplish with an 8255... But then you would need to make a sub for memory management which can be virtually impossible on a non dedicated system.
@gasparinizuzzurro63063 жыл бұрын
worked in assembler on both 6502 and z80. Video like those make me extremely nostalgic and sad. Ah, those good old days.
@vasilis234563 жыл бұрын
This seems interesting. My first assembly language was Z80 for the TI-84 Plus. Pretty much every student has one, and there are a lot of resources online. The TI-84 also uses interrupts, DMA, and ports so it's great for learning the different ways the CPU interacts with other hardware.
@ColdestMoon_Channel3 жыл бұрын
Excellent stuff Matt, really looking forward to this series. The ZX Spectrum was what i cut my teeth on programming as a youngster, it provided hours of enjoyment and learning. And nearly 4 decades on - im still learning. Take care Dan
@NONFamers2 жыл бұрын
Great idea for a series! Some of the last assembly programming I did on my ZX Spectrum back in 1986-1987 was a real-time clock with hour, minute and second hands. I had fun optimizing the accuracy of the clock by tweaking the code to get the timing right, and I learned a lot during this experience. Sadly, neither my ZX Spectrum or the programs I wrote for it has survived until today.
@gabrielm48503 жыл бұрын
I used Spectrum Sinclair since 1984 while I was in University. Did a lot of programs that some were running for more than half an hour to get the results. Yet was much better than running to the IBM mainframe and punching cards in Fortran. Later on learned assembler and that opened a new world in that little box. Three years ago I bought and fixed an old one for fun. I still believe it was a great affordable machine. So let's Peek and Poke.
@nukiepoo2 жыл бұрын
I had aTimex Sinclair back in the early eighties. Had a lot of fun with it. Fun to see it mentioned here
@andrewdunbar8283 жыл бұрын
Wow the most accurate explanation of the GameBoy CPU I've heard so far. I suspect it was people in the hacking/cracking/demo/homebrew scene who started calling the GameBoy CPU a Z80 since there wasn't much comparable scene with young bedroom coders around the 8-bit Intel machines.
@bluedragon219123 Жыл бұрын
I was wondering how Federico Faggin last name was pronounced. Great Job! :)
@RamblinRick_3 жыл бұрын
Interesting video about the history of the first computer systems. I assembled my first computer in 1976, the SWTPC 6800; soldered pin-by-pin to the circuit boards with 4k RAM. I still have that computer. It used the Motorola 6800 MPU. Thankfully, I'm a programmer, so I was able to write the device drivers (in Assembler) I needed for my peripherals, including a Heathkit H14 Dot Matrix printer (also assembled by me)
@slithymatt3 жыл бұрын
That is really cool! Does it still run?
@RamblinRick_3 жыл бұрын
@@slithymatt Yes, it still runs. I wrote my own BIOS for it and burned it to an EPROM to make life a bit easier. Added a Percom floppy disc drive (10-sectors, hard). Modified the BASIC interpreter and Assembler to read data from the drive instead of the cassette tape player. Bought a video board, and wrote the device driver for that as well. Good time. Good times.
@slithymatt3 жыл бұрын
@@RamblinRick_ that is really impressive
@RamblinRick_3 жыл бұрын
@@slithymatt thank you
@SpeccyMan3 жыл бұрын
Two more British home computers that featured a Z80 CPU were the Memotech MTX 500 & 512 machines and the Jupiter Ace which used Forth instead of BASIC as its programming environment. I started out with a Sinclair ZX81 (with a 16k add-on RAM expansion by Memotech) and then a ZX Spectrum. I've recently returned to my Z80 roots (after messing about a lot with PIC, AVR and ARM microcontrollers) with the recent purchase of a Z80-MBC2. The Z80 has always been a great processor for me and I'm looking forward to coding in Z80 assembler again.
@spacecadet353 жыл бұрын
From the back in the day when you had to do REALLY efficient programming. My mate wrote a Space Invaders program for the ZX81. In 1 kilobyte of memory he managed to get 40 enemy ships, three forts, all the missiles, a scorer and a high score. I did a word based D&D program on a 1980s Pocket Computer. It had 100 rooms, a boss level, seven types of monsters, treasure and two combat options. I managed to squeeze all of that into 1kB.
@kensmith5694 Жыл бұрын
Waaaaaaaaay back when I did a "Star Trek" game on the ZX80. The ZX80 was able to fit a bit more basic into the RAM because the numbers took less space. Some day, I may recreate the thing. I know the code was on a tape but I doubt the thing would still read.
@Bawdsey642 жыл бұрын
Hi Matt I found this an interesting video that brought back a lot of good memories for me. From 1969 to 1974 I worked at Motorola Semiconductor, out of the London Sales office. In 1973 we had an industrial group workshop in Geneva Switzerland where we were told about the Motorola 6800 processor. The other memorable event at that meeting was having steaks that were cooked in a skillet that had been used to cook the previous fish course. I was one of the 4 person management team that set up the London office for Cramer Electronics in the UK in 1975 with the sixth Motorola franchise in the UK. Our boss had been instrumental in giving out the other 5 franchises whilst running the UK for Motorola. My job was sales & marketing and in the first 6 months, we did £75,000 of sales from ground zero. Then in about May 1975, Motorola announced that the M6800 was going to be sold via the distribution channel and all six franchises were asked how many microprocessor evaluation kits they were going to order. Cramer UK lead the way, we ordered 100 whilst the others ordered between 0 and 6 each. When I queried our large commitment with Dave the boss he said he was confident that I would sell them. To which I replied, what happens if we don’t sell them. His reply was along the lines that he who commits gets all the support and if they don’t sell then they get returned when we did our 6 monthly stock return. Well, they did sell because in the second half of the year our sales were £750,000.00 which included kits, development systems and TI 733 Terminals plus plenty of referrals and support from Motorola. As we were part of Cramer Electronics, out of Boston Mass, and at that time they were the second-largest electronics distribution company in the USA so we had access to Intel products. But that suddenly changed when Cramer Italia starts to compete against Intel in the Italian market with imported Intel products from the USA. At Cramer UK we were negotiating with Intel to be a franchised distributor in the UK, that negotiation suddenly died thanks to the Italians. Back in the 1970s, we did not have the internet to find new products but various electronic publications which I used to read avidly and I came across Zilog in 1976 I went out to Cupertino for a training course and Cramer UK became the Zilog distributor. We had a press launch at a London Airport where I had the pleasure of introducing Federico Faggin, Ralph Ungermann and Charlie Bass to the UK press and Cramer’s customers. I cannot remember what Charlie Bass’s job was but I know he was very senior and important. A time that I look back on with pleasure and pride.
@kensmith5694 Жыл бұрын
I still have a ZX80 that most likely still works. Chances are in some box, I also have the 16KByte expansion RAM I built for it. You could do quite a lot with a ZX80. Some people made maze solving "mice" based on them. The thing about the ZX80 that allowed a lot of this was the fact that the whole bus came out on the expansion connector.
@MeandrLixy3 жыл бұрын
One thing about ZX Spectrum which is well-hated (and loved!) is non-linear video memory layout. It is just exchange of two groups of 3 bits (lowest in high byte and upper in low byte of address), but it makes possible for video system to quickly extract two bytes of bitmap data and color data (so called DRAM burst mode). Also sublayout was choosen to simplify character transfer to the screen - incrementing high byte of address consequently iterates through bitmap stripes of single character. So... they not only implemented Z80 in FPGA, but uprgades it with new instructions two of which simply implements putPixel algo. :D (one translates x,y to address in videoram and other creates bit pattern to point to specific pixel in stipe. Hell, yeah! :D However many oldschool bisons see this as heresy and unworthy cheating. :D
@joeysartain6056 Жыл бұрын
The Timex Sinclair 1000 was the first computer produced by Timex Sinclair. My first computer. It made use of peeking and poking to access hardware. Basic instructions I have missed ever since as no other basic interpreters I used across the years ever included them in their programming language.
@slithymatt Жыл бұрын
Peek and poke are pretty standard for most BASICs. Are there other instructions you're referring to?
@michaelcrisp5623 жыл бұрын
Great intro to the z80. Brings back memories of long nights building my own z80 design on veroboard. Graphics card, eeprom programmer, tape modem. Must break it out of the attic to see if it still boots. Will be watching your Chanel with great interest. Oh I still have a Roland Jupiter 8 synthesiser. This also used a Z80 and powered the 80s electronic music revolution.
@michaellosh18513 жыл бұрын
Lots of great computers used the Z-80. Lots of products also used as an embedded CPU or controller using the later integrated versions. Looking forward to this series!
@kins7492 жыл бұрын
As someone who grew up in the UK in th 80s with a Spectrum - CAN'T WAIT FOR THIS SERIES!!!!!!
@slithymatt2 жыл бұрын
No need to wait! I have 11 episodes already on my channel, and #12 coming soon!
@kins7492 жыл бұрын
@@slithymatt Seen them already, but waiting for more....
@mixit723 жыл бұрын
Can't wait for this, I've been thoroughly enjoying the 65C02 series. I've actually just bought a second hand ZX Spectrum +2A to try and recapture some of my childhood. I started writing games in basic at the age of 10 back when the Spectrum launched but Assembly always seemed so complex and in the days without KZbin I didn't stand a chance. The most baffling thing about the Spectrum was always the crazy way the screen memory was laid out with it divide into 3 horizonal sections of 64 lines but even these were addressed every 8th line at a time. This meant changing byte values to put a sprite on the screen was a nightmare, or at least it seemed so back then.
@wayland71502 жыл бұрын
I'm thinking of firing up my Dragon 32, I've been running the XRoar emulator and typing in BASIC programs by hand. I did Mandelbrot today. I would recommend one of those new devices that loads and saves files to SD card. I think all the retro home computers have them now.
@Maxxarcade3 жыл бұрын
Namco used 3 Z80's in some of their arcade games, most notably Galaga and Dig Dug. Pole Position stepped it up even more, with a Z80 and a pair of Z8002's. That must have been a lot of work to program! The Z80 was definitely one of the most widespread embedded CPU's, and it still lives on today with higher clock speed and smaller packaging.
@benjaminscherrey11243 жыл бұрын
Looking forward with what you come up with! Got familiar with the Z80 thanks to TRS-80s and ZX-81s that my friends/schools had. I was initially a 6502 hacker thanks to the Apple ][ but really fell in love with the 6809 when I saw its beautiful ISA. Hopefully one day you'll get around to the 6809 after Ziglog gets its fair share of attention. 😎
@ZedaZ803 жыл бұрын
I'm still doing a lot of Z80 programming! My most recent sub-project was writing binary32 float routines 😎 (Part of a larger project that has 80-bit, 24-bit, and another 32-bit format, hopefully with binary64 and maybe some base-10 floats in the future)
@slithymatt3 жыл бұрын
It would be interesting to see how well a Z80 could do double-precision floating point. I know the answer will be "not very", but how bad compared to other 8-bit integer-only CPUs?
@ZedaZ803 жыл бұрын
At the moment I'm faking double precision by wrapping it in the extended precision routines which are pretty decent speed-wise. On the TI-83+/84+, they are far faster than TI-OS's floats (14 digits BCD, versus ~19 digits for the extended precision floats). Multiplication is around 9500cc, so about 630 multiplication per second at 6MHz
@ZedaZ803 жыл бұрын
Erp, I accidentally a sentence. I'm not sure how it compares to other systems (I know comparing clock cycles is sometimes an apples-to-oranges comparison).
@slithymatt3 жыл бұрын
@@ZedaZ80 Clock cycle comparisons are pretty good for comparisons, so it can be oranges-to-oranges, where you have different sized oranges and some of them are peeled on one side, to belabor the metaphor
@rich4rd-b3 жыл бұрын
Still use a Z80 to this day in a 2 post car lift, just to keep 2 motors in sync so both sides go up and down. Started with a MSX though actually still have it somewhere in storage.
@thenormanfair3 жыл бұрын
One of the earliest programming classes I took in college included assembley language for the TRS 80. I still have the rather thick book from Radio Shack.
@slithymatt3 жыл бұрын
Very cool! Could you post the ISBN number?
@thenormanfair3 жыл бұрын
@@slithymatt 0-89588-047-4
@jakeb.29903 жыл бұрын
In Europe the Spectrum coexisted in the 80s with Commodore and Amstrad (and some other minor platforms). I had a C64 and my best friend had a ZX Spectrum 48K (later a plus, plus2). Some weekends we swapped machines to try them out and do small projects. I used to love Spectrum's graph primitives right in the BASIC, but it was so slow. I studied 6502 machine code, never studied the z80 enough to do anything practical. Good memories.
@lintelle23823 жыл бұрын
We programmed 6800s at DeVry in Phoenix in 1980 using a hex key pad. didn't realize how brutal that was until getting my first job that required coding micro-Ps. got to use an IBM XT assembler with a Z80 emulator. Heaven on earth!
@kbgexplores3 жыл бұрын
Motorola used the Z80 processor in its Electronic Mobile Exchange (EMX) 250 and 500 range of Cellular infrastructure switches which connected all the base stations and connected to the land network that ran the AMPS and TACs networks in the US and Europe in the pre GSM days. From memory it had 3 seperate computing complexes that were interconnected by high speed ( probably 128Kbits/second) links, each of these complexes had two processing cards that would run in active/standby mode. I cannot remember the exact amount of memory but it was banked/paged so that you could change to different pages of memory. A 3active+3standby CPU distributed system running at 4 Mhz, communicating with other switches all written in MPL (motorola programming language) which was a simple pascal like language, but all critical parts of the system will written in Z80 assembly. The software image was loaded off computer tape, and it was possibly to live patch the cpus, find an empty space in memory, hand input a stream of machine code ( make double sure to have the return instruction or jmp back to the right place and then manually add a call or jump instruction into the running codestream to divert to the patch -- talk about an adreneline rush for a young software engineer to have tested this in the lab but then to have to go onsite to where one of these switches was located and do it on the running system with actual cell phone calls being processed! When it came time to add SS7 (phone signalling protocol), a 68000? was added as a fourth processing node to handle the SS7 signalling. Cellnet in the UK ran its first mobile network on these switches, from memory there were 20+ of switches deployed the UK, interconnected together for control plane messaging by 64kbits/s links and using the PSTN E1 trunks to pass voice traffic between the switches and to connected to the landline PSTN network
@enilenis3 жыл бұрын
I remember seeing Altair 8800 in an astronomy club in the early 90's. I don't think anyone knew how to operate it. It was more of a museum piece, but functional.
@darrenchapman72033 жыл бұрын
The tec1 was a kit computer based around the Z80, the kit was produced by Talking electronics, very simple with lots of add on boards programmable directly via a hexadecimal key pad, spent many hours programming as a teenager.
@Spacedog493 жыл бұрын
I loved the Z80 and CP/M. I developed Z80 based industrial products on the Zilog Development System serial#4 from 1977-1985.
@vladimir66cz453 жыл бұрын
I repaired these computers with the Z80 (1987-1989) oldcomputer.info/8bit/robo1715/index.htm
@JamieStuff3 жыл бұрын
You showed a picture of the TRS-80 Model II and said the Model 4. I learned Z-80 Assembly on my Model I, and later ran CP/M on my Model 4. Good times.
@silverdragonheart3 жыл бұрын
The ZX Spectrum 48K was my first computer and I still have it, although it sadly doesn't work any more but I do have a working ZX Spectrum + with a currah speech synthesizer which plugged into the edge connector and allowed you to make the speccy speak using simple basic commands, LET s="Hello World", I think, the only problem was it spoke phonetically so you had to use special notation to get it to pronounce the words correctly, I remember getting it to sing happy birthday to a friend.
@joaltman3610 ай бұрын
The other processor from around the same time was the Motorola 6800, and then 6809. The 6809 did not have the issues of the 8080.
@TrevorMakes Жыл бұрын
I wrote out a very similar script for a breadboard Z80 video series, but decided to cut it and skip straight to building and coding. Really interesting history, especially the parallels between Intel/Zilog and Motorola/MOS with disgruntled engineers leaving to build successful competitors, but ultimately with the big corps winning out in 16-bit and beyond. I loved Faggin's book as well, even the bits at the end about quantum physics and consciousness.
@andrewnorcross94863 жыл бұрын
OK, you've got a new sunscription. My ZX Spectrum is still in the loft. I have no idea if it still works and unfortuately I upgraded the keyboard so it doesn't have original look. I also learnt my first programming lanugages on the spectrum, Sinclair basic and assembly language, as I'm still learning my living as a developer, it could be said the Specrtum was a wise investment all those years ago. Anyway, it'll be interesting to see how much I can remember of the assembly language as it's a long time since I have done any coding in it.
@DavidvanDeijk3 жыл бұрын
subscribed in hopes of more Z80. I was a professional Z80 developer for the Ti83+ series made a few games and apps, but that was almost 20 years ago
@stupossibleify3 жыл бұрын
I thought I knew a lot about the Z80, but learnt so much more. Thank you. And thank you for pronouncing it Zed-X Spectrum! Also, please watch the "Micro Men" film here on KZbin about the rivalry between Acorn and Clive Sinclair
@slithymatt3 жыл бұрын
I've seen Micro Men - really good film! Much better than the American counterpart "Pirates of Silicon Valley"
@johnwest79932 жыл бұрын
I think I still have some of those. I should probably use them in throwback projects.
@jeffmcmu3 жыл бұрын
The Commodore 128 computer primarily ran with an 8502 chip, however it did include a Zilog Z-80 CPU to run fully CPM compatible software like Turbo Pascal and Wordstar. It was a cheap computer but it wasn't bad for some of the software it could run.
@mthraves3 жыл бұрын
I first encountered Z-80 Assembler on a Sharp MZ80K back in 1980, it was my first computer.
@Syncopator3 жыл бұрын
The Z80 machine I lusted after back then was the Exidy Sorcerer. Never got one tho.
@gnudarve3 жыл бұрын
I mowed lawns for 3 years in order to buy an Exidy Sorcerer back in the early 80s! I wrote some machine code for it along with a lot of Basic games, including a cool graphic version of Star Trek. I'll never forget how much fun that thing was, it had RAM based fonts and by animating those fonts and managing them just right you could emulate high res graphics with it. There was a company in Australia that published a graphics engine using that trick. Man I miss that little beauty. I gave it to a friend of mine when I went off to college. Wish I could load up some of those old games one more time, it was just best. Cast a spell!
@Syncopator3 жыл бұрын
@@gnudarve Yeah, the programmable fonts was why I wanted it. I had created an integer-only version of APL on CP/M on an 8080 and wanted the ability to have the proper symbols for the language.
@EngineeringVignettes3 жыл бұрын
Looks like an interesting new project, looking forward to it. An interesting point for the Z-80 is that it is still available to purchase in its original 40-pin package, though speeds up to 20 MHz make it a bit speedier. A part not mentioned in this intro is the other vertical market of (non-gaming) embedded devices. I was using an embedded z-80 microcontroller, made by Z-World, back in the mid- 90's for a project. The additional of a DRAM refresher cannot be underestimated, this was a critical factor in it's acceptance as a core component of a low cost home computer. As an example, the C-64 had to offload the DRAM refresh to the VIC-II chip, making it even more of a headache to get right at MOS (ask Bil Herd about that :) ). The simple MMU also expanded the memory space beyond the 64K limit... the embedded version I used allowed 4K paging of RAM that was handled by the C Compiler. Have you also heard about the kit project using the Z-80? Grant Searle's RC2014 project has been out for a while but it's massively modular and there are quite a few boards out for it on Tindie and other sites. Cheers,
@slithymatt3 жыл бұрын
I've heard of the RC2014, but I don't know much about it. And going into the embedded uses of Z80 outside of gaming would have been huge, not to mention new systems using the eZ80
@johanmyreen10273 жыл бұрын
One minor nit: the 8080 emulator Paul Allen had written was running on a PDP-10, not a PDP-11. Despite their similar model numbers the machines are quite different: the PDP-11 is a 16-bit minicomputer, while the PDP-10 is a 36-bit mainframe computer.
@vcv65603 жыл бұрын
I caught that too, but his point - that the emulator and subsequent interpreter running the first time on real HW is quite an achievement. Paul Allan wrote that 8080 emulator, truly the Idea Man (title of his book).
@colonelbarker3 жыл бұрын
I'm excited for this series, I'm kinda putting off learning the Commander X16 until it looks like there's a good chance I will get one. You're tempting me to buy a speccy now.
@lesliefranklin18703 жыл бұрын
I put together an IMSAI 8080 as a kit in the late '70s. The person I later sold it to replaced the CPU with an Z80 processor and installed two 8" floppy drives. I also worked for an Apple dealership in the late '70s and '80s. We looked at selling the Sinclair computers, but they looked too much like toys and the video would flicker for every keystroke.
@jimparsons68033 жыл бұрын
A very useful 8-bit cpu, going way back. RCA's 1802 is also one of those nifty 8 bits, but this one was one of the earliest CMOS chips. It had onboard a number of features that many microcontrolers later sported. In many was RCA's chip was one of the most groundbreaking chips ever.
@briananderson87333 жыл бұрын
In 1976 I built my first PC when I built a IMSAI 8080 and within a year added a Z80A CPU with 24 k ram, floppy disk and later a hard drive. The hard drive was interfaced via a parallel port. Long time since then.
@slithymatt3 жыл бұрын
That's quite an impressive setup for an IMSAI!
@briananderson87333 жыл бұрын
@@slithymatt I used it in 1978 and 1979 to enter my Masters paper. I hold a BSEE, MEEE in Electrical Engineering. My specialty was microprocessors. In my first job out of college, I got into C and UNIX. I worked virtually my entire career using C and UNIX and UNIX like systems. Good luck with your Z80 series.
@styloroc20003 жыл бұрын
Oh man the suspense when you were talking about what system you were going to develop for/produce a series on -- the SMS is the system I adopted as a kid and I was really hoping that was the direction you were going, but I totally get the Speccy. Great video as always. I have a Timex North American version of the ZX81 (along with a Russian clone), so I'm sure there is a lot to be learned that which is transferable.
@IngieKerr3 жыл бұрын
Excellent. I look forward to the series. I'm originally of ZX81, then Speccy origins myself :) [ I still have an _Amstrad_ "Sinclair" Spectrum+2 in a drawer next to me - and in the back room gathering dust, I've got a Yamaha CX5M II MSX Z80 Machine with FM synthesis a la Yamaha DX21 keyboard, but with on screen controls :) ] I took apart a Sequential Circuits TOM Drum machine I own the other year, just to take it apart and clean the contacts on the pads, and was pleased to find a Z80A CPU sitting proud inside :) aside: LDIR is still my favourite assembly opcode, but I really should get out more :)
@slithymatt3 жыл бұрын
If you have a favorite opcode, you've found the right channel. Thanks for coming by!
@lexrms3 жыл бұрын
Hello from Brazil of a former user and owner of a TK90X that was our national copy of the ZX Spectrum.
@justin.campbell3 жыл бұрын
Just found by far the best video on the z80 n my reccomended :D . A couple years ago I quit my z80 project as the heart of the portable device was the rc2014 which died a slow death in the terminal. I could not afford a new one and found that I had lost interest in the 3 year journey so I scrapped it. It was going to be hard getting all the vintage parts needed as I wanted to fit it in a portable case similar to the osborne1. So now im left with a bunch of old chips, (some rare ones) and lots of knowlege. I have subscribed and am looking forward to the new series!
@ChrisPollitt3 жыл бұрын
No mention of the Microsoft Z80 SoftCard for the Apple II? That's what I had. Worked great to let me run GBasic, WordStar and Turbo Pascal.
@slithymatt3 жыл бұрын
That was a good add-on, but part of the same reason why I didn't mention the Commodore 128. These were very little-used features on systems that ran almost exclusively 6502 code. The Sega MD/Genesis was my primary example of an auxiliary Z80 because it was used for all of its software to run the audio. So, unless a game is totally silent, it's running Z80 code on top of the main 68000 code. And the Master System adapter was very widely used by people that had upgraded and still had a Z80-based game library they were playing.
@moongooat3 жыл бұрын
Turbo Pascal for Z80?! That would have been just prefect, didnt know that existed.
@ElectronStarCollapse3 жыл бұрын
Really love the the 6502 series so far. The Spectrum will be interesting to try tinkering with as well.
@mathsDOTearth3 жыл бұрын
Back in the '80s I was team CPC, so I might have to follow along and port!
@forevercomputing3 жыл бұрын
I was team CPC+ - a hand-me-down from my brother in the early 90s. Sleak machine... just 64K RAM though
@franciszek58313 жыл бұрын
My Timex 2048 is ready to work :)
@donaldlowe46423 жыл бұрын
I'm in Australia but worked for a company that built a business around Zilog and Z80 based in the UK(Slouth) and Westlake Village CA became a problem when some of the future Zilog chips became delayed and Intel took off but it was fun while it lasted looking forward to becoming reacquainted with PL/Z
@BilalHeuser13 жыл бұрын
Tandy/Radio Shack made several computers (TRS-80s) that used the Z80 and they included the Model I, II, and III. I learned to program the Z80 with my computer and using the Rodney Zaks book, "Programming the Z80". I learned much about computers because of Radio Shack and their desire to people how create programs using micro-computers.
@mikefochtman71643 жыл бұрын
Another 'also ran' was my first computer, 'Exidy Sorcerer'. Cartridge ROM BASIC and assembler. Then tinkered with a friend to link my Exidy Sorcerer with his TRS-80. Good times.
@davek.35813 жыл бұрын
Probably already pointed out in comments (but I couldn’t find it yet) but @ 7:40 the TRS-80 model 4 had a pair of 5.25” floppy drives not 8”. Also the picture shown is not a model 4 but a Tandy 6000 which did have 8” drives. Other than that great video!
@slithymatt3 жыл бұрын
Is that a 6000? Many, MANY people have pointed out that I misidentified the model 4, which I managed to conflate with the model 2 in my mind, and most people seem to think that the picture I found was a model 2, but I think you're right. That does look more like a 6000. The big lessons to take away are 1. I sometimes slack on the research when I mistakenly think I know what I'm talking about, and 2. Google doesn't give you good results when you do an image search for a model 4.