User Tools

Site Tools


journal:spring2020:bmurphy7:week8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
journal:spring2020:bmurphy7:week8 [2020/03/18 18:05]
bmurphy7
journal:spring2020:bmurphy7:week8 [2020/03/18 18:21] (current)
bmurphy7
Line 8: Line 8:
 This week was a week of learning what are we all going to do once school was shut down due to the corona virus that is currently being a pain to the whole world. So I found out for Comporg, sysprog, and hpc that it will be the same as it has been only that we no longer will see each other in person. Instead we will have to communicate online. ​ This week was a week of learning what are we all going to do once school was shut down due to the corona virus that is currently being a pain to the whole world. So I found out for Comporg, sysprog, and hpc that it will be the same as it has been only that we no longer will see each other in person. Instead we will have to communicate online. ​
  
-Otherwise in comporg this week I was hard at work figuring out how to do our project pos0. Namely how to make a sprite and then how to get that sprite moving. Making the sprite ended up being simple for it was just storing a value into the correct GREP0 register. Making the sprite move was a bit of challenge for I needed to first understand how drawing the sprite happened. The drawing happens when we store a value into RESP0/1 which when pinged will draw grab what the sprite pattern is from GREP and draw it for however big it is. So in order to position it the way we want to we would grab keep track of where the sprite is using some variable. Then we will loop for however many cycles till we hit the desired position, where we will then ping RESP. +Otherwise in comporg this week I was hard at work figuring out how to do our project pos0. Namely how to make a sprite and then how to get that sprite moving. Making the sprite ended up being simple for it was just storing a value into the correct GREP0 register. Making the sprite move was a bit of challenge for I needed to first understand how drawing the sprite happened. The drawing happens when we store a value into RESP0/1 which when pinged will draw grab what the sprite pattern is from GREP and draw it for however big it is. So in order to position it the way we want to we would grab keep track of where the sprite is using some variable. Then we will loop for however many cycles till we hit the desired position, where we will then ping RESP. Then in order to change this so that it actually moves we try to keep track of what buttons are pressed, and when we figure out what was pressed we adjust the x-position accordingly. So if the right is pressed we increase the x-position number, if the left is pressed down decrease the x-position number.
  
  
journal/spring2020/bmurphy7/week8.txt · Last modified: 2020/03/18 18:21 by bmurphy7