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
178
Last update

More entries in Personal Blogs

More entries from Deleted member 591971

Share this entry

General chit-chat
Help Users
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +2
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    +4
  • BakerMan @ BakerMan:
    oh yeah i don't use weed,in my baking or in general
  • BakerMan @ BakerMan:
    besides isn't it usually gummies or brownies?
  • AncientBoi @ AncientBoi:
    So, make a "New Trend"
  • BakerMan @ BakerMan:
    i just said i don't use weed
  • BigOnYa @ BigOnYa:
    You can add it in anything really, you can even make a butter/oil with it, then use that oil in anything
  • BakerMan @ BakerMan:
    besides i'm literally a minor and neurodivergent, so telling me to make a cake with cannabis is traumatizing me, ur cancelled buddy /s/srs
  • BakerMan @ BakerMan:
    (nah jk i'm just parodying those "i'm literally a minor and neurodivergent" mfs on twitter)
    +1
  • BigOnYa @ BigOnYa:
    Michigan has legal rec, so you only have few more years, is it 18 or 21 up there? 21 here in Ohio.
  • BakerMan @ BakerMan:
    prob 21, idk tho
    +1
  • ZeroT21 @ ZeroT21:
    Guess I'll go with plan B and make a Rum Vanilla flavored ice cream
    +1
  • BigOnYa @ BigOnYa:
    That sounds damn good.
  • AncientBoi @ AncientBoi:
    Nah. Tequila maybe
  • AncientBoi @ AncientBoi:
    That, or Old No. 7
  • BigOnYa @ BigOnYa:
    I'm ashamed to ask, but what is old no 7?
  • AncientBoi @ AncientBoi:
    Jack Daniels
    +2
  • BigOnYa @ BigOnYa:
    Oh yea, duh
    +1
  • BigOnYa @ BigOnYa:
    I still have some old no 7, bout to mix with some coke, and get "California Sober".
    +2
  • AncientBoi @ AncientBoi:
    lol, I finally got you to Enjoy a Coc Tail :tpi::rofl2::tpi:
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 oh i bet some rum raisin ice cream is so good

    i don't drink, but some rum ice cream might be good
    +1
  • BigOnYa @ BigOnYa:
    Rum pecan ice cream is the bomb. Never had rum raisin, but bet be good. My homemade ice cream machine started rust inside so I pitched it, but gotta get a new one, miss making my own ice cream, esp with booze.
    +1
    BigOnYa @ BigOnYa: Rum pecan ice cream is the bomb. Never had rum raisin, but bet be good. My homemade ice cream... +1