Как разработать приложение Amiga, которое является загрузочным от гибкого диска (неDOS)?

Мне что использование блокировки (...) кажется ясным {...} Блокировка является правильным ответом.

Для гарантии потокобезопасности Очереди все операции должны быть сделаны через эту обертку только.

, Если другие потоки получат доступ к очереди, не используя.Synchronized (), то Вы будете ручьем - если весь Ваш доступ очереди не будет заперт.

6
задан Community 23 May 2017 в 12:24
поделиться

1 ответ

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.

14
ответ дан 8 December 2019 в 17:24
поделиться
Другие вопросы по тегам:

Похожие вопросы: