social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.8K
active users

#VBCC

0 posts0 participants0 posts today

In early years the options for developing software for #Amiga in C meant using a commercial compiler: Manx Aztec C or Lattice C (later SAS/C). Most commonly the C compiler was pirated due to the aspiring devs being just bunch of kids.

Soon Matt Dillon released his freeware DICE C - liberating amiga development from having to resort to commercial software (or piracy). While DICE C wasn't bad by any measure, it wasn't open source, and I remember experiencing some issues with it and having to switch back to SAS/C. Many existing amiga C code targeted Lattice / SAS C and used its amiga specific extensions, making use of DICE bit of a pain.

Around the same time Markus Wild & co created Geek Gadgets (GG) / Amiga Developer Environment (ADE). Rather than writing a full new development tools they opted to porting BSD / #GNU ones: Their #POSIX compatibility library ixemul allowed relatively easy porting of existing tools (mostly ./configure && make - sometimes requiring some minor patches). This allowed use of GNU C compiler (gcc) and other standard GNU tools. However, gcc was way too large and heavy for basic A500 systems.

Later Volker Barthelmann's #VBCC project introduced yet another open source option.

In #MorphOS we use highly expanded ixemul library and latest GNU toolchains (I've ported all recent GCC versions and binutils 2.42).

#ProofOfConcept #WorkInProgress #uxn #varvara #uxncli #CLI #amiga #AmigaOS #m68k #MC68000

`uxncli` ported to AmigaOS (cross-compiled with #VBCC, only things needed changing were POSIX `dirent.h` + `unistd.h` -> AmigaOS `dos.library` calls in the file device). Should be compatible with WB1.3, but I only tested on WB2.04 in FS-UAE so far.

Not fully working yet - `uxncli.68000 hexes.rom < hexes.tal` prints out data, Ctrl-C when done to exit (with exit code 20 indicating failure to the shell), but `uxncli.68000 asma.rom hexes.tal hexes2.rom` returns success (return code 0 printed in AmigaShell), but there is no output `hexes2.rom` file anywhere. Same output text as on Linux, just no output file appears...

```
Loaded asma.rom
0x003e lines of source code.
0x00be bytes of heap used, 0xd22b bytes free.
```