Login  •  Register


The time is now: Sat Feb 24, 2018 8:11 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 2 of 2 [ 50 posts ]    Go to page Previous  1, 2
Print view Previous topic  |  Next topic
Author Message
PostPosted: Thu Aug 17, 2017 7:50 pm 
Offline
Inquisitive Elf

Joined: Wed Jul 26, 2017 10:50 pm
Posts: 26
rickyzhang wrote:
@DLudwig255
I'd suggest you build BII under Linux with gtk. You can take a look of preference UI.


I have seen the GTK preference UI. It is part of why I've pondered doing some UI work in Basilisk. ;-)


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Aug 17, 2017 8:02 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1990
Location: Emaculation.com
rickyzhang wrote:
For blank image creation, we can print out a basilisk command with proper option in HTML that ask user to run basilisk binary to create that image.

All we need is to add new options to BII source code that take in size parameter and surface image creation in command line.



Any user that feels comfortable taking text output and running it on the command line can probably manage creating their own disk images. The idea with a UI is to do all that for them, which we should be able to do using zip.js or node.js. We could even roll in a basic perl or python interpreter (or LUA), that can use its sys library to generate and place a null file without user interaction.

Or we could just go the UME route, and leave it to platform-dependent front ends, and integrate only the configuration into an SDL interface, with command line flags to set things that way as well from the front end UI.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Aug 17, 2017 8:53 pm 
Offline
Mac Mechanic
User avatar

Joined: Fri Aug 27, 2010 1:02 am
Posts: 195
Blank files are easy: just make a empty file filled with null bytes.

There is no need for zip files as javascript can generate null bytes. (see: in-browser decryption/downloading of files like MEGA)


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Aug 17, 2017 9:00 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1990
Location: Emaculation.com
The zip files would be for if we wanted to provide pre-formatted images instead of prompting the user to format on boot.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Aug 18, 2017 2:41 am 
Offline
Granny Smith
User avatar

Joined: Mon Sep 15, 2014 7:59 pm
Posts: 131
Guys, before we discuss the implementation details.

Should we go for
a. HTML
b. maintain GTK
c. do something more fancy as DLudwig255 suggests

Besides the direction, what's more important is to find someone actually who are able to and willing to commit.

Although HTML looks easy, I have zero experience in writing a HTML form that can save a file locally (without server download). It is quite different from write a PHP from server and generate a dynamic HTML to client.

_________________
There is an App for that!
https://github.com/rickyzhang82


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Aug 18, 2017 3:35 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1990
Location: Emaculation.com
I've always avoided GTK when possible, even on GNOME WM. HTML5 has the benefit that it will likely stay the same for years to come and present native widgets on all platforms. node.js makes the job much easier, as it handles all the file management and presents a simple C-like interface.

That said, I'm not going to be able to commit to either developing it nor maintaining it, just providing guidance, so it's probably best to go with whatever solution is preferred by whomever is willing to do that.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Aug 24, 2017 1:29 am 
Offline
Inquisitive Elf

Joined: Wed Jul 26, 2017 10:50 pm
Posts: 26
Prerelease 6 is now out, with more bug fixes.

Here's what's new:

More bug-fixes!

  • fixed issue #5: OSX fullscreen does not recognize mouse-clicks, if cursor is at very top of screen
  • fixed issue #19: on OS X, display can slide around if initial clicks are near top of screen
  • fixed issue #21: Win32: resizing a window does not stretch screen

Win32 and OS X downloads at https://github.com/davidludwig/macemu/releases

Please report bugs at https://github.com/davidludwig/macemu/issues


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Sep 12, 2017 11:15 pm 
Offline
Inquisitive Elf

Joined: Wed Jul 26, 2017 10:50 pm
Posts: 26
Pre-release 7 is now out. To note, I've changed how I name the Git/Github tags for these, and now prefix them with "SDL2-".

Here's what's new:

  • MacOSX: enabled VOSF
  • performance tweaks (in SDL2 texture and surface management code)
  • fixed multiple mouse-grabbing bugs
  • added an "sdlrender" preference, which can force the use of a specific, SDL2, rendering backend, such as "software" or "opengl". Setting to nothing, or to "auto", will let SDL2 choose.
  • lots of Autotools fixes, including the ability to use either SDL1 or SDL2. SDL2 will be used, if both are available. To force the use of SDL1, pass --with-sdl1 to the configure script.

