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

A2Programmer needs help - Please!



I'm posting this request for help with information as a favor to a friend that
for some reason is unable to post to the Usenet newsgroups.  If you could read
the following and reply - I'll save the reply and sendit on to him by email.

Thanks,
Tom

FROM: a2programmer

I need to know the assembly commands to initiate a PR#3 command from
within PRODOS.

The individual softswitches that need to be accessed would be great.
IE:
  STA TURN ON FIRMWARE
  STA SET2EIGHTYCOLUMNS

The opposite would be nice to, how to do a PR#0 from assembly in PRODOS.  I
don't want to print "PR#0" after chr$(4).  Just the softswitches.

I think the above would be about 10 lines of assembly?

I'd also like the PRODOS code to load a file!  If I know the
file is on disk and I know where it is at, how do I change the
prefix, load the file (do I have to specify where to load it to?),

I found that you have to JSR MLI
                          DB COMMAND_CODE
                          DW Param_list
                          BCS error

What is the command code to load a file?  What are the parameters?  SAVE code
and parameter list would be great too.

How can I write the above code with an assembler that does not have DB and DW
commands?

I think the above would be about 10 lines of assembly also.

A good article on the PRODOS MLI, command codes, and parameter lists would be
excellent.

I do not have PRODOS references so I would really appreciate
it if you could provide the few lines of code that I need.

Also a PRODOS memory map would be nice.  I just came from the
FAQs and I didn't find the exact information that I needed, 
however the FAQs are alot nicer than they used to be.

When the project is done source and object code will be free for everyone.

Thanks a bunch,
a2programmer