CS代考 ECE 391 Discussion

discussion_week_05

ECE 391 Discussion

Copyright By PowCoder代写 加微信 powcoder

Announcements & Reminders
! First midterm exam

! Next Wednesday (Sept 29) 7:00 – 9:00 pm CST
! Two letter size sheets of notes allowed
! At ECEB1002 , for in-person students
! On zoom, for online students, exam will be distributed via compass
! MP2 will NOT be covered on the exam
! Conflict or switching between online/offline exam – Email Professor by 9/23

! MP2.1 is due on the following Tuesday (Oct 5)at 5:59 pm
! Plan your time accordingly!

! Run the demo and play around (reaching the end game might
require you to look through the source code if you’re curious)
! If you’re unsure of how something should look, just follow the demo

! Use su –c or sudo to run the adventure-demo program
! Read the documentation, read it again, read the code comments
! For vertical line draw, look at horizontal line draw

! To test if your draw_vert_line() is working, scroll to the right

! This MP involves some synchronization
! TUX Emulators will be available by the end of the week
! Use version control!

! Status bar
! Split screen by modifying VGA registers (PS2)
! Write text to the status bar

! Read file “text.c”

! Any background/font color combination is fine as long as it’s readable

! 18-bit to represent RGB
! Each pixel is 1 byte in memory

! Planes in Mode X
! Every FOUR pixels share one virtual address
! We use a bitmask to select which one to write to

Mode X (cont.)

! Build buffer

Mode X (cont.)

! The img3 and img3_off variables provide the additional level of
indirection. At any point in time, adding the address calculated from
the logical view window coordinates (show_x, show_y) to the img3
pointer produces a pointer to the start of plane 3 in the build buffer

Mode X (cont.)

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com