Friday, January 31, 2020

Lab 2 Completed

1. Introduction:
This lab is to blog the results of SPO600's lab 2 class. The aim of the bitmap portion of the lab was to observe the changes of the display each time. The aim of the coding portion of the lab was to take the bit display area of the emulator first colour the top of the screen with a green line and the bottom with a blue line. The next part of the lab is to write a yellow line on the left side of the screen and a purple line down the right.

2. Bitmap Code Results

Step 6: Sets 16 different colours vertically.

Step 7: made it shift by smaller blocks.
Step 7: less blocks.
Step 7: now the screen is divided by 2 each line.

Step 9: Different colours.
Step 9: Smaller colour bars.
Step 9: Less colours, only 2.
Step 9: Appears to have been in a different memory region.

Step 13: It's all yellow and black.
Step 13: It loaded it in a grid pattern.
Step 13: It loaded it with more black then yellow.
Step 13: It loaded it like when the 3rd time (grid).


3. Writing Code Portion Results
You can look at the completed code here. This code is pretty straightforward, 3 loops colouring the top, bottom and side.

4. My Experiences
This lab showed me how different this language is from higher level programming courses. The biggest difference I noticed was that each command usually referred to an address and I had to use 3 areas of memories which I can treat or think of as a type of variable. Writing the coding portion of the lab was also really difficult, as I had to adjust my way of thinking to assembly styled programming.

No comments:

Post a Comment