-
The following code is used by the (default) CRT startup code when building using ia16-elf-gcc:
https://github.com/tkchia/newlib-ia16/blob/1c38cec61638e54f961731bf28615a91f16454d7/libgloss/ia16/dos-…
-
Example: When building [my examples](https://hg.ulukai.org/ecm/testia16) test number 6 has the following section at the end of the main function:
```
$ ia16-elf-gcc test6.c -Os -S -masm=intel -mcm…
-
Hi,
Since gcc was upgraded to 10.1.0, binutils-ia16 fails to build. Here's a screenshot of the problem:
![Screenshot_2020-05-22_16-22-12](https://user-images.githubusercontent.com/359383/8275552…
-
I only found the "Submodel Options" → "IA-16 Options" in the gcc.info file and that links to "Function Attributes" → "IA-16 Function Attributes". This lists the `cdecl`, `stdcall`, and `regparmcall` a…
-
Hello @tkchia,
I've been thinking further about far code segments, pursuant to our discussion https://github.com/tkchia/build-ia16/issues/14 back in April.
Now, instead of directly pursuing ELKS…
-
Using either option to enable usage of 186+ instructions does not add code to check for an 186. The newlib-ia16 CRT startup code does have such a check but in my tests it was never compiled in: https:…
-
I am used to write assembler code in Intel syntax. NASM supports the "-f as86" output format. I could link this output format with bcc and run the program with ELKS. This is documented in the "elks/Do…
-
Since I have trouble with Kilo and memory allocation and while testing observed some things I could not understand I did some additional tests with the `checkmem.c` test program:
```
/* compile with…
-
Hi @tkcia, does gcc-ia16 support snprintf()? This example will not compile:
compile with: `ia16-elf-gcc -o snprintf snprintf.c -melks-libc -mcmodel=small
`
```/* snprintf example */
#include
…
-
When I execute my c program for ELKS I get the message:
`STACK OVERFLOW BY 376 BYTES`
Can I increase my stack size by e.g. 500 bytes using a parameter when compiling the code?