Win32 and OS X binaries are available at http://github.com/davidludwig/macemu/releases


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Sep 13, 2017 11:17 am 
Offline
Forum All-Star

Joined: Wed Nov 11, 2009 5:47 pm
Posts: 1057
Location: Germany
Awesome, this build looks great. Many thanks for your work.

Image


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat Dec 02, 2017 8:04 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 813
@DLudwig255, thank you again for this work. I downloaded your code and finally figured out that I needed to include SDL2 in the "External" folder, and was able to build successfully under High Sierra.

One question: as far as I can tell, the --config <filename> option doesn't seem to work, at least not for me. I have a self-contained BasiliskII setup that uses a bash script to launch the executable with a --config parameter. When I copy your unix executable into that setup, it launches, but it opens the disk (and the other configurations) from the hidden prefs file in my user folder, not the prefs file specified in the bash script.

Am I doing something wrong here? Or is there an easy fix in your code?

Thank you again for this terrific work.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Dec 03, 2017 1:29 pm 
Offline
Tinkerer

Joined: Thu Feb 13, 2014 3:59 pm
Posts: 74
Thanks for this build ! I love the way it's possible to have it running fullscreen on a OS X space of is own.
Is network implemented ? Also it doesn't seems to like foreign keyboards (French here), even though my .basilisk_ii_prefs file point to the keycode file.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Jan 15, 2018 1:32 pm 
Offline
Student Driver

Joined: Thu Apr 06, 2017 9:32 am
Posts: 23
I need to chime-in as well: Great work, thank you!

Do you intent to also integrate optional TUN/TAP functionality on the network side?
Would be great to be able to connect to external AppleShares and capable printers.

Let me know if you need helping hands on the testing side. J


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jan 17, 2018 8:12 am 
Offline
Space Cadet

Joined: Wed Jan 17, 2018 8:01 am
Posts: 1
David Ludwig, thank you for the executable version for OSX 64, High Sierra compatible.
I hope that this project can go on very far.
Bye


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Jan 28, 2018 7:24 am 
Offline
Student Driver
User avatar

Joined: Sat Feb 04, 2017 5:12 am
Posts: 21
Location: Argentina
I cannot make it boot, not even to the blinking floppy disk screen. It just opens a blank screen, and it closes.
Here are the contents of the log file:
Code:
Basilisk II V1.0 by Christian Bauer et al.
Reading ROM file...
Using SDL/directsound audio output
Using SDL_Renderer driver: direct3d
FATAL: EMUL_OP called with bogus opcode 00005243
d0 000001ba d1 000068b8 d2 00000000 d3 0005001a
d4 00000000 d5 00000000 d6 00000000 d7 00000202
a0 00803378 a1 00803760 a2 fdc78000 a3 008b34ce
a4 00809ae6 a5 008b35a2 a6 008b358c a7 0017ff7e
sr 2708

What is the problem? Is it my ROM, or i am not noticing of something obvious? Also, i think that a readme explaining the contents of the prefs file would be nice. I am having a hard time figuring everything out!

_________________
Compact Macs will rule supreme for all eternity! :twisted:


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Jan 28, 2018 8:42 am 
Offline
Student Driver

Joined: Thu Apr 06, 2017 9:32 am
Posts: 23
Does the 'normal' version of Basilisk run OK on your system?

https://www.emaculation.com/doku.php/ba ... _osx_setup

I would suggest as a first step to establish a stable BasiliskII system, based on the instructions provided in the link above.

Along with it, you will find BasiliskII_GUI, a user interface dealing with the preferences file.

If all is up-and-running, replace the version of BasiliskII with the one from David Ludwig.
Hint: You may need to rename the file.

About your ROM-File: It could be a broken one. But if you follow the instructions, there is a good chance to find a good one. :wink:

Good Luck and happy hackin'!


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jan 30, 2018 3:58 am 
Offline
Tinkerer

