Re: A83: Program Creation and the like


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

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


References: