[net.micro.cbm] relative files: HELP!

elg@usl.UUCP (Eric Lee Green) (07/26/86)

<burp!>

I'm being driven crazy. I'm using Promal v2.0 on a C-128 with a 1541,
and I simply cannot get the blarsted thing to handle relative files
correctly (yes, I'm turning the dynoloader off). I am using the byte
positioning within record feature to access individual pieces of the
person's records, and while I can make it work just fine from BASIC,
from PROMAL (directly using the C-64 Kernal) the weirdness takes
over... sometimes it doesn't open the relative file at all, sometimes
it gives me a "no channel" error, often it won't return an error
string in channel 15 AT ALL! The strange thing is that it was working
fine using a C-64 and an SFD-1001 disk drive, but now that I've made a
few changes and moved over to a 128 with a 1541... 

Could someone please ship me some code in "C", assembler, or some
other CIVILIZED language that demonstrates how to use these nasty
buggers?

By the way, I've been having a multitude of mysterious errors using
Promal 2.0 on the 128 in 64 mode, errors that didn't happen when I was
using it on the 64 (alas, I can't switch computers, the SFD will only
hook up to the 64 and my brother's work is on SFD disks). For example,
one time I loaded an overlay, and TOTAL LOCKUP: Nothing happened, and
after a while, the screen garbaged up (looked like the 128 got shoved
into 2Mhz. operation). Another time, I was adding 10 to a number as
the first statement in a procedure, AND IT WASN'T GETTING ADDED! AND
THAT WAS THE SAME CODE THAT RAN FINE ON A C-64! I'm giving SMA a call
Monday pronto... has anybody else had this experience running Promal
on a 128?

If I can't get the stupid thing to work right... darnit, I'll have to
translate my program into another language, because I can't just
exclude people with the C-128 from the list of potential customers.
Blech.

Groggily yours (spent the whole day hackin' "C" on Unix I was so
		disgusted with the blarsted C-128),

   -- Eric
-- 
-- Computing from the Bayous, --
      Eric Green {akgua,ut-sally}!usl!elg
         (Snail Mail P.O. Box 92191, Lafayette, LA 70509)