1 |
301 |
jshamlet |
; Copyright (c)2022 Jeremy Seth Henry
|
2 |
|
|
; All rights reserved.
|
3 |
|
|
;
|
4 |
|
|
; Redistribution and use in source and binary forms, with or without
|
5 |
|
|
; modification, are permitted provided that the following conditions are met:
|
6 |
|
|
; * Redistributions of source code must retain the above copyright
|
7 |
|
|
; notice, this list of conditions and the following disclaimer.
|
8 |
|
|
; * Redistributions in binary form must reproduce the above copyright
|
9 |
|
|
; notice, this list of conditions and the following disclaimer in the
|
10 |
|
|
; documentation and/or other materials provided with the distribution,
|
11 |
|
|
; where applicable (as part of a user interface, debugging port, etc.)
|
12 |
|
|
;
|
13 |
|
|
; THIS SOFTWARE IS PROVIDED BY JEREMY SETH HENRY ``AS IS'' AND ANY
|
14 |
|
|
; EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
15 |
|
|
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
16 |
|
|
; DISCLAIMED. IN NO EVENT SHALL JEREMY SETH HENRY BE LIABLE FOR ANY
|
17 |
|
|
; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
18 |
|
|
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
19 |
|
|
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
20 |
|
|
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
21 |
|
|
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
22 |
|
|
; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23 |
|
|
;
|
24 |
|
|
;------------------------------------------------------------------------------
|
25 |
|
|
; task_1_func.s
|
26 |
|
|
;
|
27 |
|
|
; Revision History
|
28 |
|
|
; Author Date Change
|
29 |
|
|
;---------------- -------- ---------------------------------------------------
|
30 |
|
|
; Seth Henry 7/15/22 Initial Release
|
31 |
|
|
;------------------------------------------------------------------------------
|
32 |
|
|
.ORG TASK1_BLOCK
|
33 |
|
|
|
34 |
|
|
;------------------------------------------------------------------------------
|
35 |
|
|
; Pointer table
|
36 |
|
|
;------------------------------------------------------------------------------
|
37 |
|
|
INSTANCE_TASK1_POINTERS
|
38 |
|
|
;------------------------------------------------------------------------------
|
39 |
|
|
|
40 |
|
|
;------------------------------------------------------------------------------
|
41 |
|
|
; Task Initialization
|
42 |
|
|
;------------------------------------------------------------------------------
|
43 |
|
|
TASK1_INIT: INITIALIZE_TASK1_VARS
|
44 |
|
|
RTS
|
45 |
|
|
;------------------------------------------------------------------------------
|
46 |
|
|
|
47 |
|
|
;------------------------------------------------------------------------------
|
48 |
|
|
; Task Executive
|
49 |
|
|
;------------------------------------------------------------------------------
|
50 |
|
|
TASK1_EXEC: RTS
|
51 |
|
|
;------------------------------------------------------------------------------
|