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


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

Multitasking Mouse Draw Demo v1.1

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!xmission!news.bbs-scene.org!macgui.com!dog_cow
From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Multitasking Mouse Draw Demo v1.1
Date Tue, 25 Feb 2014 20:57:52 +0000 (UTC)
Organization Mac GUI
Lines 30
Message-ID <dog_cow-1393361871@macgui.com> (permalink)
NNTP-Posting-Host gunshin.wiredns.net
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace technocratmedia-w1.news.bbs-scene.org 1393361872 19859 74.119.145.48 (25 Feb 2014 20:57:52 GMT)
X-Complaints-To abuse@bbs-scene.org
NNTP-Posting-Date Tue, 25 Feb 2014 20:57:52 +0000 (UTC)
User-Agent Mac GUI Usenet
Xref csiph.com comp.sys.apple2.programmer:1167

Show key headers only | View raw


Multitasking Mouse Draw Demo v1.1
24 Feb 2014

Changes to system since version 1.0:

- Individual Process Priority table
- Sleeping process table
- NEWPROC is now a generalized system call and can be used within processes
- NEWPROC is changed to accept a process priority in the Y-register
- System now allows as many as 6 total processes
- Context switch optimization for when there is only 1 process
- CREATEALL only creates initial process 0 with priority of $16
- New SLEEP system call allows processes to temporarily suspend execution

Changes to processes since version 1.0:

- There are now 4 total processes
- New process 3: follows mouse presses and plots coordinates on text screen
- Process 0 now creates processes 1, 2, and 3
- Process 1 has a lower priority and calls YIELD after each plot
- Process 1 calls SLEEP for 8 cycles after plotting an entire row
- Process 2 has the lowest priority
- Process 2 calls SLEEP for 4 cycles before it begins plotting

-- 
]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 | Unroll thread


Thread

Multitasking Mouse Draw Demo v1.1 D Finnigan <dog_cow@macgui.com> - 2014-02-25 20:57 +0000
  Source Code for Multitasking Mouse Draw Demo v1.1 D Finnigan <dog_cow@macgui.com> - 2014-02-25 21:01 +0000

csiph-web