如何开发可从软盘启动的 Amiga 应用程序(非 DOS)?
跟进“如何编码和编译Amiga 应用程序?”问题,从软盘启动 Amiga 应用程序需要哪个开发库?
更新:(2012-04-10) 为了解决这个问题,我编辑了标题和正文,只关注图书馆。仍然缺少从软盘部署工具启动,可以在另一个问题中询问。
Following up on the "How do I code and compile an Amiga application?" question, which development library is required to boot an Amiga application from a floppy disk?
Update: (2012-04-10) To consider the question solved, I have edited the title and body to focus only on the library. Still missing are boot from floppy deployment tools that can be asked in another question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如何在软盘上写入引导块的详细说明
需要学习如何使用trackdisk.device。我强烈建议不要绕过trackdisk;读取软盘的要求很棘手,您必须知道允许的机械差异; trackdisk 软盘代码真的非常非常好,并且比其他任何人都更好地处理错误。已出版的有关如何为 Amiga 进行“裸机级别编码”的书籍(特别是有关直接使用软盘的书籍)有很多错误和失败的假设,以至于我的副本中有一大堆标记错误的便签。
注意:我是 Commodore 为 AmigaOS 2.0 完全重写 trackdisk 的人。
如果您正在谈论普通的 AmigaOS 应用程序,则磁盘上会有一个启动脚本文件来启动磁盘并启动应用程序(加上最小的 AmigaOS 文件集),以及一个图标/可执行文件来启动它(如果 Amiga从另一个磁盘或硬盘启动。四处寻找并搜索有关为 Amiga 制作可启动磁盘的信息。
Detailed description of how to write boot blocks on floppies
You'll need to learn how to use trackdisk.device. I strongly advise not bypassing trackdisk; the requirements to read floppies are tricky and you have to know the allowed mechanical variances; the trackdisk floppy code is really, really good and deals with errors better than anything anyone else did. Published books on how to "code at the bare-metal level" for the Amiga (and in particular the book on using the floppies directly) have so many errors and failed assumptions that my copy had a forest of stickies marking errors.
Note bene: I was the person at Commodore who totally rewrote trackdisk for AmigaOS 2.0.
If you're talking a normal AmigaOS application, you'd have a startup-script file on the disk to boot the disk and start the application (plus minimal set of AmigaOS files), and an icon/executable to start it if the Amiga booted off another disk or HD. Hunt around, and search for info on making a bootable disk for the Amiga.