Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #526 > unrolled thread

CiderPress & MacOSX

Started bymarkpmlim@yahoo.com.sg
First post2012-11-29 23:54 -0800
Last post2012-12-07 10:37 +0800
Articles 8 — 6 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  CiderPress & MacOSX markpmlim@yahoo.com.sg - 2012-11-29 23:54 -0800
    Re: CiderPress & MacOSX markpmlim@yahoo.com.sg - 2012-12-01 20:12 -0800
      Re: CiderPress & MacOSX "Bill Buckels" <bbuckels@mts.net> - 2012-12-02 21:08 -0600
      Re: CiderPress & MacOSX "J. Vernet" <jeromevernet_NOSPAM@hotmail.com> - 2012-12-03 09:38 +0100
        Re: CiderPress & MacOSX markpmlim@yahoo.com.sg - 2012-12-03 05:49 -0800
          Re: CiderPress & MacOSX "John B. Matthews" <nospam@nospam.invalid> - 2012-12-03 13:32 -0500
            Re: CiderPress & MacOSX D Finnigan <dog_cow@macgui.com> - 2012-12-03 18:58 +0000
        Re: CiderPress & MacOSX Alex Lee <alelee@mac.com> - 2012-12-07 10:37 +0800

#526 — CiderPress & MacOSX

Frommarkpmlim@yahoo.com.sg
Date2012-11-29 23:54 -0800
SubjectCiderPress & MacOSX
Message-ID<3616668c-0754-4159-9f3d-fbc08d59883e@googlegroups.com>
For quite sometime, I was wondering if one could build an MacOS X application which makes use of some of CiderPress's source code. The fact that the author had built 6 applications which run under Linux indicates it's doable. Naturally  the command line tools must be available.

At first glance, it's "intimidating" having to deal so many source files. 
The fact that the author had placed his source codes in different subdirectories allows one to build the binary codes separately. The main idea is to edit the Makefiles in the various sub-directories so that the generated binary code is 32-bit Intel/PowerPC.

Here's a concise account on how to build the 6 command line programs mentioned above.

1.	Download the source codes for CiderPress and nulib.

http://sourceforge.net/projects/ciderpress/files/CiderPress%20Source/3.0.1/ 
http://www.nulib.com/downloads/index.htm

Unpack them.

2.	Edit the Makefiles in the sub-directories diskimg and diskimg/libhfs to use the compiler option -arch i386
e.g. the lines
	CC = gcc becomes CC = gcc -arch i386
	CXX = g++ becomes g++ -arch i386

	To build the library files "libdiskimg.a" and "libhfs/libhfs.a", issue the command "make" at each level.

3	Build the library "libnufx.a" using the package nulibdist.tar.gz. Just cd to the "nufxlib-220" folder. Remember to edit the 2 Makefiles. In addition, the programs in the "nufxlib-220/samples" folder must be linked against Mac OS X's Carbon Framework and zlib.
e.g.
exerciser: Exerciser.o $(LIB_PRODUCT)
	$(PURIFY) $(QUANTIFY) $(CC) -o $@ Exerciser.o $(NUFXLIB) -lz -framework Carbon

	Issue the command "make" at the folder level "nufxlib-220". This should build the library file "libnufx.a" as well as the sample programs.

4	Move the library file "libnufx.a" to the "prebuilt" folder.

5	Finally, cd to the Linux folder. Edit the "Makefile" to use i386 mode.
	You may need to edit the file SSTAsm.cpp to include <sys/types.h>

[toc] | [next] | [standalone]


#528

Frommarkpmlim@yahoo.com.sg
Date2012-12-01 20:12 -0800
Message-ID<6d8deda0-56f0-45cc-a875-90f090fa0bb2@googlegroups.com>
In reply to#526
The original CiderPress cannot work with compressed disk images. The MacOSX build of the mdc tool (source in the linux sub-directory) handles compressed disk images transparently.
Given below is a catalog printout of a 30K image file from the GoldenOrchard 1.2 iso.

MDC for Mac OS X v2.2.0 (DiskImg library v4.6.0)
Copyright (C) 2006 by faddenSoft, LLC.  All rights reserved.
MDC is part of CiderPress, available from http://www.faddensoft.com/.
Linked against NufxLib v2.2.0 and zlib version 1.2.3.
Minimal modification done to run under Mac OS X

Run started at Sun Dec  2 12:04:49 2012

File: Apple II 5.25 inch Disk Holder
Disk: ProDOS /DISK (800KB)
 Name                             Type Auxtyp Modified         Format   Length
------------------------------------------------------------------------------
 PRODOS                           SYS  $0000  17-Apr-87 15:12  ProDOS    15485
 BASIC.SYSTEM                     SYS  $2000  18-Jun-84 00:00  ProDOS    10240
 PRODOS.PACKER                    BIN  $0803  06-Apr-88 18:06  ProDOS     3712
 STARTUP                          BAS  $0801  21-Apr-88 14:16  ProDOS       54
------------------------------------------------------------------------------

Scan completed in 0 seconds:
  Directories : 0
  Files       : 1 (1 good disk images)
 
Will we get to see "Cider-X-Press" by some programming genius(es) out there? A "click-dragNdrop" of a file/folder from one to its windows to another or to Finder's desktop/window (& vice-versa) will make users of the original CiderPress green with envy. The program "Shrink-Fit X" is a good start. In the meantime, kudos to Andy Fadden and Kelvin Sherlock.

[toc] | [prev] | [next] | [standalone]


#529

From"Bill Buckels" <bbuckels@mts.net>
Date2012-12-02 21:08 -0600
Message-ID<k9h587$i1f$1@speranza.aioe.org>
In reply to#528
<markpmlim@yahoo.com.sg> wrote:

> users of the original CiderPress green with envy

Not me. I am still really happy with the changes that Andy McFadden and 
David Schmidt collaborated on and released back in early 2009 in CiderPress 
3.0.1a2 which was still being built in VS6, but at that time problems 
porting forward to newer versions of VS.

I built it for myself over here in VS6 no problem, no Finders but no Losers, 
and no envy either, just awe and amazement at having such a great interface 
and robust gift from Andy (one great developer) to the rest of us who are 
less ambitous and capable.

> In the meantime, kudos to Andy Fadden

Andy McFadden.

But I quite agree. Thank you Andy and also to David.

Bill

[toc] | [prev] | [next] | [standalone]


#530

From"J. Vernet" <jeromevernet_NOSPAM@hotmail.com>
Date2012-12-03 09:38 +0100
Message-ID<k9hoc6$lrf$1@speranza.aioe.org>
In reply to#528
Le 02/12/2012 05:12, markpmlim@yahoo.com.sg a écrit :

>    Files       : 1 (1 good disk images)
>
> Will we get to see "Cider-X-Press" by some programming genius(es) out there?
>A "click-dragNdrop" of a file/folder from one to its windows to another or
 >to Finder's desktop/window (& vice-versa) will make users of the original
>CiderPress green with envy. The program "Shrink-Fit X" is a good start.
>

You can also try ADFS (http://www.lazilong.com/apple_II/adfs/). It still 
work on MacOsX (but need to be recompiled on Lion and Mountain Lion).

J. VERNET

[toc] | [prev] | [next] | [standalone]


#531

Frommarkpmlim@yahoo.com.sg
Date2012-12-03 05:49 -0800
Message-ID<c2b9d54d-46de-4fe9-ae49-fe041c6e02c6@googlegroups.com>
In reply to#530
> You can also try ADFS (http://www.lazilong.com/apple_II/adfs/). It still 
> 
> work on MacOsX (but need to be recompiled on Lion and Mountain Lion).
> 

I did tried ADFS; but gave up on it because more often than not the disk image gets corrupted.

AppleCommander: For no particular reason, I see the multi-colored rotating ball. The only recourse is a "Force Quit".

Recently, I discovered the most reliable solution is  networking with SAFE2 (SW16 Starter.2mg).

Regards.

[toc] | [prev] | [next] | [standalone]


#532

From"John B. Matthews" <nospam@nospam.invalid>
Date2012-12-03 13:32 -0500
Message-ID<nospam-F82A8F.13321403122012@news.aioe.org>
In reply to#531
In article <c2b9d54d-46de-4fe9-ae49-fe041c6e02c6@googlegroups.com>,
 markpmlim@yahoo.com.sg wrote:

> AppleCommander: For no particular reason, I see the multi-colored rotating 
> ball. The only recourse is a "Force Quit".

I get this, too, but only after opening a disk. I'm still looking for a 
fix. FWIW, the application works fine until you try to quit or log out, 
and there's no problem with the command line version.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

[toc] | [prev] | [next] | [standalone]


#533

FromD Finnigan <dog_cow@macgui.com>
Date2012-12-03 18:58 +0000
Message-ID<dog_cow-1354561113@macgui.com>
In reply to#532
John B. Matthews wrote:
> In article <c2b9d54d-46de-4fe9-ae49-fe041c6e02c6@googlegroups.com>,
>  markpmlim@yahoo.com.sg wrote:
> 
>> AppleCommander: For no particular reason, I see the multi-colored
>> rotating
>> ball. The only recourse is a "Force Quit".
> 
> I get this, too, but only after opening a disk. I'm still looking for a 
> fix. FWIW, the application works fine until you try to quit or log out, 
> and there's no problem with the command line version.

Might be a dead-lock situation. You could probably get a clue by opening
Activity Monitor and running sample on the process, then checking for
threads that say 'semaphore' and 'lock' and so on.

-- 
]DF$
Apple II Book: http://macgui.com/newa2guide/ Vault: http://macgui.com/vault/
Receive comp.sys.apple2 posts by email digest:
http://macgui.com/usenet/subs.php?group=1

[toc] | [prev] | [next] | [standalone]


#542

FromAlex Lee <alelee@mac.com>
Date2012-12-07 10:37 +0800
Message-ID<k9rkpk$sve$1@dont-email.me>
In reply to#530
On 2012-12-03 16:38:55 +0800, J. Vernet said:

> Le 02/12/2012 05:12, markpmlim@yahoo.com.sg a écrit :
> 
>> Files       : 1 (1 good disk images)
>> 
>> Will we get to see "Cider-X-Press" by some programming genius(es) out there?
>> A "click-dragNdrop" of a file/folder from one to its windows to another or
>  >to Finder's desktop/window (& vice-versa) will make users of the original
>> CiderPress green with envy. The program "Shrink-Fit X" is a good start.
>> 
> 
> You can also try ADFS (http://www.lazilong.com/apple_II/adfs/). It 
> still work on MacOsX (but need to be recompiled on Lion and Mountain 
> Lion).
> 
> J. VERNET

Can you share these Lion and Mountain builds of ADFS?

Not being able to use ADFS (despite it's bugginess) is one of the key 
reasons I haven't moved on from Snow Leopard.

- Alex
-- 
http://www.whatisthe2gs.apple2.org.za/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web