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


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

Re: Using ProDOS DOSCMD

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From mmphosis <mmphosis@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Using ProDOS DOSCMD
Date Sat, 21 May 2016 01:06:25 -0000 (UTC)
Organization Mac GUI
Lines 23
Message-ID <mmphosis-1463793000@macgui.com> (permalink)
References <d7-dnVVxcK9YwKLKnZ2dnUU7-U_NnZ2d@giganews.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Sat, 21 May 2016 01:06:25 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="17373"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VwEw7N7qookJpQ/AJJ9G0"
User-Agent Mac GUI Usenet
In-Reply-To <d7-dnVVxcK9YwKLKnZ2dnUU7-U_NnZ2d@giganews.com>
Cancel-Lock sha1:aiPBV96uFJv7HFOWAnrnI+wwDTs=
Xref csiph.com comp.sys.apple2.programmer:2737

Show key headers only | 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