如何编码和编译Amiga应用程序? [英] How do I code and compile an Amiga application?

查看:129
本文介绍了如何编码和编译Amiga应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Amiga编写一个应用程序,只是为了好玩!

I would like to program an application for the Amiga, just for fun!

请有人可以根据以下内容逐步发布操作方法吗?

Please could someone post a step by step howto based on the following?

  • 我到底应该使用什么编程工具,已经安装了吗?
  • 我仅限于纯文本编辑器,还是有可用的IDE和调试工具?
  • 如果尚未安装任何工具,该怎么做?有免费的吗?
  • 我想学习一种传统的Amiga语言,您能推荐一门吗?
  • 我应该使用什么来编译您建议的语言?
  • 请您提出一些我可以用来调试所建议语言的工具吗?
  • 我应该注意任何库,例如GUI库吗?

一些注意事项...

  • 我正在WinUAE模拟器中运行Workbench 3.1.
  • 我可以从Workbench访问Windows硬盘驱动器中的文件.
  • 如果可能的话,我想从Workbench进行编码和编译.
  • 我正在A1200模式下运行WinUAE,不确定是否重要.
  • 已经安装了一个名为MEmacs的应用程序.
  • 我非常了解C ++和C#,也许还有类似的Amiga语言.
  • 我知道您可以使用C和C ++进行编码,但是我想学习一种新的语言.

我已经回答了我自己的问题,但是在我打算扩展答案时,请提供更多答案.感谢到目前为止所做的一切,您一直非常有帮助!

I have answered my own question, but please do contribute more answers as I intend on extending my answer. Thanks to all that have contributed so far, you've been very helpful!

推荐答案

注意:请不要推迟回答;这是一个正在进行的线程.
谢谢您到目前为止的所有回答:-)

Note: Please don't be put off answering; this is an ongoing thread.
Thanks for all your answers so far :-)

花了几天时间才弄清楚.这些说明适用于AMOS Pro,请随意发布您自己的其他语言的答案,或者更新此答案(这是社区Wiki).

Spent a few days figuring it out. These instructions are for AMOS Pro, please feel free to either post your own answer for a different language, or update this answer (it's a community wiki).

  1. 安装Amiga Forever 2008(增强版包括Workbench 3.1).
  2. 使用Amiga Forever或WinUAE作为模拟器(我更喜欢WinUAE).
  3. Amiga Workbench 3.1安装到自定义硬盘驱动器.
  4. 如果使用WinUEA,只需使用af_3x配置文件(与Amiga Forever一起安装).
  5. 熟悉Workbench和Amiga Shell(请参阅资源).
  1. Install Amiga Forever 2008 (the plus version includes Workbench 3.1).
  2. Use either Amiga Forever or WinUAE as the emulator (I prefer WinUAE).
  3. Install Amiga Workbench 3.1 to a custom hard drive.
  4. If using WinUEA, just use the af_3x config file (installed with Amiga Forever).
  5. Familiarize yourself with Workbench and the Amiga Shell (see resources).

AMOS Pro说明:

AMOS Pro是一个IDE,看起来有点像旧的黑客电影,此外,您甚至可以打开电影中听到的那些令人讨厌的声音.那不是很好吗?无论如何,请转到操作方法...

AMOS Pro Instructions:

AMOS Pro is an IDE which looks a bit like something off an old hacker flick, plus you can even turn on those irritating sounds you hear in the movies. Isn't that great? Anyway, on to the howto...

  1. 获取用于AMOSPro的磁盘(v2.00中总共有6个磁盘).
  2. 插入AMOSPro_System磁盘,并按照说明安装AMOS Pro .
  3. 安装后,打开AMOS_Pro目录,然后运行AMOSPro.
  4. 如果您不了解AMOS,请学习一些AMOS编码基础知识.
  5. 类型:Print "Hello world!"
  6. 按F1键运行(与AMOS徽标右侧的红色三角形相同).
  7. "Hello world!"的形式享受时,在橙色背景上以白色显示.
  8. 待办事项:了解如何将其编译为可从Workbench运行的二进制文件(?).
  1. Acquire the disks for AMOSPro (there are 6 disks in total in v2.00).
  2. Insert AMOSPro_System disk and install AMOS Pro as per the instructions.
  3. Once installed, open the AMOS_Pro directory, and run AMOSPro.
  4. If you don't know AMOS, learn some AMOS coding basics.
  5. Type: Print "Hello world!"
  6. Press F1 to run (does the same as the red triangle to the right of the AMOS logo).
  7. Rejoyce as "Hello world!" appears in white text on an orange background.
  8. TODO: Find out how to compile this as a binary (?) that can be run from Workbench.

AMOS Pro:世界您好! http://img7.imageshack.us/img7/7867/001tpe.png

还有更多有趣的AMOS代码.

Here's some more AMOS code for fun.

Input "Who are you? ";S2$
S1$="Oh, hello "
S3$=", nice to see you!"
Print S1$+S2$+S3$

Amiga提示:

  • [左Amiga]是 Windows 键,[Right Amiga]是 上下文菜单 键.
  • 按[Left Amiga] + A在AMOS Pro和Workbench之间切换.
  • 英国[@']键产生#或@(移位)字符.
  • 英国[〜#]键产生\或| (移位)字符.
  • 英国[¬] key produces either the ' or ~ (shift) or(alt)字符.
  • Amiga Tips:

    • [Left Amiga] is the Windows key, [Right Amiga] is the Context Menu key.
    • Press [Left Amiga]+A to switch between AMOS Pro and Workbench.
    • British [@ '] key produces either the # or @ (shift) character.
    • British [~ #] key produces either the \ or | (shift) character.
    • British [¬ ] key produces either the ' or ~ (shift) or (alt) character.
      • AMOS Factory - Forum and resources for AMOS
      • Amiga Forever - My Amiga emulator package of choice (includes WinUAE)
      • * The Green Amiga Alien guide: Workbench 3.1 - Workbench customisation
      • Amiga stuff for newbies - Tips for Amiga Shell and Workbench
      • Amiga OS Development - Forum category on on Amiga.org

      *使用WinUAE Amiga Forever配置(af_3x)时不需要.

      *Not neccecary when using WinUAE Amiga Forever config (af_3x).

      我将尝试对每种语言进行以下操作:

      I will try and do a howto for each language as follows.

      • Draco (thanks to avery-payne)
      • Amiga E (thanks to Paul Ruane)
      • SAS/C (thanks to Hank)
      • Modula-2 (thanks to JasonTrue)
      • ARexx (thanks to Nik)

      这篇关于如何编码和编译Amiga应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