I'm working on a Cocca BasiliskII configurator

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

I'm working on a Cocca BasiliskII configurator

Post by uyjulian »

Image

Pretty much.
MetalSnake
Granny Smith
Posts: 101
Joined: Fri Nov 09, 2007 5:42 pm

Re: I'm working on a Cocca BasiliskII configurator

Post by MetalSnake »

Is there any progress on this?
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
MetalSnake
Granny Smith
Posts: 101
Joined: Fri Nov 09, 2007 5:42 pm

Re: I'm working on a Cocca BasiliskII configurator

Post 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?
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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...
User avatar
rickyzhang
Mac Mechanic
Posts: 196
Joined: Mon Sep 15, 2014 7:59 pm

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
There is an App for that!
https://github.com/rickyzhang82
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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)
User avatar
rickyzhang
Mac Mechanic
Posts: 196
Joined: Mon Sep 15, 2014 7:59 pm

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
There is an App for that!
https://github.com/rickyzhang82
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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
User avatar
rickyzhang
Mac Mechanic
Posts: 196
Joined: Mon Sep 15, 2014 7:59 pm

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
There is an App for that!
https://github.com/rickyzhang82
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
User avatar
rickyzhang
Mac Mechanic
Posts: 196
Joined: Mon Sep 15, 2014 7:59 pm

Re: I'm working on a Cocca BasiliskII configurator

Post by rickyzhang »

Users have to install FLTK, moonscript and Lua.

TBH, others have to learn moonscript to help/maintain.
There is an App for that!
https://github.com/rickyzhang82
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
User avatar
rickyzhang
Mac Mechanic
Posts: 196
Joined: Mon Sep 15, 2014 7:59 pm

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
There is an App for that!
https://github.com/rickyzhang82
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
User avatar
rickyzhang
Mac Mechanic
Posts: 196
Joined: Mon Sep 15, 2014 7:59 pm

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
There is an App for that!
https://github.com/rickyzhang82
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
User avatar
rickyzhang
Mac Mechanic
Posts: 196
Joined: Mon Sep 15, 2014 7:59 pm

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
There is an App for that!
https://github.com/rickyzhang82
uyjulian
Apple Corer
Posts: 241
Joined: Fri Aug 27, 2010 1:02 am

Re: I'm working on a Cocca BasiliskII configurator

Post 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.
Post Reply