Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AppleWin command line

593 views
Skip to first unread message

James Davis

unread,
Apr 29, 2017, 4:03:06 PM4/29/17
to
Hi,

How does the AppleWin command line work?

According to AppleWin help:

AppleWin can be driven from the command line as follows:

-r <number of pages>
Emulate a RAMworks III card with 1 to 127 pages (each page is 64K, giving a max of 8MB)

I tried it as the target in my shortcut to run AppleWin:

"C:\Program Files (x86)\AppleWin\Applewin.exe" -r 127

But, after Applewin boots, when I look at the volumes online with the CatDoctor (without CD.EXT), it shows the same old /RAM/ disk size of 127 blocks (aprox. 64K).

How should I use this command to get the full 8MB of /RAM/? And, how should I test it to see that it is really there and really as big as expected?

James Davis

TomCh

unread,
Apr 30, 2017, 3:22:53 PM4/30/17
to
That's the right syntax.

I also tried the same "Target" in a shortcut (using AppleWin 1.26.2.3).

I tested using AppleWorks 5.1 (Quality Software) as a HDD image, downloaded from here:
https://mirrors.apple2.org.za/ftp.apple.asimov.net/images/productivity/integrated/appleworks/v5.1/AppleWorks%205.1%20Program.2mg

And at the "Getting Started" screen it reports "2194K Avail." (presumably it doesn't support more memory than this?).

I have no experience of CatDoctor. Perhaps someone else can help.

Tom

Hugh Hood

unread,
Apr 30, 2017, 7:37:51 PM4/30/17
to
Tom,

I wrote a patch that allows AppleWorks 5.1 to use up to 6 MEG of aux
slot memory, as opposed to the 3 MEG of aux slot memory that it normally
will use.

In fact, since I didn't have one of the 8 MEG A2Heaven aux slot cards on
which to test the patch, I used AppleWin with the command line '-r' option.

Using 6 MEG of an 8 MEG 'card', AppleWorks will show a little over a
4000K Available.

If you're interested, the replacement 'APLWORKS.SYSTEM' file and a pdf
detailing the source code is here:

<http://home.earthlink.net/~hughhood/BigAuxCardAppleWorks51/>

It's a replacement file rather than just a 'patch' because I had to move
some code around to make room for things.

I know that at least (2) people have used the patch successfully on real
hardware, so I'm going to assume that it works OK.





Hugh Hood

Steve Nickolas

unread,
Apr 30, 2017, 10:00:38 PM4/30/17
to
On Sun, 30 Apr 2017, TomCh wrote:

> On Saturday, April 29, 2017 at 9:03:06 PM UTC+1, James Davis wrote:
>>
>> "C:\Program Files (x86)\AppleWin\Applewin.exe" -r 127
>
> That's the right syntax.

From MECC Computer Inspector:

Machine Identification
________________________________________

Enhanced Apple //e with 128K of memory.


Slot Device installed
____ ___________________________________

1 Parallel
2 Super Serial
*3 Extended 80 column with 2048K
4 -
5 -
6 Disk II card
7 -

(* - or auxiliary slot)


_____ Press Space Bar to continue ______


Escape: Main Menu

The 2 MB it detects pass its test.

-uso.

gid...@sasktel.net

unread,
Apr 30, 2017, 11:10:55 PM4/30/17
to
You can use this program to count the # of banks for a RamWorks compatible memory card.

CALL -151
300:8D 09 C0 A0 7F 8C 73 C0
308:84 00 98 49 FF 85 01 88
310:10 F3 C8 8C 73 C0 C4 00
318:D0 0A 98 49 FF C5 01 D0
320:03 C8 10 EF A9 00 8D 73
328:C0 8D 08 C0 84 06 60


The /RAM/ driver can only use the original bank of Aux memory and does not see the extended RAM.

Glen Bredon's has a program called RAM.DRIVE on the same disk as as Cat Doctor. Launch that and you will get a ram disk with a size of 3048 blocks which is only 1.5 Mb.

There is another Ram disk driver called PRODRIVE and I get 15624 total blocks, which is 8 Mb. Prodrive is on the Applied Engineering Desktop Expander disk.

James Davis

unread,
May 2, 2017, 3:54:12 AM5/2/17
to
Hi gid,

On Sunday, April 30, 2017 at 8:10:55 PM UTC-7, gid...@sasktel.net wrote:
> There is another Ram disk driver called PRODRIVE and I get 15624 total blocks, which is 8 Mb. Prodrive is on the Applied Engineering Desktop Expander disk.

I have 72 disk images for different Applied Engineering "AppleWorks" Desktop Expanders. Can you be a little bit more specific about the one (disk name and version number) you a referring to?

Here is my list:

AE AW Expander 4.5 ProDOS.po
AE AW Expander 4.6 ProDOS.po
AE AW Expander 4.7 DOS.dsk
AE AW Expander 5.1.1 DOS.dsk
AE AW Expander 5.1.1 ProDOS.dsk
AE AW Expander 5.3.1 DOS.dsk
AE AW Expander 5.3.1 ProDOS.po
AE AW2 Expander 2.4 DOS Utilities.dsk
AE AW2 Expander 2.4 DOS.dsk
AE AW2 Expander 2.4 ProDOS Installer.po
AE AW2 Expander 2.4 ProDOS.po
AE AW2 Expander 2.5 ProDOS Installer.dsk
AE AW2 Expander 2.5 ProDOS.po
AE AW2 Expander 2.5.2 DOS Utilities.dsk
AE AW2 Expander 2.5.2 DOS.dsk
AE AW2 Expander 2.5.2 ProDOS Installer.po
AE AW2 Expander 2.5.2 ProDOS.po
AE AW2 Expander 3.0.2 ProDOS.po
AE AW2 Expander 3.1.3.po
AE AW2 Expander 3.1.4 Side A.dsk
AE AW2 Expander 3.1.4 Side A.po
AE AW2 Expander 3.1.4 Side B.dsk
AE AW2 Expander 3.1.4 Side B.po
AE AW3 Expander 1.0 Documentation.dsk
AE AW3 Expander 1.0 ProDos Installer.dsk
AE AW3 Expander 1.0 Side A.po
AE AW3 Expander 1.0 Side B.po
AE AW3 Expander 1.1 Documentation.po
AE AW3 Expander 1.1 Expander and Utilities.po
AE AW3 Expander 1.1 Side A.po
AE AW3 Expander 1.1 Side B.po
AE AW3 Expander 1.3 Documentation - other.dsk
AE AW3 Expander 1.3 Documentation.po
AE AW3 Expander 1.3 Expander and Utilities - other.dsk
AE AW3 Expander 1.3 Expander and Utilities.po
AE AW3 Expander 1.3 Side A.po
AE AW3 Expander 1.3 Side B.po
AE Super Desktop Expander 4.5 ProDOS.dsk
AE Super Desktop Expander 4.6 ProDOS.dsk
AE Super Desktop Expander 4.7 RamDrive DOS 3.3.dsk
AE Super Desktop Expander 5.1.1 DOS 3.3 RamDrive.dsk
AE Super Desktop Expander 5.1.1 ProDOS ProDrive.po
AE Super Desktop Expander 5.3.1 DOS 3.3 RamDrive - {RWD-zip}.dsk
AE Super Desktop Expander 5.3.1 DOS 3.3 RamDrive - {SDTE-zip}.dsk
AE Super Desktop Expander 5.3.1 ProDOS ProDrive - {RWD-zip}.po
AE Super Desktop Expander 5.3.1 ProDOS ProDrive - {SDTE-zip}.po
AE_AppleWorks_2_Expander v1.01.dsk
AE_AppleWorks_2_Expander_2_5_ProDOS.DSK
AE_AppleWorks_3_Expander_1_0_Doc_ProDOS.DSK
AE_AppleWorks_3_Expander_1_0_ProDOS.DSK
AE_AppleWorks_3_Expander_1_3_Doc_ProDOS.DSK
AE_AppleWorks_3_Expander_1_3_ProDOS.DSK
AE_Super_AppleWorks_Desktop_Expander_4_5_ProDOS.DSK
AE_Super_AppleWorks_Desktop_Expander_4_6_ProDOS.dsk
AE_Super_AppleWorks_Desktop_Expander_4_7.dsk
AE_Super_AppleWorks_Desktop_Expander_4_7_RamDrive_DOS_3_3.DSK
AE_Super_AppleWorks_Desktop_Expander_5_3_1.dsk
AE_Super_AppleWorks_Desktop_Expander_5_3_1_ProDrive_ProDOS.DSK
AE_Super_AppleWorks_Desktop_Expander_5_3_1_RamDrive_DOS_3_3.DSK
AEAW3EXPV13_D1.DSK
AEAW3EXPV13_D2.DSK
AERFV121_D1.DSK
AERFV121_D2.DSK
AppleWorks 2 Expander for RamFactor Version 2.0.1 side A.dsk
AppleWorks 2 Expander for RamFactor Version 2.0.1 side B.dsk
AppleWorks 3 Expander 1.3.1 side A.dsk
AppleWorks 3 Expander 1.3.1 side B.dsk
AW2 Expander 3.14 a.DSK
AW2 Expander 3.14 b.DSK
AW3 Expander 1.3 Documentation.po
AW3 Expander 1.3 Expander and Utilities.po
RamWorks_HK_Super_Desktop_Expander_Utility_v5_3_1.DSK

Maybe you are not referring to any of these "AppleWorks" Expanders at all!

James Davis

James Davis

unread,
May 2, 2017, 4:23:10 AM5/2/17
to
Hi gid,

On Sunday, April 30, 2017 at 8:10:55 PM UTC-7, gid...@sasktel.net wrote:
> You can use this program to count the # of banks for a RamWorks compatible memory card.
>
> CALL -151
> 300:8D 09 C0 A0 7F 8C 73 C0
> 308:84 00 98 49 FF 85 01 88
> 310:10 F3 C8 8C 73 C0 C4 00
> 318:D0 0A 98 49 FF C5 01 D0
> 320:03 C8 10 EF A9 00 8D 73
> 328:C0 8D 08 C0 84 06 60

OK, I got this bsaved as CountAMBs. Brun-ing it does not work! How do I use it from the Applesoft prompt?

James Davis

gid...@sasktel.net

unread,
May 2, 2017, 8:54:48 AM5/2/17
to
You took the time to list them all here, and you don't see any that have the word RAMDRIVE or PRODRIVE in the file name?

gid...@sasktel.net

unread,
May 2, 2017, 9:04:00 AM5/2/17
to
It works, I just pulled this code from one of my programs to check for the RW size, so it doesn't display the results to screen, it just stored the result in zero-page memory $6.

change these bytes to display the size to the screen.

32C:98 4C DA FD


To call from AS prompt you would use CALL 768 (which is decimal equiv of $300)
from the monitor prompt you could have used: 300G

Steve Nickolas

unread,
May 2, 2017, 3:52:05 PM5/2/17
to
call 768:? peek(6)

-uso.

James Davis

unread,
May 2, 2017, 5:07:17 PM5/2/17
to
Hi gid,

On Tuesday, May 2, 2017 at 5:54:48 AM UTC-7, gid...@sasktel.net wrote:
> You took the time to list them all here, and you don't see any that have the word RAMDRIVE or PRODRIVE in the file name?

Yes, I did that, but the file dates and the version numbers do not align chronologically, so it is hard to tell which is the latest version. I thought you might be using the latest version and could tell me which it really is quicker than me figuring it out. What name and which version is your disk image?

James Davis

James Davis

unread,
May 2, 2017, 5:17:43 PM5/2/17
to
Hi All,

<<
gid...@sasktel.net

It works, I just pulled this code from one of my programs to check for the RW size, so it doesn't display the results to screen, it just stored the result in zero-page memory $6.

change these bytes to display the size to the screen.

32C:98 4C DA FD

To call from AS prompt you would use CALL 768 (which is decimal equiv of $300)
from the monitor prompt you could have used: 300G
>>

<<
Steve Nickolas

call 768:? peek(6)

-uso.
>>

Thankyou guys, gid & Steve.

Steve, what does "-uso" stand for? I see it a lot, but have not figured it out!

James Davis

Tom Greene

unread,
May 2, 2017, 5:55:24 PM5/2/17
to
Out of your list I'd go with: AE_Super_AppleWorks_Desktop_Expander_5_3_1_ProDrive_ProDOS.DSK

Oddly, I seem to be seeing a glitch in AppleWin when ProDrive is running and the display is in 80-column mode. The screen flashes garbage every time /RAM is accessed.

Tom

Steve Nickolas

unread,
May 2, 2017, 8:40:25 PM5/2/17
to
On Tue, 2 May 2017, James Davis wrote:

>
> Steve, what does "-uso" stand for? I see it a lot, but have not figured
> it out!

It's force of habit, mainly, but it's "usotsuki" (my old screen name and
still part of my main e-mail address).

-uso.

TomCh

unread,
May 3, 2017, 8:57:17 AM5/3/17
to
Thanks for reporting this. I'm tracking it here:
https://github.com/AppleWin/AppleWin/issues/409

And it has also been pointed out to me that this issue was reported before here:
https://github.com/AppleWin/AppleWin/issues/297

NB. This old (#297) issue was reported in 2015, so pre-dates the new 1.26 rendering. But from what I see, the new 1.26 builds show much more screen flashing.

I'll take a proper look at this soon.
Tom

TomCh

unread,
May 3, 2017, 9:05:24 AM5/3/17
to
On Sunday, April 30, 2017 at 4:37:51 PM UTC-7, Hugh Hood wrote:
> Tom,
>
> I wrote a patch that allows AppleWorks 5.1 to use up to 6 MEG of aux
> slot memory, as opposed to the 3 MEG of aux slot memory that it normally
> will use.
>
> In fact, since I didn't have one of the 8 MEG A2Heaven aux slot cards on
> which to test the patch, I used AppleWin with the command line '-r' option.
>
> Using 6 MEG of an 8 MEG 'card', AppleWorks will show a little over a
> 4000K Available.
>
> If you're interested, the replacement 'APLWORKS.SYSTEM' file and a pdf
> detailing the source code is here:
>
> <http://home.earthlink.net/~hughhood/BigAuxCardAppleWorks51/>
>
> It's a replacement file rather than just a 'patch' because I had to move
> some code around to make room for things.
>
> I know that at least (2) people have used the patch successfully on real
> hardware, so I'm going to assume that it works OK.
>
>
>
>
>
> Hugh Hood
>

Thanks for the link and info. I appreciate you making me aware of this.

Tom

John Brooks

unread,
May 11, 2017, 2:08:55 AM5/11/17
to
On Sunday, April 30, 2017 at 8:10:55 PM UTC-7, gid...@sasktel.net wrote:
BTW: I'm working on a new Ramworks ram disk driver which is larger capacity and faster than either the AE or Bredon ram disks.

-JB
@JBrooksBSI

James Davis

unread,
May 11, 2017, 8:58:17 PM5/11/17
to
Hi John,

On Wednesday, May 10, 2017 at 11:08:55 PM UTC-7, John Brooks wrote:
> BTW: I'm working on a new Ramworks ram disk driver which is larger capacity and faster than either the AE or Bredon ram disks.

Good! I just hope it is as easy, or easier, to use than the ProSel RamDisk driver, or the AE PRODRIVE driver. [The ProSel RamDisk driver works well, but I have not been able to get any AE PRODRIVE driver to work (on AppleWin).] A simple RAM.SYSTEM file that works within the boot-up chain would be nice.--Like the NS.CLOCK.SYSTEM file does.

James Davis

0 new messages