Giter VIP home page Giter VIP logo

lorom-template's People

Contributors

pinobatch 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

Watchers

 avatar  avatar  avatar  avatar

lorom-template's Issues

py.exe not found

In cygwin, I have:

ca65 -g src/snesheader.s -o obj/snes/snesheader.o
ca65 -g src/init.s -o obj/snes/init.o
ca65 -g src/main.s -o obj/snes/main.o
py.exe tools/pilbmp2nes.py --planes=0,1 tilesets/bggfx.png obj/snes/bggfx.chrgb
make: py.exe: No such file or directory
make: *** [makefile:138: obj/snes/bggfx.chrgb] Error 127

Some buttons not mapped correctly

I think some of the KEY_ constants are not mapped correctly. I added a .proc to wait until all controller buttons are unpressed in this repo:

https://github.com/jeffythedragonslayer/lorom-template-with-waitpadup

Here is the control flow when holding down, and then releasing each of the buttons.

START		loops at wait_button_start, then fallsthrough the rest
SELECT(back)	loops at wait_button_select, then fallsthrough the rest
A		loops at wait_button_b, then fallsthrough
B		fallsthrough everything
X		loops at wait_button_y, then fallsthrough the rest
Y		fallsthrough everything
LEFT		loops at wait_button_up, then fallsthrough the rest
RIGHT		loops at wait_button_right, then fallsthrough the rest
UP		loops at up, then fallsthrough the rest
DOWN		loops at wait_button_down, then fallsthrough the rest
RBUMP		fallsthrough everything
LBUMP		fallsthrough everything

Tested on Mesen-SX with an XOTICPC GX7 gamepad. Also, I suggest renaming these constants to BUTTON_

BGSCROLLX

I think main.s:176 should be stz BGSCROLLY

Error in comment

I started to read little by little your sample but this comment is puzzling me a little bit. Since it is plb, isn't it for restoring the value from the stack that you saved for the data bank register, not the program bank register?

; And restore the previous program bank value.
plb

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.