SlideShare a Scribd company logo
COMPUTER ORGANIZATION
& ASSEMBLY LANGUAGE
LECTURE ON 10H WEEK 13 PRACTICAL
BY MUHAMMAD JAFER
1
INT 10H
• Burned into ROM of BIOS
• Associated with monitor screen
• Perform different function based upon value in AH
• Function Performed are
• Clearing Screen
• Change the cursor position
• Change the screen color
• Draw line on screen
2
MONITOR SCREEN IN TEXT MODE
• 80 columns & 25 rows
• 80 characters wide by 25 character long
• 80 column = 00 to 79
• 25 rows= 00 to 24
• First column is at 00,00
3
CLEARING SCREEN
• AH=06
• AL=00
• BH=07
• CX=0000
• DH=24
• DL=79
• INT 10H
4
SET CURSOR LOCATION
• AH=02
• BH=00
• DH=24
• DL=59
• INT 10H
5
GET CURSOR LOCATION
• AH=03
• BH=00
• INT 10H
6
VIDEO MODES
• AH=00
• AL=VIDEO MODE
• VIDEO MODE = TEXT MODE & RESOLUTION
• Attribute Byte = Associated with Each Character on Screen
• MONOCHROME
• Black & White
• D0 ~ D2 = Foreground Intensity
• D3= 1/0 High or Normal Intensity
• D4 ~ D6 = Background Intensity
• D7 = nonBlicking / Blicking Intensity
• CGA
• Color Graphics Adapter
• D0 ~ D2 = RGB Foreground
• D3= Foreground Intensity
• D4 ~ D6 = RGB Background
• D7 = nonBlicking / Blicking Intensity
7
PIXEL RESOLUTIONS & COLOR
• Graphical Mode related to Pixel
• Two Important Things about Pixels
• Location
• Attribute
• Stored In Video RAM
• Increase in Pixel = Increase in Memory Required to store
• CGA = Max 16K bytes (Design)
• There are three modes of CGA
• Text mode of 80 * 25 Characters
• Graphical mode of 320 * 200 Resolution
• Graphical mode of 640 * 200 Resolution
8
80 * 25 CHARACTERS
• 2k bytes = 80 * 25
• Total 4k bytes
• 2k = locations
• 2k = attributes
• 4 pages of data supporting
• Each Page = 1 Screen
• 16 colors supported
• AL = 03 & AH = 00
9
320 * 200 RESOLUTION
• 6400 Pixels = 320 * 200
• 128 bits of Videos Ram
• 2 bits for Color
• 1 bits for Location
• 4 colors supported
• AL = 04 & AH = 00
10
640 * 200 RESOLUTION
• 12800 Pixels = 620 * 200
• 128 bits of Videos Ram
• 1 bits for Color
• 1 bits for Location
• Black & White supported
• AL = 06 & AH = 00
11
PIXEL PROGRAMMING
• AH = OCH
• CX = X-Coordinate
• DX = Y-Coordinate
• BH = Page Number
• AL = Color
12
PIXEL PROGRAMMING
• AH = OCH
• CX = X-Coordinate
• DX = Y-Coordinate
• BH = Page Number
• AL = Color
13
CHAPTER REVIEW
• The x86 PC Assembly Language, Design &
Interfacing
• Chapter # 4
• BIOS INT 10H PROGRAMMING
14

More Related Content

Similar to Coal 19-int10 h in Assembly Programming

4,000 Adams at 90 Frames Per Second | Yi Fei Boon
4,000 Adams at 90 Frames Per Second | Yi Fei Boon4,000 Adams at 90 Frames Per Second | Yi Fei Boon
4,000 Adams at 90 Frames Per Second | Yi Fei Boon
Jessica Tams
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
Jay Nagar
 
「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発
Unity Technologies Japan K.K.
 
Unit 11. Graphics
Unit 11. GraphicsUnit 11. Graphics
Unit 11. Graphics
Ashim Lamichhane
 
