Pogledajte u Easy68k helpu, sekciju za Simulator I/O, za File:
Citat:
TRAP #15 is used for I/O. Put the task number in D0.
The success of the file handling calls is returned in D0.W as follows:
0 = success
1 = EOF encountered
2 = Error
A maximum of 8 files may be open at any one time.
Taskovi 50-57 su za manipulaciju datotekama (fajlovima). Sa 51 otvorite, spremite FID (File ID), as 53 čitate. Podaci koji čitate se spremaju u buffer specificiran u adresnom registru A1, D2.L bajtova. Podaci koji se čitaju su binarni (dakle unosite ih sa
hex editorom).
Samo se igrajte sa Easy68k debuggerom, vrlo je to komforan alat. Snaći ćete se već :)