Lab 2
For this post I will be discussing lab 2 of SPO600, This is lab is testing and modifying some code based on the 6502 assembler which can be found on this link http://6502.cdot.systems/ . I will be testing the performance on the code and seeing how much memory it takes and the total run time. Calculating Performance I used a spread sheet in order to calculate the total time it will take to execute the program in ms and sec. The total time is not to long but it could be cut down. The fastest way I am thinking would be to cut down on the loops but I could not get it to work with out an error. sta $41 ; ... high byte ($02) goes into address $41 lda #$07 ; colour number ldy #$00 ; set index to 0 loop: sta ($40),y ; set pixel colour at the address (pointer)+Y iny ; increment index bne loop ; continue until done the page (256 pixels) inc $41 ; increment the page bne loop ; continue until done all pages I was able to decrease the team by re...