Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site eeg.UUCP
Path: utzoo!linus!decvax!decwrl!Glacier!well!ptsfa!eeg!bcx
From: bcx@eeg.UUCP ( Bryan Costales)
Newsgroups: net.micro.apple
Subject: Re: Hackers delight - AppleII question
Message-ID: <120@eeg.UUCP>
Date: Sat, 21-Sep-85 13:23:25 EDT
Article-I.D.: eeg.120
Posted: Sat Sep 21 13:23:25 1985
Date-Received: Wed, 25-Sep-85 07:31:05 EDT
References: <976@bunker.UUCP> <871@utcs.uucp>
Organization: EEG Systems Laboratory, San Francisco
Lines: 20

> .  And from an assembly language program you should output the sequence
> PR#3^M to $FDED.
> 
> Alan J Rosenthal

No, no. From the assembly language level, you should:

	jsr $C300	; Turn on 80 col card in slot 3
	jsr $3EA	; Reconnect DOS 3.3

Using DOS commands from assembly language programs by printing those
commands thru $FDED is very tricky. You must trick the DOS 
interpreter into thinking that your assembly language program is
a running BASIC program. See "Beneath DOS", Lisa 1.5 source, The
Randy Hyde Book, etc.
-- 
----
	Bryan Costales, EEG Systems Laboratory
	1855 Folsom St, San Francisco, Ca 94103 (415) 621-8343
	{ihnp4,dual,qantel}!ptsfa!eeg!bcx