Re: A83: Program Creation and the like


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

Re: A83: Program Creation and the like




thanks...

btw, does that insertmem call increase the leading 2 bytes (programs memory
counter)

or did you mean i could just do:
 ld d,(ix)
 ld e,(ix+1)    ; ix = start of prog
 ld hl,100
 add hl,de
 ld (ix),h
 ld (ix+1),l
 call _insertmem





-Harper Maddox

jerky@ebicom.net
IRC nick: Geori
ICQ: 1214597

-----Original Message-----
From: Linus Akesson <lairfight@softhome.net>
To: Harper Maddox <assembly-83@lists.ticalc.org>
Date: Friday, September 04, 1998 3:04 PM
Subject: Re: A83: Program Creation and the like


>
>On 04-Sep-98, Harper Maddox wrote:
>
>>I finally figured out how to load programs from the vat, with certain
>>characters at the start of the program.  Now im able to display the name
of
>>the program, as well as the memory it takes up.
>>    But what i want to know is how to increase the size of a program.  Can
>>you adjust the size of the program from simply increasing the leading 2
>>bytes of a program?  Im assuming you have to set a few system flags.
>
>Increase those leading 2 bytes, but also _insertmem 2 bytes somewhere
inside
>the program. (hl = 2, de = address)
>
>>Also how do I create a new program? (ie. what are the specific calls)
>
>_createprog, name in OP1, size in hl (? not sure).
>
>Linus
>


Follow-Ups: