Git Product home page Git Product logo

x16-assembly-tutorial's People

Contributors

slithymatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

x16-assembly-tutorial's Issues

Lesson10: stopwatch.asm appears to use old VRAM address

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.

tips for setting up cgywin

Introduction

Here are some tips that could be added to the readme file

Selecting mirror

To get a more closer mirror type the following in your browser:

https://www.cygwin.com/mirrors.html

select the mirror for your country

cygwinaddmirror
figure 1

then paste into the setup option of 'User Url' as shown in figure 1
then click add

Adding default directory option

after doing the following


$ mkdir workspace
$ cd workspace

open the following file:

C:\cygwin64\home\User\.bashrc

append the following to the file

cd /cygdrive/c/Users/user

where 'user' is your login name

so next time you open the cgywin bash it will open in your workspace

Right click option

Alternatively use this option

On Windows:

  1. Download Cygwin Setup.exe or run and install the chere package.
  2. After install right click and Open Cygwin as Administrator.
  3. type "chere -i" or "chere -i -t mintty" if you would like to use Mintty

when a folder is selected right click and select as shown in figure 2

` Bash Prompt Here

`
bashprompthere
figure 2

Licensing

Considering that the README says "feel free to do what you want with these code examples," I believe that the BSD or MIT licenses would be better choices for this repository.

installation guide

I just started getting cygwin set up on my Win10 machine, diligently following your instructions. Everything went well. I chose option 2 for the symbolic links (doing them inside the cygwin terminal rather than in my Windows path parameters). When I arrived at the x16 rom and emulator steps, it took me a while that I should git clone those repos as well. Downloading the binaries works well, but from a close-to-unix-noob status, I wanted to clone the repos so I can easily replace them as new versions arrive.

there doesn't seem to be a specific step for installing SDL2 on cygwin after the fact inside the terminal. I followed your other repo's readme (https://github.com/SlithyMatt/x16-assembly-tutorial) and I wish I would have just checked in SDL2 at that step.

The other missing step I found is that the cygwin environment is not finding ld65,exe, so I added it by going to /usr/bin and doing ln -s /cygdrive/c/users/whatever/workspace/cc65/bin/ld65.exe

Not doing so makes the rom make step complain about its absence. Just thought you'd add a line about these in the otherwise excellent readme files, which guided me well by the hand despite my 20 year old rust in unix navigation

edit - you already answered in the x16 community forums that it makes little sense to attempt a compilation of the emulator...inside the cygwin environment - just stick with the windows binary. makes sense! Although the ROM step was a very minor issue that would remain here if and only if they don't package the bleeding edge version every time in their win compiled binairies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.