Re: A86:New in town


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

Re: A86:New in town




> 
> ld hl,file1

you want file1-1 here.
the first byte in op1 is the var type (which can be ignored in this
case), the second is the length of the name, which is where file1 needs
to start.

> call _mov10toop1

rst $20 would do this in less space

> call _exec_basic

make sure you have a ret after this, or use jp instead of call on that
last one.

_exec_basic isn't entirely safe to use, tho.  basic programs that contain
the "stop" instruction will cause bad things to happen, such as your nose
turning green and the sun exploding.  you never quite know which.

-josh

> 
> file1:
> .db 6,"AShell"
> 
> 


________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.