Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #2737

Re: Using ProDOS DOSCMD

From mmphosis <mmphosis@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Using ProDOS DOSCMD
Date 2016-05-21 01:06 +0000
Organization Mac GUI
Message-ID <mmphosis-1463793000@macgui.com> (permalink)
References <d7-dnVVxcK9YwKLKnZ2dnUU7-U_NnZ2d@giganews.com>

Show all headers | View raw


I am not familiar with DOSCMD, but this is what I would do...



JSR save80toCA ; at the beginning of your program

; ... your code that disturbs 80 to CA

JSR swap80toCA ; before calling DOSCMD

; call DOSCMD

JSR swap80toCA ; after calling DOSCMD

; ... more of your code that uses 80 to CA

JSR swap80toCA ; might want to do this again before quitting your code.



I did something similar to this in "Apple-1 for Apple II" to save and
restore critical pages of memory that I clobber with my code.

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-20 13:56 -0500
  Re: Using ProDOS DOSCMD mmphosis <mmphosis@macgui.com> - 2016-05-21 01:06 +0000
    Re: Using ProDOS DOSCMD Antoine Vignau <antoine.vignau@laposte.net> - 2016-05-21 02:44 -0700
      Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-22 01:52 -0500
        Re: Using ProDOS DOSCMD gids.rs@sasktel.net - 2016-05-22 16:52 -0700
          Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-23 00:54 -0500
            Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-23 15:48 -0500
              Re: Using ProDOS DOSCMD gids.rs@sasktel.net - 2016-05-23 21:49 -0700
                Re: Using ProDOS DOSCMD Antoine Vignau <antoine.vignau@laposte.net> - 2016-05-24 00:28 -0700
                Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-24 14:32 -0500
                Re: Using ProDOS DOSCMD Antoine Vignau <antoine.vignau@laposte.net> - 2016-05-24 15:02 -0700
                Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-25 10:56 -0500
                Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-25 10:56 -0500
                Re: Using ProDOS DOSCMD Antoine Vignau <antoine.vignau@laposte.net> - 2016-05-25 14:09 -0700
                Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-25 17:01 -0500
                Re: Using ProDOS DOSCMD gids.rs@sasktel.net - 2016-05-25 22:00 -0700
            Re: Using ProDOS DOSCMD Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-05-28 09:07 -0700
    Re: Using ProDOS DOSCMD Michael J. Mahon <mjmahon@aol.com> - 2016-05-22 01:52 -0500

csiph-web