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
168
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:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu