Re: A86: running a BASIC program


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

Re: A86: running a BASIC program




this should be one byte smaller.

> ;OP1 = prog name
> exec_basic:
>  bit ProgramExecuting,(iy+NewDispf)
>  push af
>  set ProgramExecuting,(iy+NewDispf)
>  call _clrWindow     ;optional
>  call _runIndicOn    ;optional
  ld hl,(_JforceCmdNoChar+1)
  push hl
>  call _PARSEINP
>  in a,(5)
>  cp $0d
  ret nz
  pop hl
>  pop af
>  ret nz
>  res ProgramExecuting,(iy+NewDispf)
>  ret

what difference does that flag make anyway?

-josh

On Mon, 20 Mar 2000 18:29:04 +0300 "Clem" <darkclem@wanadoo.fr> writes:
> 
> > how would I run a BASIC program from an assembly program?
> 
> Here is the routine I use, it's bug free I think, and it's safe:
> 
> 
> ---
> Clem Vasseur <darkclem@wanadoo.fr>
> Icarus Productions <http://icarus.ticalc.org>
> 
> 

________________________________________________________________
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.


Follow-Ups: