• Re: How to use SWI names in GCC

    From Alexander Ausserstorfer@3:633/10 to All on Sunday, July 26, 2026 14:48:45
    In article <113i3t2$7la0$1@druck.eternal-september.org>,
    druck <news@druck.org.uk> wrote:
    On 18/07/2026 14:11, Alexander Ausserstorfer wrote:
    For writing page four of part 4 I tried to call the SWI Hourglass_On by
    GCC. I don't found out to do this. I think I have to make the name
    first known to the GCC before calling it but how is to do this? I
    already was be able to compile the mnemonic "swi 0x406C0" with GCC.

    Assembler is complicate. Because you will need a tool to do that. And
    Acorn Assembler (DDE) isn't GCC!

    Just use the OSLib C wrappers for all SWIs, no assembler needed.

    I forgot OSLib. Will try that. Thank for the hint.

    A.

    --
    https://ausserstorfer.4lima.de

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)