Join us on Discord!
You can help CodeWalrus stay online by donating here.

(Solved) Axe Parser - NOT ENOUGH ROM error

Started by JWinslow23, March 16, 2016, 07:04:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JWinslow23

I'm trying to compile a program into an application with Axe Parser. It works fine in program mode, but when I try to compile it, it errors out after the 1st and 2nd pass with a "NOT ENOUGH ROM" error. I have 24KB of RAM and 52KB of archive available, so I don't know where this error is coming from. Any help?

Dream of Omnimaga

What calc is that by the way? I know that TI-Connect sometimes told me I don't have enough ROM when sending a program, even if I had like 100 KB free, and garbage collecting fixed it. Other times it didn't, though, such as with TI-Boy SE ROMs, and I had to delete then resend stuff.

The best thing would be that you make sure to have over 200 KB of flash left. But if that also fails then someone with Axe experience would have to help you. *pokes @Hayleia since he made apps before*
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

JWinslow23

Quote from: DJ Omnimaga on March 16, 2016, 08:35:24 AM
What calc is that by the way? I know that TI-Connect sometimes told me I don't have enough ROM when sending a program, even if I had like 100 KB free, and garbage collecting fixed it. Other times it didn't, though, such as with TI-Boy SE ROMs, and I had to delete then resend stuff.

The best thing would be that you make sure to have over 200 KB of flash left. But if that also fails then someone with Axe experience would have to help you. *pokes @Hayleia since he made apps before*
Garbage collecting does not help.

By the way, this is with any Axe program I try to compile as an application. Even something as simple as
.HELLO
Disp "HELLO",i

Dream of Omnimaga

Could it be a calculator defect, corrupted flash or something? My 83+ never could compile any app for some reasons, regardless of the OS and even after a full reset, and back then someone else had that issue with his 84+. But back then, our calc would freeze during compiling or not generate any app instead of throwing an error. Have you tried on an emulator?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

JWinslow23

#4
It just throws an error for me. And on an emulator, it also throws a "NOT ENOUGH ROM" error with all the files on my calc transferred onto it. I know I used to be able to compile apps no problem (look at Cookie Clicker Axe :P ).


Ivoah

  • Calculators owned: TI-86 (now broken), TI SR-56, TI-Nspire CX CAS, TI-84+ SE, TI-84+ SE, TI-85, TI-73 Explorer VS, ViewScreen, TI-84+ CSE, TI-83+ SE


Snektron

  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Glad tgat this was solved. It seems that Axe is picky about how much ROM you need to build apps.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Hayleia

Quote from: Ivoah on March 16, 2016, 12:11:37 PM
Quote from: DJ Omnimaga on March 16, 2016, 08:35:24 AM*pokes @Hayleia since he made apps before*
Um, isn't @Hayleia a girl?
Quote from: JWinslow23 on March 16, 2016, 01:54:06 PM
Quote from: Ivoah on March 16, 2016, 12:11:37 PM
Quote from: DJ Omnimaga on March 16, 2016, 08:35:24 AM*pokes @Hayleia since he made apps before*
Um, isn't @Hayleia a girl?
I actually used to think that. But no.
Some people think they know, some others admit that they don't :P

Anyway, I think the problem was that you had enough ROM... in total, but not enough consecutive ROM. Since apps take full pages, they need full pages to be empty. If you have 50KB but all your pages have one byte used, you can't put an app anywhere :P
Or something like that.

Dream of Omnimaga

Aren't you a :walrii: @Hayleia ? :P

And yeah I wasn't sure how to explain it, but I meant consecutive ROm indeed, which GC didn't always solve. I assume that all of @JWinslow23 flash pages had something in it and that this caused the issue?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U


Hayleia

Quote from: DJ Omnimaga on March 17, 2016, 04:50:42 PM
Aren't you a :walrii: @Hayleia ? :P
Nope, see my sig, I'm a :P

Quote from: JWinslow23 on March 17, 2016, 08:52:31 PM
Oh? How do I clean that up, then?
Not entirely sure about that or about the fact it fixes the current problem, but I think deleting an app and coming back to the homescreen triggers defragmenting (not garbage collecting, defragmenting). Then yeah, you'd have to transfer the app again.

JWinslow23

Thank you for that. Triggering the defragmentation process makes sense, because from what I understand, it would take out-of-sequence memory and put them all together, leaving free space at the end.

Powered by EzPortal