Welcome, Guest. Please login or register.

Author Topic: ADF Viewer/Manager for macOS  (Read 12247 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #29 from previous page: January 30, 2017, 09:38:00 AM »
Quote from: nyteschayde;821051
Are you going to put the source on GitHub or some other public place. I understand if you might not want to, but learning is awesome. I'd love to see how you did all this.

I can't wait to download a build and try it out.

Hey there,
 
 I don't want to release the code in its current state, some of it is 6 years old and written before I properly understood the Appkit and Cocoa... I'm still not sure why some of it works (the .info icon reading code really shouldn't work), so I simply won't be able to support it :(
 
 I am rewriting as I add more features, and when the code looks better I will share it :)
 
 I'm replacing a lot of target/action patterned sections with closures.
 
 Little easter-egg for you; if you run ADFBench from the terminal, it dumps out all my debugging printf()s as it runs... some of my statements are simply embarrassing, others give a fascinating insight into my state of mind.

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #30 on: January 30, 2017, 09:47:06 AM »
Quote from: nicholas;821059
I was actually wondering if you'd done it that way so you could use the actual 68k filesystem handlers. Well done, I'm impressed. :)


The 68K emulator was originally included to run any 68k embedded into the files system (the first 1024bytes of a floppy etc...), and I guessed it might be able to avoid endianess issues... But, in ther end I didn't need it... Then I found Lallafa's blog about running Amiga executable files, so now I'm trying to figure out the Amiga Hunk format, once I do that I'll let the 68k run it :hammer: see what happens.
 
 Anyone who wants to work with me on this part is welcome :)
 

Quote

I've not got a working Intel Mac anymore so I can't have a play with it sadly. Maybe I should build a Hackintosh.
I recently built a 32gb RAM, 4Ghz Skylake i7 Hackintosh (with two 28" 4K monitors)... best thing I ever did.
« Last Edit: January 30, 2017, 10:56:00 AM by bloodline »
 

Offline nicholas

Re: ADF Viewer/Manager for macOS
« Reply #31 on: January 30, 2017, 01:44:47 PM »
Quote from: bloodline;821083
The 68K emulator was originally included to run any 68k embedded into the files system (the first 1024bytes of a floppy etc...), and I guessed it might be able to avoid endianess issues... But, in ther end I didn't need it... Then I found Lallafa's blog about running Amiga executable files, so now I'm trying to figure out the Amiga Hunk format, once I do that I'll let the 68k run it :hammer: see what happens.
 
 Anyone who wants to work with me on this part is welcome :)
 

I recently built a 32gb RAM, 4Ghz Skylake i7 Hackintosh (with two 28" 4K monitors)... best thing I ever did.


I'm looking to get a new workstation for music. Was thinking about buying a second hand xeon server with at least 8 cores plus hyperthreading. Dunno whether osx would support one but it's worth a shot.

If I get one up and running I might just have to see if I can help you at all.  :)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #32 on: January 30, 2017, 03:43:48 PM »
Quote from: nicholas;821092
I'm looking to get a new workstation for music. Was thinking about buying a second hand xeon server with at least 8 cores plus hyperthreading. Dunno whether osx would support one but it's worth a shot.

OSX Sierra certainly does support the Xeon, check out https://www.tonymacx86.com/ for full list of hardware.

My own specs are:
intel Skylake 6700k i7 4Ghz CPU
GA-Z170X-UD5 TH Motherboard
32Gb DDR4 2400Mhz RAM
2x nVidia GTX950 GFX cards
1TB SATA SSD
Zoom UAC-2 USB3 Audio interface
2x AOC 28" UHD 4K monitors

I cheaped out a bit on the RAM.

Quote
If I get one up and running I might just have to see if I can help you at all. :)
Let me know, this should be fun!
« Last Edit: January 30, 2017, 04:23:38 PM by bloodline »
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #33 on: February 01, 2017, 08:55:28 AM »
Quote from: bloodline;820987
It's been a while coming, but right clicking on an icon now gives the option to save the file to your Mac hard drive, ideal for recovering files from old ADF/HDF.

I will add a menu option to save all files to your Mac in one go.

"Save All Files" now works and doesn't miss files located down the hash_chain ( :furious: ).

This option will create a folder (wherever you want) called the same as the volume name, and then populate it with the files and folders from your ADF/HDF (at the moment, file attributes aren't retained, like creation date, etc... not vital, but I hope to add that).
 
 -edit- international characters are now properly handled too... that took a bit of work :laugh1:
« Last Edit: February 01, 2017, 11:30:49 AM by bloodline »
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Re: ADF Viewer/Manager for macOS
« Reply #34 on: October 12, 2017, 10:50:50 PM »
Is the code you use for interacting with ADF files on the macOS portable? Can I use it in an app of my own? Got a github repo for this?
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #35 on: October 13, 2017, 11:00:41 PM »
Quote from: nyteschayde;831688
Is the code you use for interacting with ADF files on the macOS portable? Can I use it in an app of my own? Got a github repo for this?

It's written in Objective-C (with some swift, I code much faster in Obj-C)... is that any good?

-edit-
Actually looking over the code, I can think of better approach than the one I used in the program. If I get time perhaps I could rewrite it in C++ which would be far more portable.
« Last Edit: October 13, 2017, 11:11:45 PM by bloodline »
 

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Re: ADF Viewer/Manager for macOS
« Reply #36 on: October 14, 2017, 12:09:40 AM »
Quote from: bloodline;831719
It's written in Objective-C (with some swift, I code much faster in Obj-C)... is that any good?

-edit-
Actually looking over the code, I can think of better approach than the one I used in the program. If I get time perhaps I could rewrite it in C++ which would be far more portable.


Objective C is more than fine. As is swift or C++
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #37 on: October 14, 2017, 01:22:51 PM »
Quote from: nyteschayde;831726
Objective C is more than fine. As is swift or C++


I would love to help out! I have replied to your personal message :)