Giter Site home page Giter Site logo

brewbase-gb's People

Contributors

kmeisthax avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

brewbase-gb's Issues

Wide/Sparse fonts

Currently, TextServices assumes fonts have a contiguous array of glyphs and metrics. This poses an upper limit on the size of a font's glyphs and metrics to 16kb. In the worst-case scenario of a 16x16 font, we can only fit 512 glyphs per bank, which is a hard limit on how many glyphs may exist per font. Depending on the language of the homebrew developer, there may be reasons to have more than 512 glyphs in a font, such as writing their game in kanji.

To solve this, changes need to be made to the font structure and related code:

  1. The font glyph base pointer needs to be replaced with a length-bounded table of glyph header structures. Each glyph header contains a base glyph ID, glyph count, and far pointer to the graphics data.
  2. The font metrics base pointer needs to be replaced with a length-bounded table of metrics header structures with the same format as the glyph header structure.

Input handling

We don't have a lib for input handling, so programs have to read REG_P1 directly. Not a good idea, as there's various considerations for input handling we need to watch for. We need a lib for input handling with the following features:

  • Debounce
  • Changed vs. held checks ("half-A" presses)
  • Typematic checks (hold a button to register periodic presses)
  • Input instrumentation (simulated input, replay/demos/etc)
  • Multiple controller input (SGB mode, inputs from other Gameboys sent via SIO, etc)

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.