pa_makefile is not (fully) broken.

so i was doing some experiments with aslib, got everything working except mp3 streaming.

aslib sends messages to arm7 (because arm7 is the one that can reproduce sounds i think) and will hang if it does not get a response. that means that aslib uses a custom arm7 core which makes sense, even the palib devs told you to uncomment a line in the makefile to make arm7 aslib/maxmod/dswifi work. the palib arm7 cores have been fully broken for a time, do you like colors? yes? if you link any arm7 core and boot up the proyect you will the combination of all the colors on both screens, which is white. nothing else.

so i needed to fix arm7 but to link it to the first place, either i write my own makefile (which i won't), use the "broken" pa_makefile or modify ds_rules. i decided to fix pa_makefile because it is the stupidiest option just kidding, i fixed pa_makefile because palib titles and descriptions have been broken for some time and this is how i can kill 2 birds with one bullet. now to fix it, first of all compiling gives you a error about not being able to find arm-eabi-gcc. arm-eabi-gcc was renamed to arm-none-eabi-gcc, devkitarm does this funnily enough. i changed the prefix to arm-none-eabi-, it compiled, but when i ran the rom it just gave me the combination of red green blue (which is white) on both screens. i sorta didn't knew what to do, i got stuck there for a while and then i thinked about arm7 cores, i saw the extension of the arm7 cores, it wasn't elf, it was bin, the template of nds-examples uses elf, so i instead of linking arm7_mp3.bin i linked default.elf from devkitpro/libnds

it worked. i could use it normally, i wanted to fix aslib. i used the .bin from a older palib install, didn't worked but whatever, i then decided to make a .elf instead of .bin, it is made in the build folder since i didn't wanted to mess with makefiles anymore, i went to the build folder and for every change i had to extract it and rename it, after linking that elf binary it didn't crashed, i tried aslib functions and it didn't hang forever, soundfx were fine but mp3 streaming crashes everything defeating the entire porpuse of why i use palib in 2023, anyways no pain == no gain so i tried my best, it does not crash anymore but it does not reproduce sound.

most of palib makefile worked, it was just the compilers and the arm7 binaries that i had to change. idk if im gonna fix aslib but we will see.

Comments

There are no comments to display.

Blog entry information

Author
Deleted member 591971
Views
175
Last update

More entries in Personal Blogs

More entries from Deleted member 591971

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==