[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cc65 compile for Apple 2e?



"John B. Matthews" <nospam@nospam.com> wrote in message 
nospam-E5F70F.22140106072008@aioe.org">news:nospam-E5F70F.22140106072008@aioe.org...
>Ping me if you have questions.

Hello John,

I finally got around to installing a couple of versions of ac and the GUI 
version of Apple Commander as well. No questions so far.

In Windows XP this is straight forward as anywhere else and it all works for 
me so far as I expected it would. Being the wierd guy that I am and noticing 
that some of the files that I downloaded had the zip extension, I did what 
any self-respecting java programmer would do and renamed them to .jar from 
.zip

Then I got even wierder because I hate to type such long names so I created 
some batch files which is MS-DOS-speak for exec files. This saved me typing 
some long names at the command line (Windows supports tabbed-scrolling of 
filenames like linux or anywhere else at the command prompt but lots of 
Windows user don't think to do that... it's more of a unix thing I guess).

Anyhow, to cut to the chase, I thought about what Bill Garber had said about 
disliking the command line and how Harry Potter had been looking for 
executables, and I backread some of the other posts that we had on ac.

It seems to me that I'd better provide some Windows-like explanations and 
some shortcuts and so forth including makefile support for ac going forward 
and maybe even an MS-DOS style batch file or two for the old-fashioned of us 
that like that sort of thing better when I include ac support with Aztec C. 
I also have some playing to do yet because I generally strip the 4 byte 
header that the Aztec C cross-compiler puts on in my own routines.

Man! We got wrappers upon wrappers don't we:)

Anyway, if someone (maybe Harry Potter) gave-up on ac, I don't think they 
should, (it's quick on a Windows machine) and here's some sample batches 
that might help:

The first one is for the gui and the next two are for your stuff.

x--- snip ---x
@echo off
rem save this as ac.bat and put it into your ac directory
rem you must have swt installed as well
java -jar AppleCommander-1.3.5.jar

x--- snip ---x
@echo off
rem save this as acc.bat and put it into your ac directory
java -jar AppleCommander-1.3.5-ac.jar %1 %2 %3 %4 %5 %6 %7 %8 %9

x--- snip ---x
@echo off
rem save this as acc1.bat and put it into your ac directory
java -jar AppleCommander-1.3.5.1-ac.jar %1 %2 %3 %4 %5 %6 %7 %8 %9

Well that's the idea anyway...

I'll let you know when I've put together something more substantial, like a 
complete build and test script of sorts. So much to do and so little time:)

Bill