[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ProDOS / Autostart ROM ID bytes
vladitx wrote:
> Trying to understand Alex Freed's PD8, I found this at the beginning of
> the boot firmware code:
>
> ;; $Cx00
> ldx #$20 ; ID bytes for ProDOS and the
> lda #$00 ; Apple Autostart ROM
> cpx #$03 ;
> cpx #$3C ; this one for older II's
>
> Does someone remember the exact and full requirements to be:
> - recognized by Autostart ROM on ][+, //e, //c, etc.
> - recognized by ProDOS as a block device driver
Required by the AutoStart ROM in Apple ][+ & un-enhanced IIe:
Cn00: xx 20 xx 00 xx 03 xx 3c
Required by the enhanced IIe and IIgs (and ProDOS):
Cn00: xx 20 xx 00 xx 03
SmartPort:
Cn00: xx 20 xx 00 xx 03 xx 00
> Regarding ProDOS driver structure, is there public document describing
> all requirements like entry points, etc.? Example source template will
> be appreciated.
There should be - I don't have my ProDOS Technical Reference manual to
hand.
CnFE is the ProDOS block interface status byte which indicates the
capabilities of the card (1-4 drives, read/write/status/format commands
supported, interrupts supported).
CnFF is the offset from Cn00 for the entry point of the ProDOS block
interface
Parameters are passed in ZP locations $42-46 I seem to recall.