Previous Thread
Next Thread
Print Thread
Page 151 of 331 1 2 149 150 151 152 153 330 331
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Well, it's easier to always do something that's probably "not neccessary" (but still correct) than doing different things in "slightly different" situations smile...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
I guess that multi-device sw-list entries should be supported correctly now...

Next I'm trying to find a good way to implement multi-device setups from mixed sw-list entries.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
Originally Posted by qmc2
Well, it's easier to always do something that's probably "not neccessary" (but still correct) than doing different things in "slightly different" situations smile...

I agree 100%, and I would probably adopt the same approach if I had to write a frontend. Anyway, I was suggesting to keep in mind the presence of the interface parameter as well, e.g. if you want to filter entries of a list containing mixed devices depending on the device where they can be mounted wink

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted by qmc2
Next I'm trying to find a good way to implement multi-device setups from mixed sw-list entries.
Guess I found a solution to this:

1) make each sw-list entry the root item of a tree (the lists are already shown in QTreeWidget's, so that's possible without too many changes)

2) when the user expands the tree, QMC2 will show the 'parts' in more detail, allowing the user to explicitly 'select' a part and optionally change its 'mount-device'

3) this can be done for multiple sw-list entries / parts at a time

4) 'lauchning' then means to use the specified setup instead of any automatic device-mapping

5) consider adding a way to save those setups (low priority)

Just needs to be done smile...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
While I was working on integrating 'mount-device selection', I found things like these (software-list 'lisa'):

[Linked Image from qmc2.arcadehits.net]
(this is NOT in SVN because it's simply not working correctly yet!)

I'm not sure where the mistake is... according to QMC2, the lisa2 driver only supports 2 device instances (mountable devices), but this SW-list entry suggests there can be more!? Could someone explain?

And what should I do in such cases? Right now, QMC2 falls back to the first device instance it found (for the interface) when it can't find a match... but probably the correct way to solve this would be to NOT mount parts that cause conflicts.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
I don't understand exactly the issue... is it the fact that lofsys20 has 5 disks which gives you problems, despite lisa having two disk drives?

a softlist item ideally represents the original package you would have bought in a computer shop. so if "Lisa Office 2.0" came with 5 disks, you find here 5 <parts>

of course, when you are at home and your computer only has two drives, you have to decide which disks you want to mount at start and which you keep out from the computer, ready to be inserted later...

or am I missing your problem?

EDIT: and by the way, nice tree structure!

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Yeah, I can see the reason why there are more disks... but the question is, for a front-end, how to decide which disks to specify on the command line as 'mounted images' (when doing it automatically, that is)?

Last edited by qmc2; 11/20/11 08:08 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
from command line, there is no way to pre-determine it, at the moment, or to define it in the list.
to avoid wild guesses which might lead to problems, I'd go with disk 1 in floppy1 and disk 2 in floppy2... and let the user to change the disks if required.


Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
OK, that's what I already thought... thanks!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Automatic mount selection should now work as discussed:

[Linked Image from qmc2.arcadehits.net]

I hope to complete this stuff during the next few days... then I'll commit it to SVN. Enough for today smile.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Page 151 of 331 1 2 149 150 151 152 153 330 331

Link Copied to Clipboard
Who's Online Now
3 members (Dorando, Kale, judge), 66 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,308
Posts121,693
Members5,070
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com