- SPASM-ng generated Flash application for TI-84+ is not accepted by physical calc
- 06 Jun 2024 03:02:41 pm
This is my assembly code, helloworld.z80:
Code:
I assembled it with SPASM on Ubuntu Server 23.10 using `spasm -I <incdir> helloworld.z80 helloworld.8xk`. I tried transferring the application onto my emulator, TilEm 2.0, and the app sure did work as expected.
However, when I try sending the app to my physical calc via TILP II, it fails with the message "FLASH application rejected (signature does not match)."
I have attempted to get SPASM-ng to output a hex file and manually sign it with rabbitsign instead, but rabbitsign says "application has an incorrect page count (actual: 1)". (???)
How do I create a Flash application for TI-84 Plus with SPASM-ng and possibly Rabbitsign, that works on both TilEm2 emulator and the physical calc?
Code:
.nolist
#include "ti83plus.inc"
#include "app.inc"
.list
defpage(0, "Cubernr2")
main:
bcall(_ClrLCDFull)
ld hl,0
ld (curRow),hl
ld hl,txtHello
call myPutS
bcall(_GetKey)
bjump(_JForceCmdNoChar)
myPutS:
ld a,(hl)
or a
ret z
bcall(_PutC)
inc hl
jr myPutS
txtHello:
.db "Hello world!",0
validate()
I assembled it with SPASM on Ubuntu Server 23.10 using `spasm -I <incdir> helloworld.z80 helloworld.8xk`. I tried transferring the application onto my emulator, TilEm 2.0, and the app sure did work as expected.
However, when I try sending the app to my physical calc via TILP II, it fails with the message "FLASH application rejected (signature does not match)."
I have attempted to get SPASM-ng to output a hex file and manually sign it with rabbitsign instead, but rabbitsign says "application has an incorrect page count (actual: 1)". (???)
How do I create a Flash application for TI-84 Plus with SPASM-ng and possibly Rabbitsign, that works on both TilEm2 emulator and the physical calc?