This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

B.Color RepresentationC.2-D AnimationB.Windows Bitmap FilesVideo LabsLab #7 – Text-based graphicsA.Positioning the cursor- Irvine library functions - Clear screen (Clrscr)- DOS function 7- Get char from keyboard w/o echo- BIOS function 2- Set cursor at given positionB.Character Attributes- BIOS function 9- write char with attribute at current positionC.Pseudo random Numbers and a Delay - Irvine library functions-Crlf (carriage return/line feed)-Randomize (reseed # generator)-Random_range- Rdtsc instruction-Pentium instruction-returns time-stamp counter 64-bit counter >5800 years before overflow for 100MHz clk- Delay procedure -delays # of milliseconds specified in cx.-must set CLK_FRQ=your PC frequencyLab #8 – Bit-Mapped GraphicsA.Basic Graphic Modes/PC (VGA)- BIOS 10h,function 0Fh-read current mode- BIOS 10h,function 0-set new video mode- BIOS 10h,function 0Ch-write character at given positionB.Color Representation- Parallel I/O to port addressesC.2-D Animation- Appearance of movement done by changing palette (much less CPU intensive than copying blocks of data in memory)Lab #9 – More Bit-Mapped GraphicsA.Using the mouse to draw horizontal line- BIOS 33h,function 3-get mouse position-get button status- BIOS 33h, function 2-hide mouse- BIOS 33h,function 1-turn mouse on- BIOS 10h,function 13h-set video mode to 320x200x256B.Windows Bitmap Files- Irvine procedure ShowBMP-ifile must be specified directory names must be <=8-use masm hline2 masm bitmap link hline2+bitmapC.Rubber-banding Selection


View Full Document

MSU ECE 3724 - Video Labs

Documents in this Course
Timers

Timers

38 pages

TEST 4

TEST 4

9 pages

Flags

Flags

6 pages

Timers

Timers

6 pages

Timers

Timers

54 pages

TEST2

TEST2

8 pages

Load more
Download Video Labs
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Video Labs and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Video Labs 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?