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


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

Multitasking Mouse Draw Demo v1.1

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Multitasking Mouse Draw Demo v1.1
Date 2014-02-25 20:57 +0000
Organization Mac GUI
Message-ID <dog_cow-1393361871@macgui.com> (permalink)

Show all headers | 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