Page 1 of 1

I'm working on a Cocca BasiliskII configurator

Posted: Wed Jun 12, 2013 5:26 pm
by uyjulian
Image

Pretty much.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Thu Jun 16, 2016 11:59 pm
by MetalSnake
Is there any progress on this?

Re: I'm working on a Cocca BasiliskII configurator

Posted: Fri Jun 17, 2016 12:08 am
by uyjulian
MetalSnake wrote:Is there any progress on this?
I haven't worked on this in a _very_ long time.

Now that you reminded me of this, I might just dig it up from my HDD and see if I can get it to a workable state.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Fri Jun 17, 2016 12:09 am
by MetalSnake
julialy wrote:I might just dig it up from my HDD and see if I can get it to a workable state.
That would be awesome.
Do you plan to make it open source?

Re: I'm working on a Cocca BasiliskII configurator

Posted: Fri Jun 17, 2016 3:00 am
by uyjulian
MetalSnake wrote:
julialy wrote:I might just dig it up from my HDD and see if I can get it to a workable state.
That would be awesome.
Do you plan to make it open source?
Yep. I'll put it up on Github right now: https://github.com/uyjulian/EmulatorConfigurator

I'll start working on the stuff that I didn't finish 3 years ago...

Re: I'm working on a Cocca BasiliskII configurator

Posted: Sun Aug 21, 2016 3:12 am
by rickyzhang
I'm curious if you are interested in developing UI in Python tkinter so that the UI can be portable it can be portable in Mac, Windows and Linux.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Sun Aug 21, 2016 4:51 am
by uyjulian
rickyzhang wrote:I'm curious if you are interested in developing UI in Python tkinter so that the UI can be portable it can be portable in Mac, Windows and Linux.
Actually, I'm working on an fltk/lua version. That's why I'm not working on this Cocca version anymore.

I started working on it three weeks ago, worked on it for a week (got configuration parsing and gui design done), then I put it on hitaus.

Don't expect it to be released soon, however. (I can't manage my free time well wwwww)

Re: I'm working on a Cocca BasiliskII configurator

Posted: Sun Aug 21, 2016 4:03 pm
by rickyzhang
julialy wrote: Don't expect it to be released soon, however. (I can't manage my free time well wwwww)
Would you host it to github? I wrote some Lua code at work as script. But I know nothing about FLTK.

I know Lua has no built-in threading. I was surprised to learn that Lua can build a UI.

Develop a new portable UI for BII should not be any technical difficulty. It is a matter of time. But I hope we can build one can easily compile and truly portable. Lua/Python should be a better choice.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Sun Aug 21, 2016 6:34 pm
by uyjulian
rickyzhang wrote:
julialy wrote: Don't expect it to be released soon, however. (I can't manage my free time well wwwww)
Would you host it to github? I wrote some Lua code at work as script. But I know nothing about FLTK.

I know Lua has no built-in threading. I was surprised to learn that Lua can build a UI.

Develop a new portable UI for BII should not be any technical difficulty. It is a matter of time. But I hope we can build one can easily compile and truly portable. Lua/Python should be a better choice.
This is actually moonscript, but
https://gist.github.com/uyjulian/23594d ... 6f8e04bfdf

Re: I'm working on a Cocca BasiliskII configurator

Posted: Mon Aug 22, 2016 10:35 am
by rickyzhang
Why not choose a reasonably stable and highly portable UI library to start with?

In that way, I can help you to finish it.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Mon Aug 22, 2016 10:45 am
by uyjulian
rickyzhang wrote:Why not choose a reasonably stable and highly portable UI library to start with?

In that way, I can help you to finish it.
FLTK is reasonably stable and highly portable.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Tue Aug 23, 2016 8:34 am
by rickyzhang
Users have to install FLTK, moonscript and Lua.

TBH, others have to learn moonscript to help/maintain.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Tue Aug 23, 2016 10:03 am
by uyjulian
rickyzhang wrote:Users have to install FLTK, moonscript and Lua.

TBH, others have to learn moonscript to help/maintain.
I was planning on compiling the moonscript to Lua then bundling FLTK, Lua, and fltk4lua.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Wed Aug 24, 2016 1:40 am
by rickyzhang
I can run python27 and python-tk in my iBook PPC in tiger. But I'm not sure how moonscript compile into Lua.

I thought Lua is interpreted.

I haven't tried Lua on my PPC anyway. Lua is VERY open in terms of how to do object oriented. Lua interpreter is tiny compared to Python. But Lua's library is far fewer than Python. At work, I'm always advocate of Python. Because I have horrible experience in using Luarock. pip just work much better in Mac and Linux.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Wed Aug 24, 2016 2:59 am
by uyjulian
rickyzhang wrote:I can run python27 and python-tk in my iBook PPC in tiger. But I'm not sure how moonscript compile into Lua.

I thought Lua is interpreted.

I haven't tried Lua on my PPC anyway. Lua is VERY open in terms of how to do object oriented. Lua interpreter is tiny compared to Python. But Lua's library is far fewer than Python. At work, I'm always advocate of Python. Because I have horrible experience in using Luarock. pip just work much better in Mac and Linux.
It's easy to just link fltk, lua, srlua, lua source, and fltk4lua together.
One executable (unlike Python)
I'm not sure if fltk runs on PPC; will have to take a look at that.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Wed Aug 24, 2016 8:58 am
by rickyzhang
Can you move all your dependency in your github including Lua, FLTK, moonscript, LuaFLTK. I believe FLTK has other dependency. We will see it later.

I want to give a try and see if it can easily package. If this is simple, I'd want to work with you to build a new UI for BII. Current Cocoa UI doesn't got compile in 10.11 SDK. I have to use GTK2 and X. I think there should be better alternative solution.

I can use macports to package Python and Python-tk into mpg binary. But it took me 2 days to compile development stack from macports in my new bought PPC iBook.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Wed Aug 24, 2016 10:08 am
by uyjulian
rickyzhang wrote:Can you move all your dependency in your github including Lua, FLTK, moonscript, LuaFLTK. I believe FLTK has other dependency. We will see it later.

I want to give a try and see if it can easily package. If this is simple, I'd want to work with you to build a new UI for BII. Current Cocoa UI doesn't got compile in 10.11 SDK. I have to use GTK2 and X. I think there should be better alternative solution.

I can use macports to package Python and Python-tk into mpg binary. But it took me 2 days to compile development stack from macports in my new bought PPC iBook.
lua 5.1.5: http://www.lua.org/ftp/lua-5.1.5.tar.gz
fltk: http://www.fltk.org/software.php?VERSIO ... rce.tar.gz
fltk4lua: https://github.com/siffiejoe/lua-fltk4lua.git
moonscript: https://github.com/leafo/moonscript.git
You don't actually need to bundle moonscript, just use moonc to compile moonscript to lua.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Thu Aug 25, 2016 1:46 am
by rickyzhang
Thanks for listing it.

I'm not sure if you want to work together for this project. If you do, I hope we have some base line dependency in your **git repo** so that I can pull from there to start with.

Re: I'm working on a Cocca BasiliskII configurator

Posted: Thu Aug 25, 2016 2:39 am
by uyjulian
rickyzhang wrote:Thanks for listing it.

I'm not sure if you want to work together for this project. If you do, I hope we have some base line dependency in your **git repo** so that I can pull from there to start with.
I'll post a new topic whenever it's done. I usually don't accept contributions until I get a working version completed. No ETAs, because usually I miss them.
I don't like including external dependencies in git repos because it increases the size of the git repo (for example, wxWidgets has a lot of files). git submodules are fine, however.