Z80 Computer - Part 16 Live Coding

  Рет қаралды 828

Steve Rayner Makes

Steve Rayner Makes

Күн бұрын

Let's do some live coding. What is the worst that could happen?
In this video I try coding a short Z80 assembly program to read input from the trainer board's on-board push buttons. Depending upon which button is pressed we should send a number from 0 to 7 to an output port.
I have an idea how I might be able to use something like this to control part of the system in the future.

Пікірлер: 10
@kaylanrocha9645
@kaylanrocha9645 6 ай бұрын
I'm following the series with enthusiasm, I even incorporated the idea of ​​the 7-segment display into my project
@SteveRaynerMakes
@SteveRaynerMakes 6 ай бұрын
That's awesome to hear. Let me know if there is anything you want to see in upcoming videos.
@SteveRaynerMakes
@SteveRaynerMakes 6 ай бұрын
Ok, that didn't go as smooth as I had expected. I want to use this program to control a latch, and I figured we could test it with the output 7-segment LEDs, as they have latches on their driver chips. Which also gives us a bonus of displaying the value that is in the latch.
@SteveRaynerMakes
@SteveRaynerMakes 6 ай бұрын
I was watching this on a mobile phone, and clearly the font size is too small and unreadable. I'll try to make it bigger if I ever do this again.
@mikekaffetzakis
@mikekaffetzakis 2 ай бұрын
Hello Steve the subroutine found_bit is wasting memory and speed on line 21 put JR NC, OUTPUT, add on OUTPUT the DEC B and get rid of the found_bit sub
@tiborbogi7457
@tiborbogi7457 6 ай бұрын
I like your step by step approach. Really not that easy to read text even on 27" monitor. I am only hobby programmer, made some asm programs for PIC controllers. You use call - ret even if you use subroutine only once (for labeling the function instead of using comments) , clearly a professional programmer style. I am able to follow, what you doing, that's nice.
@SteveRaynerMakes
@SteveRaynerMakes 6 ай бұрын
Thanks. Yeah, we didn't really need subroutines here. I think I'm so used to programming in higher level languages. When it comes to Z80 it's better to be as efficient as possible, which this is not. But it's not too important at this early stage.
@SteveRaynerMakes
@SteveRaynerMakes 6 ай бұрын
I went back and looked at the text size on ASM80.com. This is the largest you can set it to which is a real shame because I want to keep using it.
@SteveRaynerMakes
@SteveRaynerMakes 6 ай бұрын
Although being a web application we can adjust the CSS to anything we want. So I'll try to set the font size higher in any future videos (if I remember).
@tiborbogi7457
@tiborbogi7457 6 ай бұрын
@aynerMakesThank for answers. You are right for all points you made. Do, how you like it, its your project. Recently I made a VGA raster generator with PIC, then I tried used timers. Then I abandoned that project. PIC 18f2550 is not fast enough to generate VGA picture. DrMattRegan has some ideas how to generate VGA picture, so may be I become inspired and resume and continue my 8 bit comp build.
Z80 Computer - Part 17 VGA Colours
23:23
Steve Rayner Makes
Рет қаралды 1,6 М.
Z80 Computer - Part 7 Keyboard Layout
22:50
Steve Rayner Makes
Рет қаралды 3,4 М.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 72 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 22 МЛН
Z80 Computer Part 21 - VRAM Memory Map
17:29
Steve Rayner Makes
Рет қаралды 1,2 М.
How Linux Kernel Prints Text on Screen
12:46
Nir Lichtman
Рет қаралды 65 М.
Z80 Computer - Part 8 Testing Input
27:09
Steve Rayner Makes
Рет қаралды 3,2 М.
Z80 Computer - Part 9 Fast Clock
29:47
Steve Rayner Makes
Рет қаралды 2,5 М.
Z80 Computer - Part 5 Adding RAM
22:36
Steve Rayner Makes
Рет қаралды 6 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level Learning
Рет қаралды 354 М.
Z80 Computer - Part 12 Thinking about VGA
38:36
Steve Rayner Makes
Рет қаралды 1,3 М.
Samsung vs Iphone
0:21
Takadori1
Рет қаралды 21 МЛН
POV: You Find a 🗑️ Full of iPhones ⭐
0:13
Shakeuptech
Рет қаралды 1,5 МЛН
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 1 МЛН
Data recovery from MicroSD using PC3000 Flash & Spider Board 😎
1:01