Posts

Showing posts from January, 2020

Lab 02: 6502 Assembly Language Lab

Paste this code into the emulator: lda #$00 ; set a pointer at $40 to point to $0200 sta $40 lda #$02 sta $41 lda #$07 ; colour ldy #$00 ; set index to 0 loop: sta ($40),y ; set pixel iny ; increment index bne loop ; continue until done the page inc $41 ; increment the page ldx $41 ; get the page cpx #$06 ; compare with 6 bne loop ; continue until done all pages  Add this instruction after the  loop:  label and before the  sta ($40),y  instruction: tya What visual effect does this cause, and how many colours are on the screen? Why? Answer:  The bitmap would display columns  of 16 colors repeating once.  The reason is because we use "lda #$07" to load accumulator "a" as our designated  color, when  we add "tya" at the start of our loop, we transfer "y" to "a". So as "y" increment, so does our color "a". And since the max number of "y" we have is 32, it would repeat the color

Lab 01: Code Review

Select  any two open source software packages  that have  different licenses  (and therefore are most likely to use different approaches to community organization). ReactJs is a open source JavaScript library for building user interface usually in (but not limited to) web developments. source:  https://reactjs.org/tutorial/tutorial.html#what-is-react PostgreSQL is a open source object-relational database system usually for (but not limited to) managing data warehouse and Web services. source:  https://www.postgresql.org/ Research the procedure used by those projects to accept code ("patches") from contributors. This may be through a mailing list, bug tracker, or source code management system (SCMS)/version control system (VCS) such as Mercurial, Bazaar, or Git/GitHub. ReactJs:  All works/contributions can be submitted through software development version control, GitHub. Which is licensed by MIT Licensing. source:  https://reactjs.org/docs/how-to-contribute.html

Introduction

Hello to anyone reading this, My name is Dennis Yick Ming Lam and I am a student of the Seneca College in the CPA program, currently running through the SPO600 class which stands for Software Portability and Optimization. Even though my choices of courses for this semester was limited, none the less I am still very excited to see what I can learn from this class. This class uses Blogging as the main source of submission, and since I have never Blog before this class, this is a very new and exciting way to begin. For those who would comment on my future posts, thank you for spending time reading mine and please go easy on me.