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

Re: Fast or direct load from disk.



On Feb 22, 1:22 pm, Charlie <charlieD...@verEYEzon.net> wrote:
> On 2/22/2012 11:49 AM, Egan Ford wrote:
>
> > Hello all,
>
> > I am looking for any code or suggestions on how to load a single
> > binary to a specific address and execute it directly from disk
> > (booting required) without DOS or ProDOS loading first.
>
> > I've seen some games load very fast.  Is there a general method for
> > doing this floating around?
>
> > Thanks.
>
> I believe you can put a binary on track 0 sector 0 and it will load to
> $800 upon booting the disk. It will then jump to $801 and execute the
> code.  The byte at $800 tells the boot code how many sectors to load up
> to 16, I think.
> No DOS is involved.
>
> Charlie

Wow Charlie, that is stupid simple.  I just need to make sure I turn
off the drive motor.

Thanks!