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

Merlin 2.58 Assembler - saving to blank disk?

344 views
Skip to first unread message

jamesiw...@gmail.com

unread,
Oct 17, 2015, 10:02:50 PM10/17/15
to
I've been trying to save an object file to a blank disk with Merlin Assembler, and nothing that I have tried seems to work.

I have tried putting the DSK command at the beginning of my assembly language program:

DSK FILENAME

and then type ASM at the assembly prompt (after quitting my program with Alt-Q (Open Apple-Q))

I have tried save:

SAV FILENAME[S6,D2]

with a blank disk in drive 2,
and then typing ASM at the prompt

I have tried doing the above options, and then going back to the menu, and put a blank disk in drive 1 (for the former) or a blank disk in drive 2, but Sometimes I get "VOLUME FULL" sometimes I get "VOLUME NOT FOUND".. I have tried using the 2nd Merlin disk to do this and sometimes nothing happens, as if there is success, but no matter which method I try, if I load up ProDOS and then put the disk in drive 1 and type "CATALOG" the object file does not appear anywhere.

Would someone tell me the steps to save an object file, and also a source file, to a disk OTHER than the Merlin Assembler disk?

John Brooks

unread,
Oct 17, 2015, 10:22:38 PM10/17/15
to
I use a newer Merlin 3.51 on the GS, but IIRC, the obj-save syntax is the same.

Your DSK & SAV pseudo-ops look correct. I use them all the time on my programs with no problem (SAV for small obj, DSK for large obj).

I did a quick test:

dsk /ram5/dsksave
org $300
lda #"H"
jmp $fded

assembling results in a 5 byte obj file: /ram5/dsksave

Then I tried:

org $300
lda #"H"
jmp $fded

sav /ram5/objsave

assembled and got a write confirmation msg at the end of the asm listing:

Object saved as /ram5/objsave,A$0300,L$0005,BIN

A catalog of /ram5 shows both BIN files on the volume.

I'm not sure why you are getting the VOLUME FULL error messages when Merlin tries to save. I would try using a full prodos path, make sure your destination disk is named uniquely (you might be getting a volume name conflict), and reformat your blank disk to make sure the directory structure is not damaged (and is empty).

Hope that helps,
-JB
@JBrooksBSI

D Finnigan

unread,
Oct 18, 2015, 4:00:47 PM10/18/15
to
jamesiwalker77 wrote:
> I've been trying to save an object file to a blank disk with Merlin
> Assembler, and nothing that I have tried seems to work.
>
>
> Would someone tell me the steps to save an object file, and also a source
> file, to a disk OTHER than the Merlin Assembler disk?
>

I usually use the O command from the main menu to save the object (binary)
file and the S command to save source. If you need to save to a different
disk, change the PREFIX using the D disk command option.


--
]DF$
The Marina IP stack for Apple II--
http://marina.a2hq.com/

Message has been deleted

jamesiw...@gmail.com

unread,
Oct 18, 2015, 11:16:40 PM10/18/15
to
I'm still getting volume full.

Perhaps a reason this isn't working is I don't have a formatted PRO-DOS disk, and my disk was formatted in DOS 3.3?

I read that to format a PRO-DOS disk, you have to use a "formatting utility," but I don't know where to find such a formatting utility.

Since I'm using the AppleWin emulator, does anyone know where I can get either a formatting utility to format disks for PRO-DOS (along with instructions on how to use it), or where I can get a formatted PRO-DOS blank disk image? In .dsk AppleWin compatible format?

jamesiw...@gmail.com

unread,
Oct 18, 2015, 11:18:25 PM10/18/15
to
Still getting errors when I switch disks using the D option in the Merlin main menu.

wss...@gmail.com

unread,
Oct 18, 2015, 11:33:00 PM10/18/15
to
Yes of course you need a prodos formatted disk.
You need to become acquainted with ftp.apple.asimov.net.
Look in images/masters/prodos for prodos disk images

jamesiw...@gmail.com

unread,
Oct 19, 2015, 11:07:11 PM10/19/15
to

> Yes of course you need a prodos formatted disk.
> You need to become acquainted with ftp.apple.asimov.net.
> Look in images/masters/prodos for prodos disk images

Google is giving me an "Unable to access the network" error when I try to go to that web site. My internet connection is loading other pages, so it's not a problem with my connection.

I tried using the ProDOS developers disk and deleting all the files on it, but that's not working. Still getting "Volume Full"

But when I use an older version of Merlin for DOS 3.3, I am able to get programs to save on a blank DOS 3.3 disk, which I made by renaming another DOS 3.3 disk and deleting all the files.

So I'm wondering if simply deleting files from the ProDOS developers disk doesn't work for creating a blank ProDOS disk.

I don't mind using DOS 3.3 that much, but it would be nice to know how to do this with ProDOS.

denisb...@gmail.com

unread,
Oct 20, 2015, 4:13:05 PM10/20/15
to

jamesiw...@gmail.com

unread,
Oct 20, 2015, 10:51:57 PM10/20/15
to
On Tuesday, October 20, 2015 at 4:13:05 PM UTC-4, denisb...@gmail.com wrote:
> try ftp://ftp.apple.asimov.net/pub/apple_II/

I found an empty PRO DOS disk image there in /images/masters/prodos.

But....

Still getting that pesky "Volume Full" message, no matter what I try. I wonder if my Merlin Assembler disk image is corrupt.

Michael J. Mahon

unread,
Oct 21, 2015, 12:04:02 PM10/21/15
to
The image is not read only, is it?
--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

izzic...@gmail.com

unread,
Jan 14, 2016, 2:12:40 PM1/14/16
to
from the main menu of merlin-8 press "D" for disk then type "prefix /yourprefix", yourprefix is a volume name you gave your disk when you formated it, then it will ask you to insert that disk, i have to do this because I don't have a 2nd drive on my //c, so I have to switch disks, hope this helps a bit
0 new messages