Skip to content

Lesson10: stopwatch.asm appears to use old VRAM address #4

Description

@ShawnLewis62

I believe the stopwatch lesson may need to be updated to work with the latest X16 release. I made these changes locally to get it to work:

% git diff origin
diff --git a/Lesson10/stopwatch.asm b/Lesson10/stopwatch.asm
index 4492aff..9834e0b 100644
--- a/Lesson10/stopwatch.asm
+++ b/Lesson10/stopwatch.asm
@@ -165,9 +165,10 @@ custom_irq_handler:

print_display:
stz VERA_ctrl

  • lda #$20 ; stride = 2
  • lda #$21 ; stride = 2
    sta VERA_addr_bank
    lda #DISPLAY_Y
  • ora #$B0
    sta VERA_addr_high
    lda #(DISPLAY_X * 2)
    sta VERA_addr_low

I tried to create a pull request for this, but I either have something set-up wrong (new system/set-up), or I don't have permissions to write to your repo:

ERROR: Permission to SlithyMatt/x16-assembly-tutorial.git denied to ShawnLewis62.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions