Author Topic: [help] App Signing, SPASM  (Read 3880 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4678
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
[help] App Signing, SPASM
« on: February 09, 2016, 10:14:48 am »
My computer is a Rasberry Pi with Debian, and I'm trying to create and sign apps with SPASM. Unfortunately I get the error that appsigning isn't available in my build of Spasm. So then I installed rabbitsign, but rabbitsign says the number of app pages is wrong and when I try to send the resulting file to the calc, it has an error.

Can anybody help me? And is it possible for spasm to do it all (I know that's what I used to do with my old computer).

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [help] App Signing, SPASM
« Reply #1 on: February 09, 2016, 10:51:09 am »
Rabbitsign should work, looks to me like your app hearder might be wrong.
How does your app header look like? (and how many pages is the app?)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4678
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: [help] App Signing, SPASM
« Reply #2 on: February 09, 2016, 11:13:51 am »
It's a one-page app and I'm using spasms app.inc stuff.
Code: [Select]
#include "app.inc"
#include "ti83plus.inc"
#include batlib.inc"
defpage(0,"Batlib")
<code>
validate()

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [help] App Signing, SPASM
« Reply #3 on: February 09, 2016, 11:18:09 am »
I don't know about spasm, but with brass I still had to add an app header, soemthing like
Code: [Select]
#define APPNAME "Reuben 3"
#define APPPAGES 3
.db 080h,0Fh    ;Field: Program length
.db   00h,00h,00h,00h ;Length=0 (N/A for unsigned apps)
.db 080h,012h    ;Field: Program type
.db   01h,04h  ;Type= Shareware, TI-83Plus
.db 080h,048h    ;Field: App Name
.db APPNAME
.db 080h,081h    ;Field: App Pages
.db APPPAGES
.db   0,0,0,0    ;Length=0, N/A
.db   0,0,0,0    ;Reserved
.db   0,0,0,0    ;Reserved
.db   0,0,0,0    ;Reserved

<now the normal code starts here>
Maybe something like that would work so that rabbit can sign it

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4678
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: [help] App Signing, SPASM
« Reply #4 on: February 10, 2016, 09:38:32 am »
Just as an update: After doing a lot of stuff on IRC, it was still being stubborn, but then it decided to work. Still not sure why. Yay?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [help] App Signing, SPASM
« Reply #5 on: February 10, 2016, 11:05:20 am »
Mind posting the app header you are currently using?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4678
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: [help] App Signing, SPASM
« Reply #6 on: February 11, 2016, 06:22:59 am »
I'm using the one found here.
Much tinier than ones I've used in the past.

Offline NanoWar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 140
  • Rating: +18/-6
    • View Profile
Re: [help] App Signing, SPASM
« Reply #7 on: March 23, 2016, 08:21:32 am »
You should really try to compile a newer version of spasm. You could try and grab the sources here: https://github.com/NanoWar/spasm-funk/

I think you need to install libgmp-dev and libssl-dev to be able to compile it.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4678
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: [help] App Signing, SPASM
« Reply #8 on: March 29, 2016, 07:26:19 am »
Thank's, I'll give it a try when I get a moment!