Giter Club home page Giter Club logo

Comments (7)

SuperDisk avatar SuperDisk commented on September 18, 2024

What's the benefit of having a fixed set of addresses to call? I'm not sure what you mean by the two bullet points.

from hugedriver.

basxto avatar basxto commented on September 18, 2024

You can update and build the player separately, these addresses just have jumps to the real functions.

The point of the second bullet point is this:
The hUGEDriver bank could be built with rgbds and later concatenated to the rom.
sdasgb, asgb and other assemblers only need to know the bank number and the addresses within the bank to interface with the driver.
If the tracks are also placed at a predefined position, that would even allow to supply a prebuilt player and just patch in the music. Or to update the player without touching the music and the rest of the rom.

from hugedriver.

SuperDisk avatar SuperDisk commented on September 18, 2024

But why would you want to do that? You can convert hUGEDriver to sdas's native format with rgb2sdas and then not have to deal with concatenation or anything.

from hugedriver.

basxto avatar basxto commented on September 18, 2024

It does not work with SDCC 4.2.0

?ASlink-Warning-Conflicting sdcc options:
   "-mgbz80" in module "hUGEDriver_obj" and
   "-msm83" in module "sdcc_player_example".
?ASlink-Warning-Conflicting sdcc options:
   "-mgbz80" in module "hUGEDriver_obj" and
   "-msm83" in module "sample_song".

from hugedriver.

SuperDisk avatar SuperDisk commented on September 18, 2024

Yeah, it looks like SDCC has renamed gbz80 to sm83. I ran into this exact issue actually while compiling the GBDK toolchain the other day. The current release of GBDK doesn't support SDCC 4.2.0, so I'll update the tool once it switches over.

from hugedriver.

basxto avatar basxto commented on September 18, 2024

Iā€™m writing wrappers for the new calling convention and an example for pure SDCC (no interaction, display, interrupts, just music).
It looks like you can just drop the O line. But Iā€™m not 100% sure if this could affect banking behavior or if it just depends on the name of sdld(gb).

from hugedriver.

SuperDisk avatar SuperDisk commented on September 18, 2024

I think with the updated rgb2sdas this shouldn't be an issue now. Please let me know and reopen if that's not the case.

from hugedriver.

Related Issues (19)

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.