home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / obero / oberon / text / oberon4amiga.guide.text (.txt) < prev    next >
Encoding:
Oberon Text  |  1995-02-14  |  8.4 KB  |  116 lines

  1. Syntax10.Scn.Fnt
  2. ParcElems
  3. Alloc
  4. Syntax14b.Scn.Fnt
  5. Syntax8b.Scn.Fnt
  6. Syntax12.Scn.Fnt
  7. Syntax12b.Scn.Fnt
  8. Syntax8.Scn.Fnt
  9. Syntax10i.Scn.Fnt
  10. Syntax12i.Scn.Fnt
  11.     Syntax10b.Scn.Fnt
  12. Oberon for AmigaTM User's Guide
  13. V4 Beta, Release 0.7 (2 August 1994)
  14. Stefan H_M Ludwig & Claudio Nieder
  15. Copyright 1991- 94, ETH Z
  16. Introduction
  17. Oberon for AmigaTM is an implementation of OberonTM for Commodore Amiga Systems. Both the programming language Oberon_2 and the Oberon System have been implemented. For a complete description of the Language and of the System, one should read the following books:
  18. N. Wirth and M. Reiser: Programming in Oberon. Steps beyond Pascal and Modula_2.
  19. Addison Wesley, 1992, ISBN 0_201_56543_9.
  20. Tutorial for the Oberon programming language and concise language reference.
  21. M. Reiser: The Oberon System. User Guide and Programmer's Manual.
  22. Addison Wesley, 1991, ISBN 0_201_54422_9.
  23. User manual for the programming environment and reference for the standard module library.
  24. N. Wirth and J. Gutknecht: Project Oberon. The Design of an Operating System and Compiler.
  25. Addison Wesley, 1992, ISBN 0_201_54428_8.
  26. Program listings with explanations for the whole Oberon system, including the compiler for NS32000.
  27. ssenb
  28. ck: Object_Oriented Programming in Oberon_2
  29. Springer_Verlag, 1993, ISBN 0_387_56411_X.
  30. Principles and applications of object_oriented programming with examples in Oberon_2.
  31. The technical report 160 by H. M
  32. ssenb
  33. ck, Differences between Oberon and Oberon_2, The Programming Language Oberon_2, is recommended too. It is present as on_line documentation:
  34.     Edit.Open Oberon2.Differences.Text
  35.     Edit.Open Oberon2.Report.Text
  36. The following short tutorial describes the differences to the original implementation from a user's point of view.
  37. Oberon for Amiga runs as a single Amiga process on any system with at least a 68020 processor and floating point coprocessor featuring Amiga OS 2.0 or newer. It uses an own screen as display. The dimensions of the user track and the system track are automatically defined when starting Oberon for Amiga and cannot be changed until the Oberon process terminates.
  38. Installation
  39. Oberon for Amiga is distributed as an lha archive (see the accompaning readme file for a description of the contents). The archive contents have to be copied into a common directory (e.g. Work:Oberon). This directory should be put in your command search path. Oberon for Amiga is started using a script which name is oberon. The environment variable OBERON is used, when defined, as search path for files.
  40. Printing
  41. When asked to print, Oberon will generate a postscript file in the T: directory. It will then call a program or script with the name OberonPrint with the printer name as first and the name of the postscript file as second parameter. It's up to OberonPrint to print and delete the file afterwards. Depending on your printer you can either send the file directly to PRT: if it supports postscript, or use a postscript interpreter, e.g. ghostscript. The Script directory contains a sample script, which will call gs to print the file. Of course OberonPrint has to be somewhere in the Amiga DOS command search path. E.g. if you want to use our supplied script, you would probably copy it into the S: directory.
  42. Starting Oberon for Amiga
  43. Oberon for Amiga is started from a shell window using the script oberon or from the workbench using the icon. The syntax is:
  44. oberon     [[CMD=COMMAND] module.command]
  45. where
  46. - the command module.command is executed (default: CMD Oberon.Loop)
  47. Note: The options above are not yet supported
  48. When started for the first time, Oberon for Amiga will ask for the preferred screen mode and resolution. This information will be stored in the environment variable Oberon for Amiga. The command System.ChangeMode
  49. can be used to change the value at a later time.
  50. If Oberon for Amiga gets out of control (e.g. because of a looping command), press Ctrl_C in the terminal window (do not forget to set the focus first) or doubleclick on the KillOberon icon. The Amiga OS has problems if a process is interrupted, while it is waiting for a message reply. To avoid problems, Ctrl_C refuses to work when it detects a possible critical situation.
  51. System.Quit terminates the oberon process. It is the normal way to leave Oberon for Amiga.
  52. Amiga related commands
  53. System.AnsiInput
  54. System.OberonInput
  55. System.TwoButtonMouse
  56. System.ThreeButtonMouse
  57. System.ShowMode
  58. System.ChangeMode
  59. Differences to the Original Oberon
  60. The differences are due to the underlying hardware and software. Here follows a list of modules containing differences:
  61. System
  62.     New commands:
  63.         - Quit to leave Oberon for Amiga
  64.         - Execute command to execute a (non_interactive) shell command
  65.         - ChangeDirectory newdir to change the working directory
  66.         - ChangeMode to get a screen mode requester for changing the screen mode.
  67.             Note: The change will only take effect after a restart of Oberon for Amiga.
  68. Amiga*
  69.     Amiga specific modules, by which the Oberon System gains access to the Amiga libraries. 
  70. Display
  71.     Imports Amiga*.
  72.     Procedures DefCC, DefCP, DrawCX, FadeCX, InitCC, InitCP, SetCursor are not implemented.
  73.     Procedure SetMode has no effect.
  74.     The display bitmap is not directly accessible (Map returns 0).
  75.     Pattern format is different, use Display.NewPattern to define a pattern.
  76.     image[1] defines the bottom line of the pattern. image[0] is reserved.
  77. Display1
  78.     Module exporting additional drawing procedures.
  79. Input
  80.     Input events are buffered.
  81.     Special keys:
  82.     F1    mark viewer
  83.     Esc    escape
  84.     F3    break
  85. Input.Time() returns the real time in milliseconds since Oberon for Amiga has been started.
  86. Files
  87.     Exports ChangeDirectory.
  88. Types
  89.     New interface module to the type system. Necessary to implement persistent objects.
  90. Note: This module is not yet supported
  91. Oberon
  92.     Time() returns Input.Time()
  93. Printer
  94.     generates a postscript file named Oberon.Printfile.ps and sends it to the printer if the printer name is not none. (printing not yet supported)
  95. Kernel
  96.     GC may be called at any time, since local pointers (on the stack or in registers) are used as roots during the mark phase of the garbage collection.
  97. International Characters    
  98. The option character is "\" instead of "/". This allows to use "/" in file names (Amiga path names).
  99. For questions and bug reports, please write to
  100.   The Secretary
  101.   Institut f
  102. r Computersysteme
  103.   ETH Zentrum    Tel: (+41_1) 632 7311
  104.   CH_8092 Z
  105. rich    Fax: (+41_1) 261 5389
  106.   Switzerland    e_mail: oberon@inf.ethz.ch
  107. Appendix A: Installing Oberon for Amiga from 3"1/2 floppy diskettes
  108. 1. Create a directory for Oberon as described previously under "Installation"
  109.     cd Work:
  110.     makedir Oberon
  111. 2. Change to this new directory
  112.     cd Oberon
  113. 3. Insert the diskette of Oberon for Amiga in your floppy drive
  114. 4. Extract the contents of the archive file into the current directory
  115.     lha -a x df0:Oberon.lha
  116.