TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: David Schmenk
date: 2009-01-10 08:28:44
subject: Re: From the WTF File: ProDOS and DOS 3.3 peacefully cohabiting

lyricalnanoha wrote:
> 
> 
> On Sat, 10 Jan 2009, David Wilson wrote:
> 
>> On Jan 10, 9:58Â pm, "Michael J. Mahon"
 wrote:
>>> lyricalnanoha wrote:
>>>> This contains a program I wrote to cram DOS 3.3 into 256
fewer bytes 
>>>> (by
>>>> disabling format and revectoring a couple patches) so that
ProDOS need
>>>> not be overwritten. Â It's a SYS file, and runs from ProDOS 8. Â (I 
>>>> also
>>>> tested it under GS/OS 5.0.4) Â On the DOS 3.3 side of the disk is a 
>>>> file
>>>> RETURN TO PRODOS, which pokes in the MLI call for
"quit", then executes
>>>> it - proving that ProDOS is still fully available.
>>>
>>> DOS 3.3 will run happily in just 16KB...
>>
>> I was thinking that DOS and ProDOS did not overlap (P8 in language
>> card, DOS in 3rd quarter of RAM) but then I realized why lyricalnanoha
>> needed to do this - the ProDOS global page at BFxx would be
>> overwritten by a 48KB DOS (and who would want to run a 16 or 32KB DOS
>> on a machine with 48+KB?).
>>
>> Well done lyricalnanoha. I will have to try it out sometime.
>>
> 
> That's exactly it.  I just crammed the stuff that would load into the 
> ProDOS global page down into the BEAF-BEFF area, overwriting the format 
> code.
> 
> I did a further tweak later that uses the image from dos.system *before* 
> the jmp $9d84, instead of *after* as the first version, I want to primp 
> it up a bit before I release that as the second edition, mainly I want 
> to be able to format from both sides (for ProDOS I got HyperFormat).
> 
> Naturally I used Hybrid Create :P
> 
> -uso.

Why not save the global page in the high part of LC2, above the quit 
code?  You should have enough space for that plus a little extra.  You 
shouldn't have to alter DOS 3.3 at all, but you could add to DOS a BYE 
command that restored the global page and returned to ProDOS.

Cool stuff,

Dave...
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.