jchan@kim.Berkeley.EDU (Jeffery Chan) (10/03/86)
][
	I'm trying to write a binary progarm that trys to make use
of the GETLN routines (as described in the Apple reference manual).
	What happens is the when I call the routines and the input
is "LOADER.OBJ0", the program trys to execute the input as a DOS command
("LOAD RE.OBJ0").  I get "FILE NOT FOUND" after a disk access and find myself
back in basic.
	The reference manual, to refreash your memory, says the routine
should return with the input in the "input buffer page" (page $02) and
register X holding the number of characters read.
	Now I know I *can* get the GETLN routines to behave properly, because
I have a binary program that calls GETLN1 (the one w/o any prompt), and
doesn't do anything weird when the input resembles a DOS command.  I could
try to figure out how the program works but I don't think I would like
to trace a machine language program. :-(
	My computer setup has a communications card in slot 2 and the
single disk drive connected to slot 6.  And, oh yeah, it's a IIe.
	If anybody has any ideas on this matter please reply by mail.  There's
no use in flooding the net with followups.  When someone mails me a solution,
I'll post it.
					Jeff Chan
					jchan@kim.Berkely.EDU
Sign on Ringworld: "Speed limit: 5 miles/sec-- strictly enforced"jchan@kim.Berkeley.EDU (Jeffery Chan) (10/03/86)
][
	I'm trying to write a binary progarm that trys to make use
of the GETLN routines (as described in the Apple reference manual).
	What happens is the when I call the routines and the input
is "LOADER.OBJ0", the program trys to execute the input as a DOS command
("LOAD RE.OBJ0").  I get "FILE NOT FOUND" after a disk access and find myself
back in basic.
	The reference manual, to refreash your memory, says the routine
should return with the input in the "input buffer page" (page $02) and
register X holding the number of characters read.
	Now I know I *can* get the GETLN routines to behave properly, because
I have a binary program that calls GETLN1 (the one w/o any prompt), and
doesn't do anything weird when the input resembles a DOS command.  I could
try to figure out how the program works but I don't think I would like
to trace a machine language program. :-(
	My computer setup has a communications card in slot 2 and the
single disk drive connected to slot 6.  And, oh yeah, it's a IIe.
	If anybody has any ideas on this matter please reply by mail.  There's
no use in flooding the net with followups.  If someone mails me a solution,
I'll post it.  (Also, please use 'r', not 'R'-- I know what I said)
					Jeff Chan
					jchan@kim.Berkely.EDU
Sign on Ringworld: "Speed limit: 5 miles/sec-- strictly enforced"