Re: A86:OnTemp.asm


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

Re: A86:OnTemp.asm




well, this was back when people were trying to figure out how to call
basic programs from shells, but the same should apply.  i suggested doing
this:
	ld hl,(_OPBASE)
	push hl
	ld hl,(_FPBASE)
	push hl
	ld hl,(_OPS)
	ld (_OPBASE),hl
	ld hl,(_FPS)
	ld (_FPBASE),hl
	;; run basic prog
	pop hl
	ld (_FPBASE),hl
	pop hl
	ld (_OPBASE),hl

because the only difference between stop and return is that stop resets
the op and fp stacks back to the base pointers.
kirk said it would probly do something nasty, but i'm not sure how and i
don't know if anyone actually tried it.

-josh


On Sat, 15 Jan 2000 08:41:13 EST ComAsYuAre@aol.com writes:
>
>In a message dated 1/15/00 12:16:57 AM Eastern Standard Time, 
>rabidcow@juno.com writes:
>
>> did anyone ever try saving the op stack pointers?  does that work?
>>  
>
>How would you go about doing that?
>
>
>----
>Jonah Cohen
><ComAsYuAre@aol.com>
>http://linux.hypnotic.org/~jonah/ (down)
>

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