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

Re: How To Transfer Machine Lang Executable From PC to A2?



"Dave" <apple2ebeige@yahoo.com> wrote in message
d4aa8e8a.0405051752.874c78d@posting.google.com">news:d4aa8e8a.0405051752.874c78d@posting.google.com...
> I have a binary file that's a machine language executable for ProDOS
> on my PC that I need to get onto the A2.  I have several comms
> programs (zlink, proterm, etc.) that will transfer files, but there
> seems to be some magic involved in making sure the resulting ProDOS
> file is the right type.  Can anyone help out?
>
> Also, is there an easy way to transfer a file from native file system
> (PC, Mac) to an emulator disk image?
>
> Thanks.
>
> -Dave

If you download a file to the Apple with Proterm, absent any identifying
information ( binary II wrapper), Proterm will save/mark it as a text file.
You can then use FILE -> SET FILE INFO to correct the header.

If it is a type SYS the aux type will be $2000
If it is type BIN you will need to set aux type to the memory location where
the binary expects to load.

If it was compiled at $5327 set aux type to $5327

If you don't know you're not out of luck but you're in for some work.