Re: A86:shell writeback


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

Re: A86:shell writeback




why?
maybe it would be easier if you didn't know what bit you had to copy. 
you don't have to copy the code, only the data.  otherwise the only
difference would be that you wouldn't have to add.  ooh, that code
wouldn't quite work, would it.

>>	ld hl,progname
>>	rst 20h
>>	rst 10h			;find program
>>	xor a
>>	ld hl,datalength
>>	call _SET_MM_NUM_BYTES
>>	ld hl,datastart
>>	call _SET_ABS_SRC_ADDR
	ld hl,datastart-$d748
>>	add hl,de		;find data in the program
>>	adc a,b
>>	call _SET_ABS_DEST_ADDR	
>>	call _mm_ldir

that'd work.

-josh

On Tue, 25 Aug 1998 11:16:59 EDT ComAsYuAre@aol.com writes:
>
>couldn't i just recopy the entire contents of _exec_asm_ram to the 
>program
>instead of one particular spot?  wouldn't that be the easiest?
>
>

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


References: