Code Monkey home page Code Monkey logo

noop's People

Contributors

andre-paris avatar

Watchers

 avatar  avatar

noop's Issues

Quickfix for ROM fields

Implement quickfix for:

  • insert missing @*-ROM on file includes
  • turn non-constants ROM fields into constants

Array of files dont include them

When do
$roms @PRG-ROM : ["file://foo.asm", "file://bar.asm"]
exprected

$roms:
    .incbin "path/to/foo.asm"
    .incbin "path/to/bar.asm"

got

$roms:
    .db $00, $01, ....
    .db $0A, $00, ...

Assignment from unbounded array copy only 1 element

Today an array assignment copies rhs length elements. But the copy only take into account bounded arrays (unbounded are treated as 1 length)
To do: copy the min between lhs length and rhs length elements. Must works for bounded and for unbounded as well

Tag for registers/ports

Create the tag @Port to allow constants receive a value.
When write to a port:

LDA foo
STA MyPort ; instead of STA #MyPort
When read from a port:
LDA MyPort; instead of LDA #MyPort

Refactor the Game/INESHeader classes

Refactor only INESHeader class:

  1. Remove INESHeader class
  2. Move all fields from INESHeader to Game as constants

Refactor INESHeader and Game classes:

  1. Remove INESHeader and Game classes
  2. Create tags for all INES fields. ex.: as @INES_MAPPER
  3. Create tags for all Game methos. ex.: @Reset

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.