Hey, I'm having some trouble getting an app to display my splash screen. It actually just quits, similar to a msd8x super-error where the cursor appears on the applications menu. Here's the source, ZDS formatted:

Code:
 nolist
 include "ti83plus.inc"
 list

 include "header.asm"

Init:
   bcall ClrLCDFull
   ld hl, SplashScreen
   ld bc, plotsscreen
   ld de, 768h
   ldir
   bcall BufCpy
   bcall GetKey
   bjump JForceCmdNoChar

SplashScreen:
   Image1_Layer1:
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,007h,001h,0C0h,000h,000h,000h,030h,000h,000h,000h,000h,000h
   db 007h,001h,0C0h,000h,000h,000h,030h,000h,000h,000h,000h,000h,00Fh,003h,0C0h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,00Fh,003h,0C0h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,00Fh,007h,08Fh,0C3h,0F0h,0FCh,063h,0F0h,000h,000h,000h,000h
   db 00Dh,00Fh,09Ch,0E3h,039h,0CEh,067h,038h,000h,000h,000h,000h,00Dh,08Dh,0B8h,063h
   db 01Bh,086h,066h,018h,000h,000h,000h,000h,01Dh,09Dh,0B0h,063h,080h,00Eh,06Eh,000h
   db 000h,000h,000h,000h,019h,09Bh,0B0h,063h,0E1h,0FEh,0ECh,000h,000h,000h,000h,000h
   db 019h,0B3h,030h,060h,0F3h,08Ch,0CCh,000h,000h,000h,000h,000h,019h,0B3h,030h,06Ch
   db 037h,00Ch,0CCh,030h,000h,000h,000h,000h,019h,0E3h,030h,0EEh,037h,01Ch,0CEh,030h
   db 000h,000h,000h,000h,038h,0E3h,03Fh,0C7h,073h,0FCh,0C7h,0E0h,000h,000h,000h,000h
   db 030h,0C6h,01Fh,083h,0E3h,0EDh,0C3h,0C0h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,00Fh,03Ch,037h,0E7h,0E0h,000h,000h,000h,000h,000h,000h,000h,019h
   db 064h,036h,034h,000h,000h,000h,000h,000h,000h,000h,003h,0F9h,044h,036h,034h,000h
   db 000h,000h,000h,000h,000h,000h,000h,0CFh,044h,036h,017h,0E0h,000h,000h,000h,000h
   db 000h,000h,000h,099h,044h,036h,016h,000h,000h,000h,000h,000h,000h,000h,001h,011h
   db 0E4h,036h,034h,000h,000h,000h,000h,000h,000h,000h,003h,019h,064h,036h,066h,000h
   db 000h,000h,000h,000h,000h,000h,003h,0EFh,038h,037h,0C7h,0E0h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h,000h,000h,000h,000h,07Fh,0FFh,0F0h,000h,000h,000h,000h,000h
   db 000h,000h,000h,003h,0FFh,0FFh,0FEh,000h,000h,000h,000h,000h,000h,000h,000h,006h
   db 000h,000h,003h,000h,000h,000h,000h,000h,000h,000h,000h,01Ch,000h,000h,001h,0C0h
   db 000h,000h,000h,000h,000h,000h,000h,010h,003h,080h,0E0h,040h,000h,000h,000h,000h
   db 000h,000h,000h,030h,003h,080h,0E0h,020h,078h,000h,003h,0C1h,088h,002h,080h,060h
   db 007h,081h,0E0h,030h,04Dh,0B4h,0A2h,06Eh,093h,02Ah,0C0h,040h,007h,081h,0E0h,010h
   db 045h,06Dh,0A2h,02Ah,0D6h,0AAh,080h,040h,007h,083h,0C0h,018h,045h,07Bh,0E2h,03Eh
   db 073h,0AAh,080h,0C0h,006h,087h,0C0h,018h,04Dh,04Bh,0C2h,07Ah,064h,0AAh,080h,0C0h
   db 006h,0C6h,0C0h,018h,079h,03Bh,043h,0CEh,067h,0BAh,0C0h,0C0h,00Eh,0CEh,0C0h,018h
   db 000h,000h,000h,000h,000h,000h,000h,0C0h,00Ch,0CDh,0C0h,018h,000h,000h,000h,000h
   db 000h,000h,000h,040h,00Ch,0D9h,080h,010h,001h,0E0h,0F1h,083h,0F0h,010h,000h,060h
   db 00Ch,0D9h,080h,030h,003h,021h,093h,082h,030h,010h,000h,020h,00Ch,0F1h,080h,020h
   db 04Eh,021h,013h,082h,033h,09Bh,0E0h,030h,01Ch,071h,080h,060h,04Eh,021h,011h,083h
   db 0F6h,052h,020h,018h,018h,063h,000h,0C0h,06Ah,021h,011h,082h,037h,0D1h,0E0h,00Eh
   db 000h,000h,003h,080h,03Bh,021h,091h,082h,014h,013h,020h,003h,0FFh,0FFh,0FEh,000h
   db 033h,021h,091h,083h,036h,05Ah,060h,000h,0FFh,0FFh,0F8h,000h,031h,0C4h,0E1h,083h
   db 0E3h,09Fh,0E0h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h,000h
   db 000h,000h,000h,000h

I tried GrBufCpy too, but to no avail.
You mixed up BC and DE before your LDIR, and you need to use _GrBufCpy to update the screen.
there's actually a way to do that with the API. It's really ghetto, I wouldn't use it.
Thanks calc84maniac
Will_W wrote:
there's actually a way to do that with the API. It's really ghetto, I wouldn't use it.
There's also a way to do it with the DCS6 GUI, if you wanted. Smile
Notice the .org is missing, a file called "header.asm" is included, and I use JForceCmdNoChar instead of ret Wink
I just got around to fixing that code, and no go
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement