A86: Launch Pad stuff
[Prev][Next][Index][Thread]
A86: Launch Pad stuff
Hello again!!
Thanks to all who sent me input on Launch Pad. I have made a bunch of
changes, and now the program is much more stable.
It still doesn't work with Rascall, but i made it so that it detects
Rascall, but will not run it. If SCaBBy is reading this, please tell me
why this is so.
Now, I am trying to make a user on routine which will start up Launch Pad
when you turn the calc on. However, it is having a really tough time
working. First of all, it puts the flashing cursor up in the top, left
hand corner of the Screen. To fix this, i just moved the damn _curRow off
of the screen, which seemed to work fine. Then when i tried to run a shell,
the calc went into spasms, gave me an error 15 memory, and when i hit
"Quit", it shut down. I had to pull my backup battery twice to reset the
damn thing.
Could Someone tell me what is wrong with the code?
launcher.86p
#include "asm86.h"
#include "ti86asm.inc"
_alt_on_chksum equ $d48f
_alt_on_exec equ $d490
_exec_basic equ $4C57
.org _asm_exec_ram
ld hl,alt_on
ld de,_alt_on_exec
ld bc,alt_on_end-alt_on
ldir
ld a,(_alt_on_exec)
ld hl,_alt_on_chksum+($28*1)
add a,(hl)
ld hl,_alt_on_chksum+($28*2)
add a,(hl)
ld hl,_alt_on_chksum+($28*3)
add a,(hl)
ld hl,_alt_on_chksum+($28*4)
add a,(hl)
ld hl,_alt_on_chksum+($28*5)
add a,(hl)
ld (_alt_on_chksum),a
set 3,(iy+$23)
ret
alt_on:
ld hl,$1515
ld (_curRow),hl
ld hl,LaunchName
rst 20h
rst 10h
jp c,Error
call _exec_assembly
call _clrScrn
ld hl,$0000
ld (_curRow),hl
ret
Error:
call _clrScrn
ld hl,$0000
ld (_curRow),hl
ld hl,ErrorMsg
call _puts
ret
ErrorMsg:
.db "Launch Pad Not Found!",0
LaunchName:
.db $12,$08,"launcher",0
alt_on_end:
.end
CHICANE
ICQ: #14727618
chicane on EFNET #ti
Homepage: Under Construction.
Follow-Ups: