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


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

Multitasking Mouse Draw Demo v1.3

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Multitasking Mouse Draw Demo v1.3
Date 2014-12-18 19:52 +0000
Organization Mac GUI
Message-ID <dog_cow-1418932376@macgui.com> (permalink)

Show all headers | View raw


Here it is, my last Apple II project for this year 2014. Source code will
appear in a followup to this article, and is also available via email. I
will send you a disk image.

The Multitasking Mouse Draw Demo is a proof-of-concept program that shows
how true pre-emptive multitasking is possible on the 8-bit Apple, supporting
both a foreground and several background tasks. Version 1.3 supports up to 3
interrupting peripheral cards.

----------------

Changes to system since version 1.2:

- TimeMaster II H.O. support
- TIMESTOR has HH:MM:SS time
- WAIT system call sets sleep time in A-reg
- Interrupt-driven keyboard buffer
- GETCH call to return characters from keyboard buffer
- Interrupt-driven Super Serial Card support (receive only)
- GETSSC call to return characters from SSC in buffer

Changes to processes since version 1.2:

- There are now 7 total processes
- New process 5 will periodically display time if clock is installed
- Process 0 now uses GETCH for input
- Process 0 only clears screen on Escape key press
- New process 6 prints characters received by SSC

Work for version 1.3 mostly took place at the end of August and start of
September, 2014.
GETCH added 6th December 2014.
SSC support added 16 December 2014.

Notes on 17 Dec 14---

The system is tested to work OK on:
- Integer Apple II
- Apple II Plus
- unenhanced Apple IIe
- enhanced Apple IIe platinum

There is a conflict between the Super Serial Card and the TimeMaster II H.O.
clock card when sending interrupts. I don't know if it's a hardware or
software problem with the ISR routines. This conflict results in a hang when
the first character is received on the SSC on the enhanced IIe platinum. The
hang can be cleared by turning off SW 2-6 on the SSC. This conflict results
in severely degraded performance, including dropped characters, but no hang,
when the SSC receives characters on all other Apple systems.

-- 
]DF$
Apple II Book: http://macgui.com/newa2guide/
Usenet: http://macgui.com/usenet/  <-- get posts by email!
Apple II Web & Blog hosting: http://a2hq.com/

Back to comp.sys.apple2.programmer | Previous | NextNext in thread | Find similar


Thread

Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-18 19:52 +0000
  Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-18 19:56 +0000
    Re: Source Code for Multitasking Mouse Draw Demo v1.3 gids.rs@sasktel.net - 2014-12-19 15:24 -0800
      Re: Source Code for Multitasking Mouse Draw Demo v1.3 wssimms@gmail.com - 2014-12-27 14:09 -0800
        Re: Source Code for Multitasking Mouse Draw Demo v1.3 Michael J. Mahon <mjmahon@aol.com> - 2014-12-27 17:36 -0600
      Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-28 13:38 +0000
        Re: Source Code for Multitasking Mouse Draw Demo v1.3 gids.rs@sasktel.net - 2014-12-28 10:45 -0800
          Re: Source Code for Multitasking Mouse Draw Demo v1.3 wssimms@gmail.com - 2014-12-28 15:14 -0800
          Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-29 18:13 +0000
            Re: Source Code for Multitasking Mouse Draw Demo v1.3 gids.rs@sasktel.net - 2014-12-29 13:14 -0800
              Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-30 09:25 +0000
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 "Bill Garber" <willy46pa@comcast.net> - 2014-12-30 05:44 -0500
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-30 12:25 +0000
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 Hugh Hood <hughhood@earthlink.net> - 2014-12-30 08:03 -0600
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-30 16:57 +0000
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 "Bill Garber" <willy46pa@comcast.net> - 2014-12-30 11:48 -0500
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 Martin Doherty <martindoherty377@gmail.com> - 2014-12-30 10:22 -0800
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-30 18:55 +0000
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 Michael J. Mahon <mjmahon@aol.com> - 2014-12-30 17:54 -0600
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2014-12-31 10:31 +0000
                Re: Source Code for Multitasking Mouse Draw Demo v1.3 D Finnigan <dog_cow@macgui.com> - 2015-01-26 22:48 +0000

csiph-web