Joined: Thu Aug 14, 2008 9:05 am
Posts: 96
I am finding that since the macOS 10.13.3 update, if the "Unix" shared folder is enabled, Basilisk II crashes during boot. If I turn that feature off, everything works. So perhaps you should try disabling the shared folder and see if that solves your issue.

_________________
There's no earthly way of knowing, which direction we are going, for the rowers keep on rowing, and they're certainly not showing any signs that they are slowing.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jan 30, 2018 4:28 am 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1990
Location: Emaculation.com
I've seen a number of similar reports to that -- I wonder if BII doesn't like APFS or is taking some sort of shortcut that APFS doesn't understand?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Jan 30, 2018 12:44 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 813
No problems with BasiliskII and APFS and the Unix folder here...


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jan 31, 2018 10:55 am 
Offline
Apple Corer

Joined: Wed Apr 10, 2013 9:32 am
Posts: 219
adespoton wrote:
I've seen a number of similar reports to that -- I wonder if BII doesn't like APFS or is taking some sort of shortcut that APFS doesn't understand?

afpfs-ng-OSX could be used as workaround here. I therefore chose "General Macintosh Emulation" as the category to place a related poll: https://www.emaculation.com/forum/viewtopic.php?f=1&t=9588.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jan 31, 2018 12:06 pm 
Offline
Mac Mechanic
User avatar

Joined: Fri Aug 27, 2010 1:02 am
Posts: 195
mabam wrote:
adespoton wrote:
I've seen a number of similar reports to that -- I wonder if BII doesn't like APFS or is taking some sort of shortcut that APFS doesn't understand?

afpfs-ng-OSX could be used as workaround here. I therefore chose "General Macintosh Emulation" as the category to place a related poll: https://www.emaculation.com/forum/viewtopic.php?f=1&t=9588.

adespoton is talking about APFS, not AFS, for the Unix share.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jan 31, 2018 3:21 pm 
Offline
Apple Corer

Joined: Wed Apr 10, 2013 9:32 am
Posts: 219
julialy wrote:
adespoton is talking about APFS, not AFS, for the Unix share.

I know. But if the Unix share doesn't work anymore, one could share a folder from within Basilisk II via AFP and connect to it from the host.

I'm aware the files would reside within the Basilisk II disk image and not on the host side anymore. But it would still ease file exchange.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jan 31, 2018 6:49 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1990
Location: Emaculation.com
The nice thing about it, assuming attributes transfer and resource fork handling can be sorted out, is that it's emulator-agnostic. So it'll work everywhere that supports TCP/IP. Unfortunately, this doesn't include Mini vMac which only supports LocalTalk. But hey... maybe Paul could do something to provide AFP support via the app instead of setting up an entire SLiRP stack :)


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jan 31, 2018 6:58 pm 
Offline
Apple Corer

Joined: Wed Apr 10, 2013 9:32 am
Posts: 219
adespoton wrote:
... So it'll work everywhere that supports TCP/IP. Unfortunately, this doesn't include Mini vMac which only supports LocalTalk. But hey... maybe Paul could do something to provide AFP support via the app instead of setting up an entire SLiRP stack :)

Or hope for MaddTheSane to get CAP working at some point in the future. He forked it and it seems he made the libs compile earlier this month: https://github.com/MaddTheSane/CAP/tree/madds.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Jan 31, 2018 8:11 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1990
Location: Emaculation.com
Nice... if he can get CAP working, that would finally tie my ecosystem together!


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Feb 01, 2018 5:06 am 
Offline
Tinkerer

Joined: Thu Aug 14, 2008 9:05 am
Posts: 96
adespoton wrote:
I've seen a number of similar reports to that -- I wonder if BII doesn't like APFS or is taking some sort of shortcut that APFS doesn't understand?

I don't think it's APFS, since it was working with me with APFS earlier. It started crashing at about the time I installed the 10.13.3 update, although I don't know whether that's correlation or causation.

_________________
There's no earthly way of knowing, which direction we are going, for the rowers keep on rowing, and they're certainly not showing any signs that they are slowing.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 2 of 2 [ 50 posts ]    Go to page Previous  1, 2


Who is online

Users browsing this forum: Baidu [Spider] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group