Let’s Code x86 Assembly: 0x07 Text Mode Plasma
In this episode of our tour through the 8086 assembly language, we learn a few new opcodes and concepts CBW makes an appearance, as does the powerful XLAT for looking up values in … look-up tables! We use this to make a text mode plasma like effect. It is a bit simpler compared to what we did in another episode on the VGA card, but this time the executable is tiny, coming in at less than 170 bytes. We talk a bit about how to access screen memory in text mode and how to query the real time clock in the PC.
Support me on Patreon: https://www.patreon.com/root42
Support me on Ko-Fi: https://ko-fi.com/root42
Support me on PayPal: https://paypal.me/ArneSchmitz
Support me on YouTube: https://www.youtube.com/channel/UCPjFa_UZBUDzdJTIEdyGjIQ/join
0:00 Introduction
2:30 Init text mode & segment registers
6:52 Real Time Clock
9:05 TEST instruction
12:30 CBW instruction
15:10 Drawing on the screen
19:40 XLAT instruction
22:58 ADD instruction
26:00 MOV ds:[di]
27:56 Finishing the loops
29:56 Read keyboard
31:54 RESULTS
33:58 Closing words
35:13 Outro
Music: Powerful SID by Spino2006
Book by Oscar Toledo: https://www.lulu.com/shop/oscar-toledo-gutierrez/programming-boot-sector-games/paperback/product-24188564.html
Let’s Code VGA Plasma: https://youtu.be/X6BpW2N_Sf0
Other Videos By root42
2022-12-24 | The XMas Lötstream |
2022-12-20 | Cool Floppy: 1541 Voltage Regulator Mods |
2022-12-10 | Lowdown Lötstream: Atari 520ST 1Meg Upgrade |
2022-12-09 | Lowdown Lötstream: Atari 520ST 1Meg Upgrade |
2022-11-29 | CGA Redux with 16 Color Composite Out |
2022-11-27 | Lötstream: CGA Redux Part 4 - THE FINAL LÖTDOWN! |
2022-11-20 | Lötstream: CGA Redux Part 3 |
2022-11-14 | Lötstream: CGA Redux Part 2 |
2022-11-07 | Lötstream: CGA Redux Part 1 |
2022-11-04 | Refurbishing the C64C |
2022-10-23 | Let’s Code x86 Assembly: 0x07 Text Mode Plasma |
2022-10-13 | The C64 UfD Diagnostic Cartridge |
2022-09-23 | Game Gear Playing C64 Demos |
2022-09-20 | Creepy Toy Dog Repair! |
2022-09-18 | Lötstream: Recapping A SEGA GameGear |
2022-09-18 | GameGear: Soundboard repaired |
2022-09-12 | The HDD Clicker |
2022-08-24 | Making Your own SEGA MegaDrive Cartridge |
2022-08-15 | Lötstream: Soldering for Beginners Part 2 |
2022-07-21 | Repairing a Dead Roland MT-32 |
2022-07-05 | The M396F 386SX Homebrew Mainboard |