Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Adding waveform switching to channel 3 HOT 1
- How to use with GBDK 2020 on linux? HOT 5
- Support for RGB9, revision 8 HOT 4
- Multiple feature requests HOT 1
- Implement compression for patterns HOT 1
- Compatibility with FXHammer HOT 2
- GBA support HOT 8
- Remove "generalized" stuff HOT 1
- Set whether to loop; and get whether it's finished
- GBDK example sample song is outdated HOT 1
- Error with add_VBL in gbdk_player_example.c HOT 1
- rgb2sdas Conflicting sdcc options HOT 1
- SGB Support? HOT 1
- Swing mode HOT 1
- Starting a song in an arbitrary position. HOT 4
- Issue with Note Delay HOT 2
- music credit HOT 1
- Support for RGB9, revision 7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugedriver.