Re: building pilos

2023-10-05 Thread C K Kashyap
>
>
>
> > (using UART for io using --serial stdio option in qemu). The drivers/rest
> > of the kernel infrastructure could then be crowd sourced :)
>
> Will you give it a try?
>

I think that I am close to doing it with miniPicoLisp :)



> You mean Pil64 and PilOS? (Beause pil21 has no assembly sources)
>
> The sources of Pil64 and PilOS *are* Lisp files. They are evaluated via
> 'load'
> in "src64/mkAsm.l". That's why I said in the last mail that a running
> PicoLisp
> is nneded to bootstrap the build.
>
>
I think I misunderstood. I'll get back to this later.

Regards,
Kashyap

>
>


Re: building pilos

2023-10-05 Thread Alexander Burger
On Thu, Oct 05, 2023 at 08:53:23AM -0700, C K Kashyap wrote:
> How about something that runs on qemu using a bootloader like limine/grub?
> It could be really vanilla without even the need for a keyboard driver
> (using UART for io using --serial stdio option in qemu). The drivers/rest
> of the kernel infrastructure could then be crowd sourced :)

Will you give it a try?


> Btw .. perhaps you have already answered this but, does it make sense to
> have a different extension for the assembly files? Technically, I don't
> believe that they are plicolisp sources right?

You mean Pil64 and PilOS? (Beause pil21 has no assembly sources)

The sources of Pil64 and PilOS *are* Lisp files. They are evaluated via 'load'
in "src64/mkAsm.l". That's why I said in the last mail that a running PicoLisp
is nneded to bootstrap the build.

☺/ A!ex


-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: building pilos

2023-10-05 Thread C K Kashyap
How about something that runs on qemu using a bootloader like limine/grub?
It could be really vanilla without even the need for a keyboard driver
(using UART for io using --serial stdio option in qemu). The drivers/rest
of the kernel infrastructure could then be crowd sourced :)

Btw .. perhaps you have already answered this but, does it make sense to
have a different extension for the assembly files? Technically, I don't
believe that they are plicolisp sources right?

Regards,
Kashyap


On Thu, Oct 5, 2023 at 8:03 AM Alexander Burger 
wrote:

> On Thu, Oct 05, 2023 at 07:32:26AM -0700, C K Kashyap wrote:
> > Any chance that we could expect a pil21 based pilos?
>
> This would indeed be fascinating. Perhaps there is some LLVM backend to
> Verilog?
> But PilOS is a huge task, and needs lots of drivers etc. for some target
> hardware. I have no hope for the near future.
>
>
> > I had not been watching pil21 for a while - I looked at it now and I
> really
> > liked "lib.c" :)   If I understood right, then all the platform
> > dependencies are in there (atleast as far as the picolisp executable)
>
> Yes, this is correct. In that way it is possible to distribute the
> pre-built
> *.ll files, and a running PicoLisp is no longer needed to bootstrap the
> build.
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: building pilos

2023-10-05 Thread Alexander Burger
On Thu, Oct 05, 2023 at 07:32:26AM -0700, C K Kashyap wrote:
> Any chance that we could expect a pil21 based pilos?

This would indeed be fascinating. Perhaps there is some LLVM backend to Verilog?
But PilOS is a huge task, and needs lots of drivers etc. for some target
hardware. I have no hope for the near future.


> I had not been watching pil21 for a while - I looked at it now and I really
> liked "lib.c" :)   If I understood right, then all the platform
> dependencies are in there (atleast as far as the picolisp executable)

Yes, this is correct. In that way it is possible to distribute the pre-built
*.ll files, and a running PicoLisp is no longer needed to bootstrap the build.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: building pilos

2023-10-05 Thread C K Kashyap
Thanks Alex,
Any chance that we could expect a pil21 based pilos?

I had not been watching pil21 for a while - I looked at it now and I really
liked "lib.c" :)   If I understood right, then all the platform
dependencies are in there (atleast as far as the picolisp executable)


On Thu, Oct 5, 2023 at 2:09 AM Alexander Burger 
wrote:

> Hi Kashyap,
>
> > It looks like pilos build may be broken :( I think it has dependency on
> > pil64.
>
> This may well be. PilOS is built by PicoLisp, and is a modified and
> partially
> scaled down version of Pil64.
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: building pilos

2023-10-05 Thread Alexander Burger
Hi Kashyap,

> It looks like pilos build may be broken :( I think it has dependency on
> pil64.

This may well be. PilOS is built by PicoLisp, and is a modified and partially
scaled down version of Pil64.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


building pilos

2023-10-04 Thread C K Kashyap
Hey Alex,
It looks like pilos build may be broken :( I think it has dependency on
pil64.
I will take a look more later but it would be great if you could share the
updated instructions :)
Regards,
Kashyap