Commit 128b61d8 authored by Neil Turton's avatar Neil Turton
Browse files

Import from cleaned 360 CD

| Copyright 1996 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| > !TinyDirs.!Run
|
| This simply turns on the TinyDirs module's icon
|
AddTinyDir %*0
| Copyright 1996 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| > !Pinboard.!Run
|
| This simply activates the pinboard module's back window.
|
Pinboard
File added
s/** gitlab-language=armasm linguist-language=armasm linguist-detectable=true
Version 0.32 (SCormie - 16 Oct 1991)
* Fixed bugs in interactive help text.
* With interactive help running, leaving the pointer over the border of a menu
caused a message token not found error. This has been fixed so that no text
is produced.
* Pinboard menu now opens 64 units to the left of the mouse pointer (as
specified in the style guide).
* Info box template was out of date.
Version 0.33 (SCormie - 21 Oct 1991)
* Now checks size word in DataSaveAck message returned because of a pinboard save,
if this is < 0 then the destination is treated as temporary eg. <Wimp$Scrap> and
is not copied to the pinboard save file buffer.
* Fixed bug where pressing return in the pinboard save box created a file of type
Data instead of Obey.
* Fixed bug where pressing the RESET button caused Pinboard to create an address
exception in the Wimp. Basically, Pinboard was left with a list of non-existant
icons and tried to delete one of them.
* If a window has the caret when it is to be iconised then the caret is removed first.
* Fixed help and syntax messages.
* Stopped pinboard running files when they are dragged off screen.
* The mouse pointer is no longer allowed to leave the screen during a drag operation.
* Tidy changes are now saved in the Pinboard save file (or Desktop boot file).
* Fixed bug where a Tidy operation with a large icon caused bad problems (sometimes
lost the icon, sometimes got stuck in an infinite number of blank error message
boxes).
Version 0.34 (SCormie - 24 Oct 1991)
* Error box should have had OK instead of Cancel.
* Now fully internationalised. Resource files moved from Pinboard to Messages module,
task name and all error messages looked up in Messages file.
Version 0.35 (SCormie - 30 Oct 1991)
* Double-click on icons now causes a DATAOPEN message to be broadcast. If no other
task is interested in the file/directory/application then the message is bounced
back by the Wimp and Pinboard does a Filer_Run or Filer_OpenDir.
Version 0.36 (SCormie - 1 Nov 1991)
* Shutdown then Restart now starts up the Pinboard task again.
* "Use *Desktop..." error now displayed rather than token when trying to start
Pinboard when it is already running.
* Now updates x and y positions of icons when snapped to a grid point by grid lock.
* Bringing up the save box no longer stops hot keys from working.
* Loading 8bpp backdrop sprites in 8bpp modes now works.
Version 0.37 (David De Vorchik - 19 Nov 91)
* Uses ColourTrans properly to translate sprite so that can work with true-256 colour
sprites.
* Updated to use DragASprite in save dialogue (based on CMOS bit!).
Version 0.38 (Steve Cormie - 22 Jan 1992)
* Fixed backdrop code so that a sprite area of the correct size is allocated
and created.
* Fixed tiling so that edges of the sprite are not chopped off.
* Fixed everything which takes account of the icon bar (the size being used was
too large so scaled and tiled sprites left a line of background above the icon
bar in VGA modes).
* When *Pin commands are written to the Pinboard save file, negative numbers caused
by icons being partly off screen are now preceded by '0' eg. *Pin blah 0-50 500.
This is required because OS_ReadArgs cannot read -ve numbers (it thinks they are
flags).
* Save files are now set to type &FEB correctly.
* Bounding boxes of icons on a shifted icon bar are now calculated correctly.
* Added sprite and support for default tiling of LCD background on start up and
mode changes (if there is no backdrop sprite already).
Version 0.39 (Steve Cormie - 24 Jan 1992)
* Fixed bug where the top of the icon bar was overwritten in rectangular pixel modes.
* Fixed bug in backdrop mode change code.
Version 0.40 (Steve Cormie - 27 Jan 1992)
* Finally fixed backdrop/icon bar overlap properly (honestly!!).
Version 0.41 (Steve Cormie - 20 Feb 1992)
* Fixed bug RP-0961. Pinboard now reinitialises everything and
starts from scratch whenever the desktop is started.
* Now uses TerrMgr instead of UpperCase macros.
Version 0.42 (Steve Cormie - 26 Feb 1992)
* LCD backdrop code now uses an ECF, this allows background stipple with centred
backdrops and fixes square pixel vs. rectangular pixel mode problems.
Version 0.43 (Steve Cormie - 28 Feb 1992)
* Fixed remaining bugs in backdrop tiling (I hope).
Version 0.44 (Steve Cormie - 12 Mar 1992)
* Dragging single TinyDirs icons to a filer viewer no longer copies all of the
icons (or changes the text colour on the icons).
* Message file and error lookup modified, mainly so that the message file is now
opened during task initialisation, not module initialisation. Fixes RP-1617.
* Pinboard now only does a Filer_Run on a double-clicked object. Filer_Run
should now be modified to handle SHIFT correctly and broadcast a DATAOPEN
message (fixes G-RO-9915a).
Version 0.45 (Steve Cormie - 23 Mar 1992)
* Help and syntax of * commands brought into line with their action and manuals.
Version 0.46 (Steve Cormie - 23 Mar 1992)
* Fixed mistake in 0.45 and updated template file.
Version 0.47 (Steve Cormie - 25 Mar 1992)
* Non-interactive file copy from pinboard now works correctly (fixes RP-1951).
Version 0.48 (Steve Cormie - 02 Apr 1992)
* Tidy code now updates icon handles correctly (fixes RP-2158).
Version 0.50 (Steve Cormie - 23 Apr 1992)
* No longer removes caret from iconised windows (Wimp now does this).
* Now responds to Service_Memory.
Version 0.51 (Steve Cormie - 25 Feb 1993)
* Added solid icon drags.
* Iconised windows can go to icon bar (configurable).
Version 0.52 (Neil Kelleher - 15 July 1993)
* Added Fonting Wimp support
Version 0.53 (Neil Kelleher - 1 Sep 1993)
* Added interational help
Version 0.54 (Neil Kelleher - 15 Sep 1993)
* Added -Remove option to backdrop command.
DeskFiler Documentation
Author: Gavin Stark
Status: Documentation for Relese 0.01 of DeskFiler
History:
12-Oct-89 0.01 Documentation for release 0.01
This document describes the facilities supplied by the Desk Filer application.
Outline
-------
The DeskFiler is the successor to TinyDirs. It allows file objects (files,
directories or applications) to be placed as icons on the icon bar. Once
there they can be selected, double-clicked, dragged, etc. in ways very similar
to the standard Filer windows.
The DeskFiler contains two * commands:
*AddDeskApp <full pathname> , to add an icon to the bar
*RemoveDeskApp <full pathname> , to remove all icons matching the name
from the bar
The DeskFiler responds to Save Desktop messages, creating *AddDeskApp commands
for the icons currently on the bar. The DeskFiler also understands the Help
Request message, and so is usable with !Help.
Facilities provided by Desk Filer
---------------------------------
The Desk Filer always puts an Apps icon on the icon bar. This icon is not
removeable. It represents the 'Deskfs:$.Apps' directory - i.e. the ROM
applications directory.
File objects, or selections of file objects, can be dragged from Filer
windows to any Desk Filer icon. This will result in the objects being
given icons, and these will be placed on the icon bar to the right of
the icon at which the drag finished. They will be placed in the same order
in which they appeared in the Filer window (i.e. in order of type/size/date).
Desk Filer icons on the icon bar can be selected using 'SELECT'. More icons
can be added to the selection using the 'ADJUST' button, which toggles the
state of the icon underneath it.
Pressing 'MENU' produces the DeskFiler menu. If 'MENU' was pressed when there
was no DeskFiler selection then the icon under the pointer when 'MENU' was
pressed will be temporarily selected, as in the Filer.
The menu allows the selection to be cleared, or all the icons to be selected,
or the current selection to be removed from the icon bar (this does not delete
them from the disc). Also, if the menu was created with no current selection
(i.e. an icon was temporarily selected) then the user can open the parent
directory of the temporarily selected icon, but only if the object for this
icon has a parent (i.e. is not $ % & etc.).
Dragging of selections of Desk Filer icons can be performed. At the end of the
drag the Desk Filer can take one of five actions, depending on the destination
of the drag:
1) Onto a Filer window. This causes a Copy operation to be set up for
each icon selected. Desk Filer will call Filer Action if there
is enough RAM, otherwise it will call *COPY.
2) Onto a non-Filer window. This causes a DataLoad message to be sent
to the application owning the destination window, and hence
the selection will be inserted at the current insertion point
for the window
3) Onto a non-DeskFiler icon on the icon bar. This causes a DataLoad
message to be sent to the application owning the destination
icon, so the application will try to load the selection.
4) Onto a DeskFiler icon on the icon bar. This will cause the selection
of icons to be moved from their current positions, to the right
of the destination icon. The operation preserves the order of
the unselected icons, and of the selected icons. (i.e. the
leftmost icon of the selection will appear at the left of the
reinserted icons.)
5) Onto a blank portion of the icon bar. This will cause any
applications in the selection to be run. Non-applications will
be ignored.
Double-clicking with 'SELECT' on an icon causes the icon to be run. This means
applications starting up, files being sent to the relevant application, and
directories being opened.
Double-clicking with 'ADJUST' on an icon causes the icon to be run, and then
removed from the Desk Filer list on the bar.
Desk Filer * commands
---------------------
The Desk Filer includes two * commands, for adding and removing icons from the
bar:
*AddDeskApp <full pathname>
This causes the file or directory specified by the pathname to be found,
and if it exists then it will be appended to the queue of items
to be added to the icon bar after the next Wimp_Poll call. This
means that icons will appear almost immediately if *AddDeskApp
is called from a WIMP task, but only when the WIMP is entered if
from a Boot sequence.
*RemoveDeskApp <full pathname>
This causes any icons currently on the bar which have the same full
pathname as that given in the command to be removed at the next
Wimp_Poll.
Known mis-features and possible enhancements
--------------------------------------------
The RemoveDeskApp command should not just remove those icons currently on the
bar, but also those in the buffered list which will be added to the icon bar
at the next Wimp_Poll. At the moment:
*AddDeskApp adfs:$.fred
*RemoveDeskApp adfs:$.fred
will cause all icons on the bar corresponding to adfs:$.fred to be removed, and
then one added!
*AddDeskApp adfs:$ produces an icon with an unknown file type (i.e. a white box)
It should produce a directory icon.
Shuffling icons by dragging could shuffle to the left if the shift key is pressed
Dragging selections onto DeskFiler icons with the control key down could cause the
selection to be sent to the application corresponding to the destination icon.
Dragging with adjust (onto the icon bar or to Filer windows, or even application
windows) should remove the DeskFiler icon.
The following is the iconize message protocol.
Pinboard acts as the default iconizer.
When the user SHIFT-Select on the close tool the wimp broadcasts the
following message:
Message_Iconize:
+20 Window handle.
+24 Task handle.
+28 20 Bytes of title string. (last part of first word)
+48
If no iconizer loaded
Nothing happens.
If iconizer loaded
1. It acknowledges the message. (stops the broadcast)
2. It sends the following message to the window:
Message_WindowInfo:
+20 Window handle
(For old applications)
Application ignores the message.
Iconizer gets acknowledgement back.
Iconizer uses info in the first Message_Iconize to
iconize the window.
sprite used is ic_<task name> or ic_? if not found.
(New applications)
1. If it doesn't want to help it ignores the message.
2. If it wants to help it replies with the following
message:
Message_WindowInfo:
+20 Window handle.
+24 Reserved, must be 0.
+28 Sprite name to use, null terminated (MAX = 7
chars + NULL) sprite name used is
ic_<string>
+36 Title string to use null terminated (as short
as possible truncated to 20 characters).
The iconizer will then use this info to iconize the
window.
This should enable applications such as edit to give
a different icon depending on the file type of
the file being edited in the window.
3. If the application wants to iconize its own window
it acknowledges the original Window_Info
message, and does all the work itself.
When a window is closed:
The wimp broadcasts the following message:
Message_WindowClosed
+20 Window handle.
The iconizer should then remove the icon.
When a task exits:
The iconizer should spot the Message_TaskQuit and
remove all the icons for that task.
When a new iconizer starts up:
It broadcasts a Message_WindowInfo with
+20 0. (Window handle 0)
+24
An iconizer receiving this message should reopen
all iconized windows.
All applications should ignore such a message.
Current iconizer (Pinboard) behaviour:
If it does not get a reply to the Message_WindowInfo
1. It gets the task name for the task that owns the window.
it tries to find a sprite called ic_<task name> in the
wimp sprite area, if it fails it uses a sprite called
ic_?.
2. It uses the title given in the Message_Iconize.
If it gets a Message_WindowInfo:
1. It tries to find the sprite ic_<name given in message>
if it fails it uses ic_?.
2. It uses the title given in the Message_WindowInfo.
When shift menu is pressed over an iconized window, the application will
receive a normal menu event, new applications should note that the window is
iconized and always produce the main menu for the window, even if there is a
context specific menu for the current pointer position.
You can find a new version (0.09) of the pinboard module on
net#HighTide.RMokady.Wimp (Log on as RMokady Password IRIT).
Changes made are:
1. Added selection to the pinboard.
* Icons get selected when menued on if no other selection.
* Select / Adjust work like in a filer window.
* Operations are now done on the selection and not on the icon
you menu on.
* Added 'Select all' and 'Clear selection' menu entries.
2. Removed 'Close window' menu entry (Didn't fit new selection model)
* Iconized windows never get selected.
* The only thing that can be done to an iconized window is
moving it to another position by dragging.
3. Ctrl-Menu action moved to Shift-Menu
4. Interactive help now gives correct info (I hope).
Also in the same place you will find WIMP 2.84
Changes are:
2.82
* F11 action (Toggle iconbar) moved to F12.
2.83
* Bug fix: drag user sprite called move address first
now calls plot first.
2.84
* Error boxes are now centred on the screen.
* Fixed bug in 3d writable icons, colour now forced only if icon has a border.
* Fixed bug in 3d icons, wrong colours in 8bpp modes.
* Added r3-> list of messages expected if task knows about version
284 or later.
* Shift + Full_Size toggle to max size that doesn't hide icon bar.
The last thing makes filer windows jump up when you use it on them
(even if they don't have to), because of the way the filer sets the
window extent.
In case you haven't got them yet, the two other modules in the directory
are:
Switcher 0.46
0.45
* Shutdown box centred on screen.
* Added restart icon to shutdown dbox.
* Moved F12 function (command line) to Ctrl-F12.
* Added 'Create task window' menu entry and hot key (Shift-F12)
* Changed Ctrl-Sh-F12 key to be Shutdown not Exit.
0.46
* Fixed bug, restart shutdown killed switcher !
* Fixed bug, only turn hourglass on before *Shutdown command, not
on Ctrl-Sh-F12.
ShellCLI 0.21
0.21
* Changed New Line printing to VDU 31 sequence when moving the
cursor to bottom of screen. (For switcher 0.45)
Let the bug hunt begin.
Ran.
; Linked icon block structure (active and buffered)
; Pointed to by workspace!active_ptr and workspace!buffered_ptr (two lists)
^ 0
next_ptr # 4 ; Pointer to next in chain (-1 if none)
prev_ptr # 4 ; Pointer to previous entry in chain (-1 if none)
icon_handle # 4 ; Icon handle (for buffered, open to right of icon handle)
icon_id # 4 ; Icon identifier
icon_filetype # 4 ; File type of the file to which the icon pertains
icon_spritename # 14 ; Sprite name
icon_filename # 0 ; Full pathname of the file
( Size of filname bytes on top of this)
ASSERT next_ptr=0
; ----------------------------------------------------------------------------------------------------------------------
All the workspace: Takes up about 2K I think.
; Workspace layout
indirected_space * 256
workspace RN R12
^ 0,workspace
wsorigin # 0
mytaskhandle # 4 ; put here so we know where it is
Filer_taskid # 4 ; Filer's task id - needed to detect a copy operation
buffered_ptr # 4 ; head of list of buffered files
active_ptr # 4 ; head of list of active icons
monotonic_icon_id # 4 ; Monotonically increasing icon identifier (for removals)
tinydir_icon # 4 ; Flag to say we have a tinydirs icon
max_idle_work * (@-wsorigin)
file_store # 12 ; store for 'file_???'
my_reference # 4 ; Wimp message reference
no_selected # 4 ; Number of icons selected
no_icons # 4 ; Number of icons known about
remove_line # 32 ; Remove menu option
selection_line # 16 ; Clear selection menu option
bounding_box # 16 ; Screen coordinates (bl,tr)
vdu_vars # 24 ; VDU variables for finding bounding box
dest_x # 4 ; Destination of load - x position
dest_y # 4 ; Destination of load - y position
dest_window # 4 ; Destination of load - window handle
dest_icon # 4 ; Destination of load - icon handle
source_icon # 4 ; Icon from which we are sending the DataLoad
weak_selection # 4 ; Set if and only if last icon selected was created with Menu button
menu_icon # 4 ; Icon menu was produced on - needed for recreating menus
dest_taskid # 4 ; Destination taskid for messages
copy_options # 20 ; Copy options (read from CMOS RAM)
filer_action_copy_options # 4 ; Filer action copy options
control_status # 4 ; Control button status during a series of dataloads
poll_word # 4 ; Control status OR buffered_ptr
indirected_data # indirected_space ; Data area for indirected data from the template file
ALIGNHASH wsorigin,16
menu_store # &100 ; RAM copy of menu data
tinydir_menu # &100 ; Tinydir menu
dataarea # &100 ; wimp data block
dest_directory # &100 ; destination directory for copy operations
stackbot # &200 ; stack at most 512 bytes long
stacktop # 0
max_running_work * (@-wsorigin)
When the user SHIFT-Select on the close tool the wimp broadcasts the
following message:
Message_Iconize:
+20 Window handle.
+24 Task handle.
+28 20 Bytes of title string. (last part of first word)
+48
If no iconizer loaded
Nothing happens.
If iconizer loaded
1. It acknowledges the message. (stops the broadcast)
2. It sends the following message to the window:
Message_WindowInfo:
+20 Window handle
(For old applications)
Application ignores the message.
Iconizer gets acknowledgement back.
Iconizer uses info in the first Message_Iconize to
iconize the window.
(New applications)
1. If it doesn't want to help it ignores the message.
2. If it wants to help it replies with the following
message:
Message_WindowInfo:
+20 Window handle.
+24 Reserved, must be 0.
+28 Sprite name to use, null terminated (MAX = 7
chars + NULL) sprite name used is
icon_<string>
+36 Title string to use null terminated (as short
as possible truncated to 20 characters).
The iconizer will then use this info to iconize the
window.
This should enable applications such as edit to give
a different icon depending on the file type of
the file being edited in the window.
3. If the application wants to iconize its own window
it acknowledges the original Window_Info
message, and does all the work itself.
When a window is closed:
The wimp broadcasts the following message:
Message_WindowClosed
+20 Window handle.
The iconizer should then remove the icon.
When a task exits:
The iconizer should spot the Message_TaskQuit and
remove all the icons for that task.
When a new iconizer starts up:
It broadcasts a Message_WindowInfo with
+20 0. (Window handle 0)
+24
An iconizer receiving this message should reopen
all iconized windows.
All applications should ignore such a message.
Current iconizer (!Pinboard) behaviour:
If it does not get a reply to the Message_WindowInfo
1. It gets the task name for the task that owns the window.
it tries to find a sprite called ic_<task name> in the
wimp sprite area, if it fails it uses a sprite called
ic_?.
2. It uses the title given in the Message_Iconize.
If it gets a Message_WindowInfo:
1. It tries to find the sprite ic_<name given in message>
if it fails it uses ic_?.
2. It uses the title given in the Message_WindowInfo.
-- Ran.
Iconifying a window:
Alt-Click close (or other iconification trigger).
Wimp broadcasts 'window wants to be iconified' (including window title text strncpyed to fill the event block)
Iconification app not there:
Nothing more happens
Iconification app is there:
It does Ack the message (stops fights between multiple iconification apps)
It send an iconification request to the window being iconified
(Old style) app ignores the message it doesn't understand:
Iconification app gets message_acknowledge back
Iconification app sends open window request for window,
behind window -3 (at back, and I really mean this!
- there has to be at least one full sized back window)
Iconification app creates iconified window entry somewhere (using app title and window title)
App receives open request and, hopefully, sends it through cleanly.
(New style) app picks up iconify request
(i) App wishes to help the iconify app, but doesn't want to mess about itself.
App returns message giving more accurate details for iconification (a sprite and some text)
Iconification app sends open window request behind -3
Iconification app adds iconified entry
App opens window like a good little boy.
(ii) App does want to mess about iconifying its own windows.
App Acks the message
Iconification app doesn't get any returned message and does nothing more.
App does all messing about iconifying the window.
Iconified window is clicked upon to de-iconify it.
Iconification app sends OpenRequest to app.
App opens iconified window
Window opens as requested. If window suddenly appears; sad.
App closes iconified window
Wimp broadcasts 'window closed' message sent from app.
Iconification app disposes of iconified window's entry.
App dies:
The windows get closed, hence iconification app gets a stream of window close broadcasts.
Iconification app junks iconify entries for that app's windows.
Message spec.
-------------
Message_Iconize:
Sent from wimp when shift+close clicked.
+20 Window handle.
+24 Task handle.
+28 20 Bytes of title string. (last part of first word)
+48
Message_WindowInfo:
1. Sent by Iconizer to the task which owns the window.
+20 Window handle
If window handle is 0, should be ignored.
2. Sent as reply to 1.
+20 Window handle.
+24 Reserved, must be 0.
+28 Sprite name to use, null terminated (MAX = 7 chars + NULL)
name used is ic_<string>
+36 String to use null terminated (as short as possible
truncated to 20 characters).
3. Broadcast by Iconizer starting up.
+20 0.
Old iconizer, if present should restore all windows, and quit.
Desktop_Pinboard:The Pinboard utility allows directories and files to appear on the desktop background.|MIt also provides the TinyDirs utility which allows directories and files to appear on the icon bar.|MDo not use *Desktop_Pinboard, use *Desktop instead.|MSyntax: *Desktop_Pinboard
AddTinyDir:*AddTinyDir adds a file, application or directory to the desktop icon bar.|MSyntax: *AddTinyDir <pathname>
RemoveTinyDir:*RemoveTinyDir removes a file, application or directory icon from the desktop icon bar.|MSyntax: *RemoveTinyDir <pathname>
Pinboard:*Pinboard activates the pinboard.|MSyntax: *Pinboard [-Grid]
Pin:*Pin adds a file, application or directory to the desktop pinboard.|MSyntax: *Pin <pathname> <x> <y>
BackDrop:*BackDrop puts a sprite on the desktop background.|MSyntax: *BackDrop [-Centre | -Tile | -Scale ] <pathname>
File added
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
# Copyright 1996 Acorn Computers Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile for Pinboard
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 25-May-94 AMcC Created.
#
#
# Generic options:
#
MKDIR = cdir
AS = aasm
CP = copy
RM = remove
CCFLAGS = -c -depend !Depend -IC:
ASFLAGS = -depend !Depend -Stamp -quit -module -To $@ -From
CPFLAGS = ~cfr~v
#
# Program specific options:
#
COMPONENT = Pinboard
SOURCE = s.Pinboard
TARGET = rm.Pinboard
#
# Generic rules:
#
rom: ${TARGET}
@echo ${COMPONENT}: rom module built
export:
@echo ${COMPONENT}: export complete
install_rom: ${TARGET}
${CP} ${TARGET} ${INSTDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom module installed
clean:
${RM} ${TARGET}
@echo ${COMPONENT}: cleaned
resources:
${MKDIR} ${RESDIR}.${COMPONENT}
${CP} Resources.${LOCALE}.Messages ${RESDIR}.${COMPONENT}.Messages ${CPFLAGS}
${CP} Resources.${LOCALE}.Templates ${RESDIR}.${COMPONENT}.Templates ${CPFLAGS}
@echo ${COMPONENT}: resource files copied
${TARGET}: ${SOURCE}
${AS} ${ASFLAGS} ${SOURCE}
# Dynamic dependencies:
| Copyright 1996 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine clean
| Copyright 1996 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine rom
File added
File added
File added
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment