[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Once again musing about "DOS 3.3 for ProDOS"



On Dec 22, 4:48 pm, Steve Nickolas
<lyricalnan...@usotsuki.hoshinet.org> wrote:
> On Thu, 22 Dec 2011, ict@ccess wrote:
> > On Dec 22, 11:24 am, Steve Nickolas
> > <lyricalnan...@usotsuki.hoshinet.org> wrote:
> >> ...sigh...
>
> >> Been poring through Beneath Apple DOS and 2 different disassemblies just
> >> trying to figure out, first of all, what code I'm going to have to
> >> rewrite.
>
> >> Again the idea is to make a minimally invasive graft into DOS 3.3 that
> >> just translates File Manager calls to ProDOS calls, and probably gut the
> >> RWTS.
>
> >> -uso.
>
> > Methinks you are doing that backwards.  You should be booting into
> > Prodos, loading the Dos 3.3 file then doing a kind of emulation where
> > your ouput checks for disk commands when running your binary programs.
>
> > Rob
>
> ...well, that's basically what I was planning to do.  Take a DOS 3.3
> image, patch it, wrap it into a SYS file.
>
> -uso.

Ok  I found my short code for executing disk commands.

2000: A2 08 BD 0E 20 9D 00 02 CA 10 F7 4C 03 BE
200E: C3 C1 D4 C1 CC CF C7 8D 00 00

It is so short I entered it from my iPhone. -_-

All you would need to do is monitor output for a CTRL-D character,
check the incoming command which would terminate with an $8D
character, then jump to this short routine with the se command.

At least that sounds easy in theory.

Rob