Brief History of Graphics Devices
Brief History of Graphics DevicesBrief History of Graphics Devices
Brief History of Graphics Devices
Tat Iwamoto
 
Design, Create & Explore Learning with Your Mobile Devices
Design, Create & Explore Learning with Your Mobile DevicesDesign, Create & Explore Learning with Your Mobile Devices
Design, Create & Explore Learning with Your Mobile Devices
Nick Floro
 
Adobe Photoshop history
Adobe Photoshop historyAdobe Photoshop history
Adobe Photoshop history
Abdullah Al-Busadi
 
Lec09
Lec09Lec09
Working with LOG Footage & Creating Your Own Lookup Tables
Working with LOG Footage & Creating Your Own Lookup TablesWorking with LOG Footage & Creating Your Own Lookup Tables
Working with LOG Footage & Creating Your Own Lookup Tables
Richard Harrington
 
Mmclass3
Mmclass3Mmclass3
Mmclass3
Hassan Dar
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
azira96
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
nooramirahazmn
 
Lecture_4.ppt
Lecture_4.pptLecture_4.ppt
Lecture_4.ppt
HiraAhmad31
 
Vintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdf
Vintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdfVintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdf
Vintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdf
Richard Thomson
 
Amiga Cracktro Programming
Amiga Cracktro ProgrammingAmiga Cracktro Programming
Amiga Cracktro Programming
optixx
 
Digital File Formats
Digital File Formats Digital File Formats
Digital File Formats
University of Sunderland
 
Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)
Marakana Inc.
 
Paris Master Class 2011 - 05 Post-Processing Pipeline
Paris Master Class 2011 - 05 Post-Processing PipelineParis Master Class 2011 - 05 Post-Processing Pipeline
Paris Master Class 2011 - 05 Post-Processing Pipeline
Wolfgang Engel
 
Digital Image Processing and gis software systems
Digital Image Processing and gis software systemsDigital Image Processing and gis software systems
Digital Image Processing and gis software systems
Nirmal Kumar
 
Best Monitor for Video & Photo editing
Best Monitor for Video & Photo editingBest Monitor for Video & Photo editing
Best Monitor for Video & Photo editing
EIZO INDIA
 

Similar to Coal 19-int10 h in Assembly Programming (20)

4,000 Adams at 90 Frames Per Second | Yi Fei Boon
4,000 Adams at 90 Frames Per Second | Yi Fei Boon4,000 Adams at 90 Frames Per Second | Yi Fei Boon
4,000 Adams at 90 Frames Per Second | Yi Fei Boon
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発「原神」におけるコンソールプラットフォーム開発
「原神」におけるコンソールプラットフォーム開発
 
Unit 11. Graphics
Unit 11. GraphicsUnit 11. Graphics
Unit 11. Graphics
 
Brief History of Graphics Devices
Brief History of Graphics DevicesBrief History of Graphics Devices
Brief History of Graphics Devices
 
Design, Create & Explore Learning with Your Mobile Devices
Design, Create & Explore Learning with Your Mobile DevicesDesign, Create & Explore Learning with Your Mobile Devices
Design, Create & Explore Learning with Your Mobile Devices
 
Adobe Photoshop history
Adobe Photoshop historyAdobe Photoshop history
Adobe Photoshop history
 
Lec09
Lec09Lec09
Lec09
 
Working with LOG Footage & Creating Your Own Lookup Tables
Working with LOG Footage & Creating Your Own Lookup TablesWorking with LOG Footage & Creating Your Own Lookup Tables
Working with LOG Footage & Creating Your Own Lookup Tables
 
Mmclass3
Mmclass3Mmclass3
Mmclass3
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Lecture_4.ppt
Lecture_4.pptLecture_4.ppt
Lecture_4.ppt
 
Vintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdf
Vintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdfVintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdf
Vintage Computing Festival Midwest 18 2023-09-09 What's In A Terminal.pdf
 
