Re: PilOS Boot Issues

2015-06-29 Thread Alexander Burger
On Mon, Jun 29, 2015 at 08:02:06PM +0200, Alexander Burger wrote:
> It seems that virtualbox doesn't support BIOS 0x13 interrupts for
> "Extended Read Sectors" calls.
> 
> 
> > It still freezes on the black screen Loading PilOS
> 
> We guessed that from the fact that this message appears, but not the
> following "Checking long mode".

And, for Virtual PC, we get a "READ ERROR 01" which means "Invalid
command" (https://en.wikipedia.org/wiki/INT_13). Same.

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


Re: PilOS Boot Issues

2015-06-29 Thread Alexander Burger
Hi Joe,

> The new version boots fine on qemu under windows 7 x64. Under
> virtualbox on the same platform, get stuck with a black screen that
> says Loading PilOS with nothing else displayed

For the mailing list: We discussed this in IRC just now.

It seems that virtualbox doesn't support BIOS 0x13 interrupts for
"Extended Read Sectors" calls.


> It still freezes on the black screen Loading PilOS

We guessed that from the fact that this message appears, but not the
following "Checking long mode".

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


Re: PilOS Boot Issues

2015-06-29 Thread Joe Bogner
Hi Alex,

The new version boots fine on qemu under windows 7 x64. Under
virtualbox on the same platform, get stuck with a black screen that
says Loading PilOS with nothing else displayed

This is how I converted the image

"c:\Program Files\qemu\qemu-img.exe" convert -O vmdk x86-64.img  x86-64.vmdk

The symptoms are the same when I use vboxmanage to convert:

c:\Program Files\Oracle\VirtualBox\VBoxManage.exe convertfromraw
x86-64.img x86-64_vbox.vmdk --format VMDK
Converting from raw image file="x86-64.img" to file="x86-64_vbox.vmdk"..
Creating dynamic image with size 684032 bytes (1MB)...

It still freezes on the black screen Loading PilOS


On Mon, Jun 29, 2015 at 9:55 AM, Alexander Burger  wrote:
> Hi all,
>
> it seems that there are still problems with booting PilOS.
>
> While it works for me (on Qemu and on my Acer notebook), it hear that on
> other emulators or hardware people just see a black screen. So I would
> be glad to find out the reason(s).
>
>
> One reason might be that the image is not recognized as a hard disk:
>
>
> http://reboot.pro/topic/7512-fool-the-bios-booting-any-usb-stick-as-a-hard-disk
>
> So I followed the suggestions there, and changed the partition table to
> two dummy-partitions instead of one. Also, I set one System ID to
> "Linux" ("83", instead of the arbitrary "22" before), and the other to
> "Linux swap" (ID "82"). I don't know if this helps though.
>
>
> Also, I added a few diagnostic messages, to see how far it gets.
>
> So anybody daring to try it is welcome! As before, PilOS can be
> downloaded from
>
>http://software-lab.de/pilos.tgz
>
> and put on an USB-Stick, e.g. on /dev/sdb
>
>$ sudo dd if=x86-64.img of=/dev/sdb
>
> Then try to boot (only on x86-64 (Amd64) hardware, of course).
>
> ♪♫ Alex
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


PilOS Boot Issues

2015-06-29 Thread Alexander Burger
Hi all,

it seems that there are still problems with booting PilOS.

While it works for me (on Qemu and on my Acer notebook), it hear that on
other emulators or hardware people just see a black screen. So I would
be glad to find out the reason(s).


One reason might be that the image is not recognized as a hard disk:

   
http://reboot.pro/topic/7512-fool-the-bios-booting-any-usb-stick-as-a-hard-disk

So I followed the suggestions there, and changed the partition table to
two dummy-partitions instead of one. Also, I set one System ID to
"Linux" ("83", instead of the arbitrary "22" before), and the other to
"Linux swap" (ID "82"). I don't know if this helps though.


Also, I added a few diagnostic messages, to see how far it gets.

So anybody daring to try it is welcome! As before, PilOS can be
downloaded from

   http://software-lab.de/pilos.tgz

and put on an USB-Stick, e.g. on /dev/sdb

   $ sudo dd if=x86-64.img of=/dev/sdb

Then try to boot (only on x86-64 (Amd64) hardware, of course).

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


Re: compiling on arm

2015-06-29 Thread Jeronimo Pellegrini
Hello,

I have a package for OpenWRT here:
http://aleph0.info/jp/software/lisp-forth-openwrt/
which includes a patch to compile PicoLisp on ARM:
http://aleph0.info/jp/software/lisp-forth-openwrt/picolisp-3.1.10-openwrt2.tar.gz

What I do is to use "-mabi=32 -fPIC" in CFLAGS and not use -m32
at all.
I also added -fPIC to DYNAMIC-LIB-FLAGS.

If there is a better way to do it, please tell me so I will
update the patch.

J.

On Sun, Jun 28, 2015 at 07:14:40PM +0200, Alexander Burger wrote:
> Hi Tomas,
> 
> > I am trying to compile the latest picolisp 3.1.10 on 32 bit ARM.
> 
> You could also take a look at how Debian (Kan-Ru Chen?) is doing it.
> 
> I'm using PicoLisp on my Kobo E-Book reader, which has an ARM CPU. Works
> perfectly out of the box with "apt-get install picolisp" :)
> 
> ♪♫ Alex
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: How to manage picoLisp "projects"

2015-06-29 Thread andreas
Hi Erik, thanks for the hint!

I discussed this topic with Alex Williams before, but somehow I wasn't aware of 
what he did here with the Makefile.
That's really neat, something like this really should be intergrated in a 
module management, I think.


- Original Message -
From: Erik Gustafson [mailto:erik.d.gustaf...@gmail.com]
To: picolisp@software-lab.de
Sent: Mon, 29 Jun 2015 02:59:23 -0500
Subject:

Alex Williams is onto something. Checkout
https://github.com/aw/picolisp-nanomsg, notably the Makefile and module.l.
Works very well!

On Monday, June 29, 2015,  wrote:

> Hi Rick
>
> > Basically, I'm wondering if there is a project management tool like
> > Maven (Java), Leiningen (Clojure), Cask (Elisp), ASDF (CL), but for
> > picoLisp.  I'd also be interested in hearing arguments for or against
> > such a thing.  (Not having used these tools, I'm ok just manually
> > keeping these things up, but many of you here are more experienced
> > than I in deploying and maintaining software, so I'd appreciate your
> > thoughts.)
>
> Check this thread:
> https://www.mail-archive.com/picolisp%40software-lab.de/msg05140.html
>
> I'm attempting to do something on that topic, if anyone already has a
> solution or additional ideas, contact me please.
>
> - beneroth
>
>



Re: How to manage picoLisp "projects"

2015-06-29 Thread Erik Gustafson
Alex Williams is onto something. Checkout
https://github.com/aw/picolisp-nanomsg, notably the Makefile and module.l.
Works very well!

On Monday, June 29, 2015,  wrote:

> Hi Rick
>
> > Basically, I'm wondering if there is a project management tool like
> > Maven (Java), Leiningen (Clojure), Cask (Elisp), ASDF (CL), but for
> > picoLisp.  I'd also be interested in hearing arguments for or against
> > such a thing.  (Not having used these tools, I'm ok just manually
> > keeping these things up, but many of you here are more experienced
> > than I in deploying and maintaining software, so I'd appreciate your
> > thoughts.)
>
> Check this thread:
> https://www.mail-archive.com/picolisp%40software-lab.de/msg05140.html
>
> I'm attempting to do something on that topic, if anyone already has a
> solution or additional ideas, contact me please.
>
> - beneroth
>
>


RE: How to manage picoLisp "projects"

2015-06-29 Thread andreas
Hi Rick

> Basically, I'm wondering if there is a project management tool like
> Maven (Java), Leiningen (Clojure), Cask (Elisp), ASDF (CL), but for
> picoLisp.  I'd also be interested in hearing arguments for or against
> such a thing.  (Not having used these tools, I'm ok just manually
> keeping these things up, but many of you here are more experienced
> than I in deploying and maintaining software, so I'd appreciate your
> thoughts.)

Check this thread: 
https://www.mail-archive.com/picolisp%40software-lab.de/msg05140.html

I'm attempting to do something on that topic, if anyone already has a solution 
or additional ideas, contact me please.

- beneroth