tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] principle issues with x86 16bit real-mode assembly


From: Liam Wilson
Subject: Re: [Tinycc-devel] principle issues with x86 16bit real-mode assembly
Date: Mon, 25 Nov 2024 19:14:49 +0000

On Mon, 25 Nov 2024 at 02:02, Michael Ackermann via Tinycc-devel
<tinycc-devel@nongnu.org> wrote:

> - interestingly, earlier kernel versions (2.2 iirc) implemented their 16bit
>   real-mode asm bootcode parts with another syntax than GNU gas one

iirc that's as86 from bin86 eg
https://packages.debian.org/buster/bin86 . tcc might be able to
compile that.

> I do not see a realistic chance to salvage 16bit real-mode support with tinycc
> myself; and FYI bootstrappable.org chose a different approach to implement x86
> bootcode with their hex0 languages and loaders.

I assume you have seen
https://github.com/ironmeld/builder-hex0/blob/main/builder-hex0.hex2 ?
That is a kernel for a subset of the Linux syscall interface written
in the the hex2/hex0 languages from
https://github.com/oriansj/stage0-posix-x86 . It might be viable to
port the 16 bit code from the Linux kernel to hex2 or hex0.

Thanks
Liam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]