Today was quite the busy day again, as I juggled both prototype tasks and the next upcoming assembly project. Fresh off from our bitmap project (which I just managed to optimize after finding out a bug that had me skip progressively less and less pixels per row), we are now tasked with creating a simple game in an utterly non-simple way. We went over setting up a loop and getting keyboard input at a proper pace, but I was unfortunately focusing on bitmap optimization, so I may have to wait until that code is released.
On the flipside, the rope finally works! It seems as if transporting the object in question (drifter + rope) and then attaching actually produces a much softer transition. Now we are no longer in need of fancy rope (Whew).
Back to assembly. Right now I am working on a part we haven't covered in class just yet, but will require a great deal of attention. The hardware simulator in Easy68K will be responsible for displaying our score (seen below):
Seems simple, right? Just set the display based on the number, right? Nah, it's never that simple. Each of the red lines on each digit requires a special bit value, with very specific hex values for the simple 0-9 set. That, and numbers are stored as hex in memory. Thinking of accessing decimal ones, tens, and hundreds places? Get ready to do some fancy footwork in converting to those places from hex.
No comments:
Post a Comment