-
This little piece of code:
```
int main(void)
{
char __far *a, *b;
return sizeof(a) == sizeof(b);
}
```
returns 1 for gcc-ia16 (both `a` and `b` are far pointers) but 0 for Open Watcom (on…
-
Since commit b898f780151db6 this code does not compile any more:
```
char __far *inc(char __far *p)
{
return &p[1];
}
```
```
tst3.c: In function ‘inc’:
tst3.c:4:1: error: unrecognizabl…
-
It would be nice and may not be too hard to implement -mrtd (as already implemented for i386) where functions issue "ret n" instructions, so the callee pops the stack. The FreeDOS kernel saves space u…
-
Background: I managed to compile the FreeDOS kernel now but its size (81K) is bigger than both the Open Watcom C (70K) and Turbo C 2.01 (80K) compiled versions. I am looking for some optimization oppo…
-
I wrote a simple program [`qux.c`](https://github.com/crtc-demos/newlib-ia16/files/923769/qux.c.txt) (linked) which just does a `printf` and exits. When compiled, the `.com` file starts
```asm
xor…
-
It would be really nice if there were GAS syntax support, since this would allow using the IA16 port of GCC for compiling, and OpenWatcom for assembling and linking: [How do I assemble GAS assembly an…