Lab 3 Tim Lin In this LAB, I learn how to write a simple assembler. Since assembly language is complex, I need to refer to the sample code. Example: Etch-a-Sketchtm Style Drawing . The function of this code is that clicking the C key will display a pixel dot in the middle of the screen. I modified it so that only the four uppercase letters H,E,L,O can be clicked to display the pixel dots. In the process, I struggled to find out the meaning of various characters. For example, the letter O is 4F in computer characters, in the form of a number + letter. ; zero-page variable locations define ROW $20 ; current row define COL $21 ; current column define POINTER $10 ; ptr: start of row define POINTER_H $11 ; constants define DOT $01 ; dot colour define CURSOR $e ; blue colour ldy #$00 ; put help text on screen print: lda help,y beq setup sta $f000,y iny bne print setup: lda #$0f ; set initial ROW,COL sta...
Lab 1 Tim Lin This week's blog is about comparing two open-source software packages. In this lab, I choose MongoDB and PHP . 1. MongoDB is written in C++ and is an open-source database system based on distributed file storage. MongoDB uses the GNU AGPL v3.0 license. It is done by uploading Git to replace the original code or to fix bugs. So the MongoDB repository( https://github.com/mongodb/mongo ) is also using GitHub. As it is open source. So MongoDB also welcomes community members to use its bug issue system( https://jira.mongodb.org/plugins/servlet/samlsso?redirectTo=%2F ) to fix bugs. MongoDB currently has 627 contributors. Most of these patches are made by users who raise questions through the bug feedback system. The contributors then release the initial patches, and if they have problems, they discuss better patches with each other. I have observed that their discussion history is usually resolved within a day, which is very efficient. In the absence of b...
Comments
Post a Comment