Welcome, Guest. Please login or register.

Author Topic: Video - Amiwest DevCon 2016 posted  (Read 1245 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline kamelito

Re: Video - Amiwest DevCon 2016 posted
« on: October 24, 2016, 12:53:25 PM »
Quote from: RobertB;815593
Part 2 of the Thursday DevCon 2016 has been posted.  Go to

https://youtu.be/U4R4kD01ZtE

One more part to go,
Robert Bernardo
Fresno Commodore User Group
http://www.dickestel.com/fcug.htm


It seems that the resident structure of Steven device is describe like this in the wiki.

;-----------------------------------------------------------------------
;A romtag structure.  After your driver is brought in from disk, the
; disk image will be scanned for this structure to discover magic constants
; about you (such as where to start running you from...).
;-----------------------------------------------------------------------
 ; Most people will not need a priority and should leave it at zero.    
; the RT_PRI field is used for configuring the roms.  Use "mods" from    
; wack to look at the other romtags in the system MYPRI   EQU   0  initDDescrip:                

;STRUCTURE RT,0      
DC.W    RTC_MATCHWORD ; UWORD RT_MATCHWORD (Magic cookie)
 DC.L    initDDescrip   ; APTR  RT_MATCHTAG  (Back pointer)
 DC.L    EndCode        ; APTR  RT_ENDSKIP   (To end of this hunk)
 DC.B    RTF_AUTOINIT   ; UBYTE RT_FLAGS     (magic-see "Init:")
 DC.B    VERSION        ; UBYTE RT_VERSION
 DC.B    NT_DEVICE      ; UBYTE RT_TYPE      (must be correct)
 DC.B    MYPRI      ; BYTE  RT_PRI
 DC.L    myName     ; APTR  RT_NAME      (exec name)
 DC.L    idString       ; APTR  RT_IDSTRING  (text string)
 DC.L    Init       ; APTR  RT_INIT  
        ; LABEL RT_SIZE
...



Link : http://wiki.amigaos.net/wiki/Example_Device

Kamelito
« Last Edit: October 24, 2016, 01:00:31 PM by kamelito »