The Ctrl + V Game

  • Thread starter Thread starter smileyhead
  • Start date Start date
  • Views Views 574,394
  • Replies Replies 9,272
  • Likes Likes 15
  • In Corruption, there is a data room on the way to Generator B (the only generator Samus does not visit during her first trip to Norion), which has a panel that reveals a code when scanned. Each column provides a hidden message when typed in the Transmission console on Samus's Gunship. The messages were present in the first version of Corruption, but the terminal in the data storage was inactive, and no hints to the messages existed.
 
upload_2021-8-31_17-35-30.png
 
Code:
; print horizontal volume bars

vbis1_a
    ldx zTMP1                     ; load the index x for the channel offset
    lda trackn_audc,x             ; load the AUDC value of the channel indexed by x
    cmp old_audc,x                ; compare the old AUDC value to the current one
vbis1_b  
    beq vbis2                     ; the same AUDC value is used, skip
    sta old_audc,x                ; save the old AUDC value for the next frame
    and #$f                       ; clear the distortion bits
    sta v_volume,x                ; save for the clear screen routine
    beq vbis2                     ; volume 0, skip
vbis1_c  
    sub old_volume,x              ; substract the old volume value to the current one
    bmi vbis2                     ; result is negative, skip
    beq vbis2                     ; result is 0, skip
    sta zTMP2                     ; save as the volume value buffer
    lda old_volume,x              ; load the old volume value in the accumulator
    add #58                       ; add the screen position relative to the offset (zARG0)
    tay                           ; transfer to the index y for the next part
    lda #$80                      ; inverted space character
vbil3
    sta (zARG0),y+                ; write a character on screen, increment the screen position
    dec zTMP2                     ; decrement the buffer
    bne vbil3                     ; repeat until the buffer is 0, meaning all characters were drawn
 

Site & Scene News

Popular threads in this forum