Re: LZ: ZShell to Usgard converter?


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

Re: LZ: ZShell to Usgard converter?



> Would it be possible to make a program in C or assembly or Pascal or
> whatever and search for certain things like
> 	ld de,(PROGRAM_ADDR)
> 	ld hl,?????????
> 	add hl,de
> (and all other possible variants) in a 85s file, then convert it to 
> 	ld hl,&?????????
> so it would be readable by Usgard?  (Of course, you would have to

I don't think so. Mainly because ld de,(PROGRAM_ADDR), add hl,de  is 
some bytes longer than ld  &, . So it would mess up all relative 
jumps. Of course, the program could try to fix them also; but it can 
never know if it really is code and not data. So the results might 
not be very good. And it's rather easy to convert old programs 
manually.


Follow-Ups: References: