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


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

Re: Query about ProDOS 8

From Benoit0123 <bgilon@free.fr>
Newsgroups comp.sys.apple2.programmer
Subject Re: Query about ProDOS 8
Date 2017-09-02 20:34 +0000
Organization Mac GUI
Message-ID <benoit0123-1504384751@macgui.com> (permalink)
References <benoit0123-1504365722@macgui.com>

Show all headers | View raw


Thank you John, Roger and James for your quick replies.

The point here is that I got a "crash" as a ProDOS device was read from an
interrupt routine while the mini assembler was active. This is on an
Enhanced Apple //e.

a) On the Enhanced //e, interrupts are not disabled (i.e. no SEI
instruction) while the internal ROM is selected see code at $FFB4 (GOTOCX),
unlike what happens on the "unenhanced //e";

b) When a "!" is issued by the user at the monitor prompt, control is passed
to a vector in $CX space (thru the code above) (Y value $0D) to lead in fine
to the mini assembler. Unlike other vectors (usually 80col. firmware
related), there is no immediate return (chronologically speaking) to the
proper "ending" function for deactivating of the internal ROM.
c) The final ML code that is finally called is at address $FCF0:
 LDA #A1 "!" prompt...
 STA PROMPT
 *JSR GETLNZ*
 *STA C006*
 JMP CF9C (DOINST)
Here we see that C006 is updated but only after a GETLNZ call, that is, if
an IRQ appears while the program is in GETLNZ processing and that IRQ calls
a MLI ProDOS function, chances are high that that the problem rises again.
So from now on, I would personally insert a STA C006 before a ProDOS MLI
call within interrupt routines just to avoid this state.

Best regards,
BenoƮt


-- 
Growing old is mandatory..
growing up is optional..
But the other way round is as true.

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


Thread

Query about ProDOS 8 Benoit0123 <bgilon@free.fr> - 2017-09-02 15:17 +0000
  Re: Query about ProDOS 8 John Brooks <jbrooks@blueshiftinc.com> - 2017-09-02 09:35 -0700
    Re: Query about ProDOS 8 James Davis <JPD.Enterprises@outlook.com> - 2017-09-02 12:20 -0700
    Re: Query about ProDOS 8 ol.sc@web.de (Oliver Schmidt) - 2017-09-08 10:53 +0000
      Re: Query about ProDOS 8 John Brooks <jbrooks@blueshiftinc.com> - 2017-09-11 21:53 -0700
        Re: Query about ProDOS 8 Steve Nickolas <usotsuki@buric.co> - 2017-09-12 03:51 -0400
          Re: Query about ProDOS 8 David Schmenk <dschmenk@gmail.com> - 2017-09-12 06:59 -0700
        Re: Query about ProDOS 8 ol.sc@web.de (Oliver Schmidt) - 2017-09-12 14:41 +0000
        Re: Query about ProDOS 8 Michael J. Mahon <mjmahon@aol.com> - 2017-09-12 11:18 -0500
  Re: Query about ProDOS 8 roger.shimada@gmail.com - 2017-09-02 10:48 -0700
  Re: Query about ProDOS 8 Benoit0123 <bgilon@free.fr> - 2017-09-02 20:34 +0000
    Re: Query about ProDOS 8 roger.shimada@gmail.com - 2017-09-02 20:35 -0700
      Re: Query about ProDOS 8 John Brooks <jbrooks@blueshiftinc.com> - 2017-09-02 21:47 -0700
        Re: Query about ProDOS 8 Benoit0123 <bgilon@free.fr> - 2017-09-03 09:34 +0000
          Re: Query about ProDOS 8 David Schmenk <dschmenk@gmail.com> - 2017-09-03 07:15 -0700
            Re: Query about ProDOS 8 Benoit0123 <bgilon@free.fr> - 2017-09-03 16:12 +0000
          Re: Query about ProDOS 8 John Brooks <jbrooks@blueshiftinc.com> - 2017-09-04 22:00 -0700
            Re: Query about ProDOS 8 Benoit0123 <bgilon@free.fr> - 2017-09-05 09:13 +0000
            Re: Query about ProDOS 8 James Davis <JPD.Enterprises@outlook.com> - 2017-09-06 17:56 -0700
              Re: Query about ProDOS 8 John Brooks <jbrooks@blueshiftinc.com> - 2017-09-07 00:00 -0700
            Re: Query about ProDOS 8 Steve Nickolas <usotsuki@buric.co> - 2017-09-10 23:30 -0400
              Re: Query about ProDOS 8 David Schmenk <dschmenk@gmail.com> - 2017-09-11 06:52 -0700
      Re: Query about ProDOS 8 roger.shimada@gmail.com - 2017-09-03 07:05 -0700
  Re: Query about ProDOS 8 Benoit0123 <bgilon@free.fr> - 2017-09-02 20:37 +0000
    Re: Query about ProDOS 8 Antoine Vignau <antoine.vignau@laposte.net> - 2017-09-02 14:07 -0700
  Re: Query about ProDOS 8 Benoit0123 <bgilon@free.fr> - 2017-09-02 21:36 +0000
  Re: Query about ProDOS 8 James Davis <JPD.Enterprises@outlook.com> - 2017-09-03 18:45 -0700
    Re: Query about ProDOS 8 Antoine Vignau <antoine.vignau@laposte.net> - 2017-09-03 23:52 -0700
  Re: Query about ProDOS 8 Jorge <jorge@jorgechamorro.com> - 2017-09-12 13:42 -0700
    Re: Query about ProDOS 8 ol.sc@web.de (Oliver Schmidt) - 2017-09-13 10:30 +0000
      Re: Query about ProDOS 8 Steven Hirsch <snhirsch@gmail.com> - 2017-09-13 08:00 -0400
      Re: Query about ProDOS 8 Jorge <jorge@jorgechamorro.com> - 2017-09-14 07:30 -0700

csiph-web