@chris
For those who don't have the DevCD there is also:
http://aminet.net/package/dev/misc/MakeDT-1.3 (ARexx script)
http://aminet.net/package/util/dtype/dtmake (dtread and dtwrite tools)
Search found 488 matches
- Sun Jul 22, 2012 11:44 am
- Forum: General Developer Support
- Topic: A native dtdesc
- Replies: 5
- Views: 5679
- Thu Jul 19, 2012 4:58 pm
- Forum: General Developer Support
- Topic: Icon.library ?
- Replies: 8
- Views: 9381
Re: Icon.library ?
Since the numbers are ordered 1 to 8 you could do it simply like this: STATIC CONST CONST_STRPTR icontype_strings[] = { "WBDISK", "WBDRAWER", "WBTOOL", "WBPROJECT", "WBGARBAGE", "WBDEVICE", "WBKICK", "WBAPPICON", NULL };...
- Mon Jul 16, 2012 11:00 am
- Forum: General Developer Support
- Topic: A native dtdesc
- Replies: 5
- Views: 5679
Re: A native dtdesc
I started working on some tools written in ruby for reading/writing datatype descriptors some time ago (don't remember how finished they were). The main purpose was to have something that I can use on my Ubuntu and Cygwin cross-compiler setups but of course with a decent enough ruby port they should...
- Mon Jun 18, 2012 8:15 am
- Forum: General Developer Support
- Topic: readdir() threadsafe?
- Replies: 12
- Views: 9342
Re: readdir() threadsafe?
Is the readdir() function in newlib.library threadsafe? If you need thread safety you should use readdir_r() instead (or at least never call readdir() from more than one task at once). edit: couldn't find readdir_r() in newlib or clib2 includes so I guess it doesn't exist. I could swear I had used ...
- Thu May 10, 2012 11:00 am
- Forum: General AmigaOS
- Topic: TitleBar envvar limitations
- Replies: 12
- Views: 5767
Re: TitleBar envvar limitations
The only time i have to use "" is when i want to show a variable in brackets, like so Weather: Clear Skies (16°C) where the corresponding line in Workbench prefs would be Weather: %e weather/weather (%e "weather/temp") otherwise, for some reason, it won't work (i.e. i get a sing...
- Tue May 08, 2012 7:38 pm
- Forum: SDK Support
- Topic: OpenDevice() return type discrepancies
- Replies: 2
- Views: 4790
Re: OpenDevice() return type discrepancies
Not really. <clib/xxx_protos.h> includes are only for legacy M68k programs. <interfaces/xxx.h> files define the new PPC interfaces used by AmigaOS 4.x native programs.Should they be equal?
- Fri Mar 23, 2012 10:05 am
- Forum: General Developer Support
- Topic: RAWBInfo crash after ACTION_INFO
- Replies: 17
- Views: 12325
Re: RAWBInfo crash after ACTION_INFO
@chris doslist = IDOS->AllocDosObjectTags(DOS_DOSLIST, ADO_Name, rarray[A_NAME], TAG_DONE); Just wondering why you don't set ADO_Type here to DLT_VOLUME? Then you won't have to poke it into the structure later and if AllocDosObject() needs to do some specific initialisation for DLT_VOLUME then it wi...
- Fri Mar 23, 2012 9:54 am
- Forum: Platform: AmigaOne 500 and Sam series
- Topic: fat crossdos partitio not mounting
- Replies: 12
- Views: 12827
Re: fat crossdos partitio not mounting
a. A fat32 partition _IS_ of use on an amiga hardhrive - as im attempting to setup PC-Task. Why not just format the partition in PC-Task then? If you're going to use the partition inside an emulator then you shouldn't mount the partition in AmigaOS at all as then you will have two filesystems (one ...
- Tue Mar 06, 2012 8:50 pm
- Forum: General Developer Support
- Topic: RAWBInfo crash after ACTION_INFO
- Replies: 17
- Views: 12325
Re: RAWBInfo crash after ACTION_INFO
@chris The complete source code is in the archive I linked to above, but here are the relevant parts for the ACTION_DISK_INFO and ACTION_INFO packets implementation: case ACTION_DISK_INFO: pkt->dp_Res2 = DiskInfo(fs, BADDR(pkt->dp_Arg1)); pkt->dp_Res1 = !pkt->dp_Res2 ? DOSTRUE : DOSFALSE; break; cas...
- Tue Mar 06, 2012 8:56 am
- Forum: General Developer Support
- Topic: RAWBInfo crash after ACTION_INFO
- Replies: 17
- Views: 12325
Re: RAWBInfo crash after ACTION_INFO
@chris This is the code that I use in XADFileSystem to generate the volume: ed = IDOS->ExamineObjectTags(EX_FileHandleInput, fs->file, TAG_END); if (!ed) { DismountArchive(fs); return IDOS->IoErr(); } fs->root->date = ed->Date; if (FindVolumeNode(fs, ed->Name, &ed->Date)) { IDOS->FreeDosObject(D...