SD: what is wrong with this code?


[Prev][Next][Index][Thread]

SD: what is wrong with this code?




l am working to port the Basic shell WinSCAPE into assembly language on the
TI-86.  l am having some trouble and there are a few things l don't
understand...so please tell me the answers to some common things if you know
them.  l am having trouble getting the correct text to display in the proper
place...all l get now is "E*0JSETUP" near the top center in little text when l
need "SETUP" placed at the pen locations below without all the funny
characters preceeding it.  "File" doesn't even show up.

What is wrong with this code?

ld hl,40
   ld (_penRow),hl
   ld hl,40
   ld (_penCol),hl
   ld hl,START
   call _vputs
   ld hl,20
   ld (_penRow),hl
   ld hl,20
   ld (_penCol),hl
   ld hl,FILE
   call _vputs
START:
   .db "START",0
FILE:
   .db "FILE",0
ret


Also, later after running this program l just did this on the homescreen:
7D>Hex
so l could maybe edit the assembly program on the calculator later to add
stuff while in class but it froze and turned off.

Any help would be appreciated!
>>TurboSoft