Amiga Cracktro Programming
Amiga Cracktro ProgrammingAmiga Cracktro Programming
Amiga Cracktro Programming
 
Digital File Formats
Digital File Formats Digital File Formats
Digital File Formats
 
Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)Graphicsand animations devoxx2010 (1)
Graphicsand animations devoxx2010 (1)
 
Paris Master Class 2011 - 05 Post-Processing Pipeline
Paris Master Class 2011 - 05 Post-Processing PipelineParis Master Class 2011 - 05 Post-Processing Pipeline
Paris Master Class 2011 - 05 Post-Processing Pipeline
 
Digital Image Processing and gis software systems
Digital Image Processing and gis software systemsDigital Image Processing and gis software systems
Digital Image Processing and gis software systems
 
Best Monitor for Video & Photo editing
Best Monitor for Video & Photo editingBest Monitor for Video & Photo editing
Best Monitor for Video & Photo editing
 

More from Muhammad Taqi Hassan Bukhari

Coal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly ProgrammingCoal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 18 cache in Assembly Programming
Coal 18 cache in Assembly ProgrammingCoal 18 cache in Assembly Programming
Coal 18 cache in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly ProgrammingCoal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly ProgrammingCoal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 15 memory in Assembly Programming
Coal 15 memory in Assembly ProgrammingCoal 15 memory in Assembly Programming
Coal 15 memory in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly ProgrammingCoal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly ProgrammingCoal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly ProgrammingCoal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly ProgrammingCoal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal7 segmentation in Assembly Programming
Coal7 segmentation in Assembly ProgrammingCoal7 segmentation in Assembly Programming
Coal7 segmentation in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly ProgrammingCoal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly ProgrammingCoal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly ProgrammingCoal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly ProgrammingCoal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly ProgrammingCoal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 21- macro in Assembly Programming
Coal 21- macro in Assembly ProgrammingCoal 21- macro in Assembly Programming
Coal 21- macro in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Various type of register
Various type of registerVarious type of register
Various type of register
Muhammad Taqi Hassan Bukhari
 
MSF process model
MSF process modelMSF process model
MSF process model
Muhammad Taqi Hassan Bukhari
 
HRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi HassanHRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi Hassan
Muhammad Taqi Hassan Bukhari
 
HRM Short notes - Taqi Hassan
HRM Short notes - Taqi HassanHRM Short notes - Taqi Hassan
HRM Short notes - Taqi Hassan
Muhammad Taqi Hassan Bukhari
 

More from Muhammad Taqi Hassan Bukhari (20)

Coal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly ProgrammingCoal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly Programming
 
Coal 18 cache in Assembly Programming
Coal 18 cache in Assembly ProgrammingCoal 18 cache in Assembly Programming
Coal 18 cache in Assembly Programming
 
Coal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly ProgrammingCoal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly Programming
 
Coal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly ProgrammingCoal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly Programming
 
Coal 15 memory in Assembly Programming
Coal 15 memory in Assembly ProgrammingCoal 15 memory in Assembly Programming
Coal 15 memory in Assembly Programming
 
Coal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly ProgrammingCoal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly Programming
 
Coal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly ProgrammingCoal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly Programming
 
Coal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly ProgrammingCoal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly Programming
 
Coal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly ProgrammingCoal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly Programming
 
Coal7 segmentation in Assembly Programming
Coal7 segmentation in Assembly ProgrammingCoal7 segmentation in Assembly Programming
Coal7 segmentation in Assembly Programming
 
Coal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly ProgrammingCoal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly Programming
 
Coal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly ProgrammingCoal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly Programming
 
Coal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly ProgrammingCoal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly Programming
 
Coal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly ProgrammingCoal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly Programming
 
Coal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly ProgrammingCoal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly Programming
 
Coal 21- macro in Assembly Programming
Coal 21- macro in Assembly ProgrammingCoal 21- macro in Assembly Programming
Coal 21- macro in Assembly Programming
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
MSF process model
MSF process modelMSF process model
MSF process model
 
HRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi HassanHRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi Hassan
 
HRM Short notes - Taqi Hassan
HRM Short notes - Taqi HassanHRM Short notes - Taqi Hassan
HRM Short notes - Taqi Hassan
 

Recently uploaded

GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
Maitrey Patel
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
Karya Keeper
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Paul Brebner
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Peter Caitens
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 

Recently uploaded (20)

GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 

Coal 19-int10 h in Assembly Programming

  • 1. COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE ON 10H WEEK 13 PRACTICAL BY MUHAMMAD JAFER 1
  • 2. INT 10H • Burned into ROM of BIOS • Associated with monitor screen • Perform different function based upon value in AH • Function Performed are • Clearing Screen • Change the cursor position • Change the screen color • Draw line on screen 2
  • 3. MONITOR SCREEN IN TEXT MODE • 80 columns & 25 rows • 80 characters wide by 25 character long • 80 column = 00 to 79 • 25 rows= 00 to 24 • First column is at 00,00 3
  • 4. CLEARING SCREEN • AH=06 • AL=00 • BH=07 • CX=0000 • DH=24 • DL=79 • INT 10H 4
  • 5. SET CURSOR LOCATION • AH=02 • BH=00 • DH=24 • DL=59 • INT 10H 5
  • 6. GET CURSOR LOCATION • AH=03 • BH=00 • INT 10H 6
  • 7. VIDEO MODES • AH=00 • AL=VIDEO MODE • VIDEO MODE = TEXT MODE & RESOLUTION • Attribute Byte = Associated with Each Character on Screen • MONOCHROME • Black & White • D0 ~ D2 = Foreground Intensity • D3= 1/0 High or Normal Intensity • D4 ~ D6 = Background Intensity • D7 = nonBlicking / Blicking Intensity • CGA • Color Graphics Adapter • D0 ~ D2 = RGB Foreground • D3= Foreground Intensity • D4 ~ D6 = RGB Background • D7 = nonBlicking / Blicking Intensity 7
  • 8. PIXEL RESOLUTIONS & COLOR • Graphical Mode related to Pixel • Two Important Things about Pixels • Location • Attribute • Stored In Video RAM • Increase in Pixel = Increase in Memory Required to store • CGA = Max 16K bytes (Design) • There are three modes of CGA • Text mode of 80 * 25 Characters • Graphical mode of 320 * 200 Resolution • Graphical mode of 640 * 200 Resolution 8
  • 9. 80 * 25 CHARACTERS • 2k bytes = 80 * 25 • Total 4k bytes • 2k = locations • 2k = attributes • 4 pages of data supporting • Each Page = 1 Screen • 16 colors supported • AL = 03 & AH = 00 9
  • 10. 320 * 200 RESOLUTION • 6400 Pixels = 320 * 200 • 128 bits of Videos Ram • 2 bits for Color • 1 bits for Location • 4 colors supported • AL = 04 & AH = 00 10
  • 11. 640 * 200 RESOLUTION • 12800 Pixels = 620 * 200 • 128 bits of Videos Ram • 1 bits for Color • 1 bits for Location • Black & White supported • AL = 06 & AH = 00 11
  • 12. PIXEL PROGRAMMING • AH = OCH • CX = X-Coordinate • DX = Y-Coordinate • BH = Page Number • AL = Color 12
  • 13. PIXEL PROGRAMMING • AH = OCH • CX = X-Coordinate • DX = Y-Coordinate • BH = Page Number • AL = Color 13
  • 14. CHAPTER REVIEW • The x86 PC Assembly Language, Design & Interfacing • Chapter # 4 • BIOS INT 10H PROGRAMMING 14