> In the meantime, all arachne users have FIXMEM.exe in SYSTEM\DGI.
> Pick up MY 500 byte fixmem.com at:

what is this fixmem program doing?

> As I said, I was struggling with "C".
> The first example program is, of course, "Hello world".
> It's an 8884 byte exe.

> Here's my ASM version - just type it into debug.
> BTW, I just wrote it that way - all 23 bytes.
> Hello.com:

sure, I am not sure how to use this debug but I made it up as I went
along, couple of reboots later and it does seem to work. I worked out
enough to disassemble the code and you load the address of the string
into one register, then load a number 9 into another then cause an
interrupt (21) to make it print (?) then another (20) to exit (?)
(I find this wasting of interrupt time to be very distasteful btw)
(small endian m/c is a bit funny too!). what is the 9 for? and the last
byte (24) ?

so, write *that* program in C (I have no C compiler on this) and compile
it to the .o stage, then link it with no startup code or libraries and
tell us how big that program is, rather than the one you wrote that
looked similar but used high level libraries. Maybe you can do better
than 8k second time around :)

btw I dont know the difference between a .com and a .exe program!

iain

Reply via email to